Skip to content

Commit e0e5a32

Browse files
authored
Merge pull request #10 from kabilar/main
Fix docs
2 parents 9efe2d8 + 4217f49 commit e0e5a32

File tree

10 files changed

+33
-22
lines changed

10 files changed

+33
-22
lines changed

CHANGELOG.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and
44
[Keep a Changelog](https://keepachangelog.com/en/1.0.0/) convention.
55

6+
## [0.1.3] - 2023-05-12
7+
8+
+ Fix - Docs
9+
610
## [0.1.2] - 2023-05-11
711

812
+ Fix - `.ipynb` dark mode output for all notebooks.
@@ -16,6 +20,7 @@ Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and
1620

1721
+ Add - Table structure and basic docs (changelog, contribution guidelines, etc.)
1822

19-
[0.1.2](https://github.com/datajoint/element-optogenetics/releases/tag/0.1.2)
20-
[0.1.1](https://github.com/datajoint/element-optogenetics/releases/tag/0.1.1)
21-
[0.1.0](https://github.com/datajoint/element-optogenetics/releases/tag/0.1.0)
23+
[0.1.3]: https://github.com/datajoint/element-optogenetics/releases/tag/0.1.3
24+
[0.1.2]: https://github.com/datajoint/element-optogenetics/releases/tag/0.1.2
25+
[0.1.1]: https://github.com/datajoint/element-optogenetics/releases/tag/0.1.1
26+
[0.1.0]: https://github.com/datajoint/element-optogenetics/releases/tag/0.1.0

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,7 @@ fully functional pipeline.
2525
+ [Interactive tutorial on GitHub Codespaces](https://github.com/datajoint/workflow-optogenetics#interactive-tutorial)
2626

2727
+ [Documentation](https://datajoint.com/docs/elements/element-optogenetics)
28+
29+
## Support
30+
31+
+ If you need help getting started or run into any errors, please contact our team by email at [email protected].

docs/.docker/pip_requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ mkdocs-gen-files
88
mkdocs-literate-nav
99
mkdocs-exclude-search
1010
mkdocs-markdownextradata-plugin
11-
mkdocs-jupyter
11+
mkdocs-jupyter
12+
mkdocs-section-index

docs/mkdocs.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ theme:
8686
toggle:
8787
icon: material/brightness-4
8888
name: Switch to light mode
89-
9089
plugins:
9190
- markdownextradata: {}
9291
- search
@@ -109,7 +108,7 @@ plugins:
109108
- mkdocs-jupyter:
110109
ignore_h1_titles: True
111110
ignore: ["*make_pages.py"]
112-
111+
- section-index
113112
markdown_extensions:
114113
- attr_list
115114
- toc:

docs/src/api/make_pages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
for path in sorted(Path(package).glob("**/*.py")) + sorted(
1919
Path(f"workflow_{element}").glob("**/*.py")
2020
):
21-
if path.stem == "__init__":
21+
if path.stem == "__init__" or path.stem == "version":
2222
continue
2323
with mkdocs_gen_files.open(f"api/{path.with_suffix('')}.md", "w") as f:
2424
module_path = ".".join(

docs/src/concepts.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22

33
## Optogenetic Research
44

5-
The seminal 2005 paper[^1] by Karl Deisseroth and colleagues established a strategy for
5+
The seminal work by Karl Deisseroth and colleagues established a strategy for
66
using light (*opto-*) to directly regulate the activation of genetically modified
7-
(*-genetics*) neurons. By incorporating genes from photosensitive algae, neurons become
8-
sensitive to different wavelengths for either excitation or inhibition.
9-
Scientists now use this technology to draw more direct
10-
causal links between the activity of neuronal populations and corresponding animal behavior.
11-
12-
[^1]: Boyden, E. S., Zhang, F., Bamberg, E., Nagel, G., & Deisseroth, K. (2005).
13-
[Millisecond-timescale, genetically targeted optical control of neural activity](https://www.nature.com/articles/nn1525).
14-
Nature neuroscience, 8(9), 1263-1268.
7+
(*-genetics*) neurons
8+
([Boyden et al., Nature Neuroscience 2005](https://doi.org/10.1038/nn1525){:target="_blank"}).
9+
By incorporating genes from photosensitive algae, neurons become sensitive to different
10+
wavelengths for either excitation or inhibition. Scientists now use this technology to
11+
draw more direct causal links between the activity of neuronal populations and
12+
corresponding animal behavior.

docs/src/index.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ fully functional pipeline.
1010

1111
![flowchart](https://raw.githubusercontent.com/datajoint/element-optogenetics/main/images/flowchart.svg)
1212

13-
## Data Pipeline
13+
## Data Pipeline Diagram
1414

1515
![pipeline](https://raw.githubusercontent.com/datajoint/element-optogenetics/main/images/pipeline.svg)
1616

@@ -27,3 +27,7 @@ fully functional pipeline.
2727
+ [Tutorials](./tutorials/index.md) - Start building your data pipeline
2828

2929
+ [Code Repository](https://github.com/datajoint/element-optogenetics/){:target="_blank"}
30+
31+
## Support
32+
33+
+ If you need help getting started or run into any errors, please contact our team by email at [email protected].

docs/src/pipeline.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ documentation on each table, see the API docs for the respective schemas.
77

88
![pipeline](https://raw.githubusercontent.com/datajoint/element-optogenetics/main/images/pipeline.svg)
99

10-
## `reference` schema ([API docs](../api/workflow_Optogenetics/pipeline/#workflow_Optogenetics.reference.Device))
10+
## `reference` schema ([API docs](https://datajoint.com/docs/elements/element-optogenetics/latest/api/workflow_optogenetics/reference))
1111

1212
| Table | Description |
1313
| --- | --- |
@@ -35,7 +35,7 @@ documentation on each table, see the API docs for the respective schemas.
3535
| --- | --- |
3636
| Session | Unique experimental session identifier |
3737

38-
## `optogenetics` schema ([API docs](../api/element_optogenetics/optogenetics))
38+
## `optogenetics` schema ([API docs](https://datajoint.com/docs/elements/element-optogenetics/latest/api/element_optogenetics/optogenetics))
3939

4040
| Table | Description |
4141
| --- | --- |

docs/src/tutorials/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Tutorials
22

3-
+ DataJoint Elements are modular pipelines that can be connected into a complete workflow. [Workflow Optogenetics](https://github.com/datajoint/workflow-optogenetics)) is an example that combines four DataJoint Elements - Lab, Animal, Session, and Optogenetics.
3+
+ DataJoint Elements are modular pipelines that can be connected into a complete workflow. [Workflow Optogenetics](https://github.com/datajoint/workflow-optogenetics) is an example that combines four DataJoint Elements - Lab, Animal, Session, and Optogenetics.
44

55
+ Workflow Optogenetics includes an [interactive tutorial on GitHub Codespaces](https://github.com/datajoint/workflow-optogenetics#interactive-tutorial), which is configured for users to run the pipeline.
66

7-
+ In the interactive tutorial, the [example notebook](https://github.com/datajoint/workflow-optogenetics/tree/main/notebooks.tutorial.ipynb) describes the pipeline and provides instructions for adding data to the pipeline.
7+
+ In the interactive tutorial, the [example notebook](https://github.com/datajoint/workflow-optogenetics/tree/main/notebooks/tutorial.ipynb) describes the pipeline and provides instructions for adding data to the pipeline.
88

99
## Installation Instructions for Active Projects
1010

element_optogenetics/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""Package metadata"""
2-
__version__ = "0.1.2"
2+
__version__ = "0.1.3"

0 commit comments

Comments
 (0)