11# ---------------------- PROJECT SPECIFIC ---------------------------
22
3- site_name : Element Miniscope
3+ site_name : DataJoint Documentation
44repo_url : https://github.com/datajoint/element-miniscope
55repo_name : datajoint/element-miniscope
66nav :
77 - Element Miniscope : index.md
88 - Concepts : concepts.md
99 - Tutorials : tutorials.md
10- - About :
11- - Changelog : about/changelog.md
10+ - Citation : citation.md
1211 - API : api/ # defer to gen-files + literate-nav
12+ - Changelog : about/changelog.md
1313
14- # ---------------------------- STANDARD -----------------------------
14+ # --------------------- NOTES TO CONTRIBUTORS -----------------------
15+ # 1. The above `nav` establishes the site structure. This should be
16+ # more-or-less the same across Elements.
17+ # 2. Follow the google styleguide for best results with docstrings
18+ # https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_google.html
19+ # This includes adding typing suggestions to functions
20+ # https://docs.python.org/3/library/typing.html
21+ # 3. To render the site for dev, use the following shell command
22+ # ```console
23+ # MODE="LIVE" PACKAGE=element_{ELEMENT} \
24+ # UPSTREAM_REPO=https://github.com/datajoint/element-{ELEMENT}.git \
25+ # HOST_UID=$(id -u) docker compose -f docs/docker-compose.yaml up --build
26+ # ```
27+ # The Errors and Warnings mkdocs provides during the build are helpful
28+ # for seeing where you may have broken links or docstring issues.
29+ # 4. To render your fork of the workflow repo prior to PRs, change the
30+ # URL in ./docs/src/api/make_pages.py#L19
31+ # 5. Instead of using bash/shell comment blocks, use `console`
32+ # 6. Linking to headings requires [link](./relative-doc#sub-heading) format
33+ # with (a) hypens instead of spaces, (b) all lowercase
34+ # 7. For redirect options, see 'redirects' below.
35+ # 8. Hard wrapping makes it easier to see changes in GitHub reviews. To
36+ # get a keyboard shortcut for hard wrapping, see VSCode Rewrap extension.
37+ # Be careful not to add line breaks in [multiword links](example.com)
38+ # 9. The mkdocs google analytics extension requires an environment variable
39+ # GOOGLE_ANALYTICS_KEY, also available in LastPass. CICD with this is WIP
40+ # 10.To deploy this site on your fork,
41+ # (a) declare a branch called gh-pages
42+ # (b) go to the your fork > settings > pages
43+ # (c) direct pages to render from the gh-pages branch at root
44+ # (d) push a tag to your fork with the format test*.*.*
1545
46+ # ---------------------------- STANDARD -----------------------------
1647edit_uri : ./edit/main/docs/src
1748docs_dir : ./src
1849theme :
2657 favicon : assets/images/project-logo-color.png
2758 features :
2859 - toc.integrate
60+ - content.code.annotate
2961 palette :
3062 - media : " (prefers-color-scheme: light)"
3163 scheme : datajoint
3971 name : Switch to light mode
4072plugins :
4173 - search
42- - redirects :
43- redirect_maps :
44- " index.md " : " getting_started.md"
74+ # - redirects: # OPTIONAL REDIRECTS
75+ # redirect_maps:
76+ # "index.md": "getting_started.md"
4577 - mkdocstrings :
4678 default_handler : python
4779 - gen-files :
@@ -66,8 +98,31 @@ markdown_extensions:
6698 - name : mermaid
6799 class : mermaid
68100 format : !!python/name:pymdownx.superfences.fence_code_format
101+ - pymdownx.tabbed :
102+ alternate_style : true
103+ - pymdownx.highlight :
104+ linenums : true
105+ - pymdownx.inlinehilite
106+ - pymdownx.snippets
107+
69108extra :
70109 generator : false # Disable watermark
110+ analytics :
111+ provider : google
112+ property : !ENV GOOGLE_ANALYTICS_KEY
113+ feedback :
114+ title : Was this page helpful?
115+ ratings :
116+ - icon : material/emoticon-happy-outline
117+ name : This page was helpful
118+ data : 1
119+ note : >-
120+ Thanks for your feedback!
121+ - icon : material/emoticon-sad-outline
122+ name : This page could be improved
123+ data : 0
124+ note : >-
125+ Thanks for your feedback!
71126 version :
72127 provider : mike
73128 social :
0 commit comments