-
Notifications
You must be signed in to change notification settings - Fork 8
/
mkdocs.yml
105 lines (95 loc) · 3.47 KB
/
mkdocs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
site_name: NeMoS
repo_url: https://github.com/flatironinstitute/nemos
strict: true
theme:
name: 'material' # The theme name, using the 'material' theme
favicon: assets/NeMoS_favicon.ico
logo: assets/NeMoS_Icon_CMYK_White.svg
palette:
primary: 'light blue' # The primary color palette for the theme
features:
- navigation.tabs # Enable navigation tabs feature for the theme
markdown_extensions:
- attr_list
- admonition
- tables
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
features:
- content.tabs.link
- content.code.annotate
- content.code.copy
- announce.dismiss
- navigation.tabs
- navigation.instant
- navigation.instant.prefetch
- navigation.instant.preview
- navigation.instant.progress
- navigation.path
- navigation.sections
- navigation.top
- search.highlights
- search.share
- search.suggest
validation:
omitted_files: info
absolute_links: warn # Or 'relative_to_docs' - new in MkDocs 1.6
unrecognized_links: info
anchors: warn # New in MkDocs 1.6
markdown_extensions:
- md_in_html
- footnotes
- pymdownx.superfences
- pymdownx.details # add notes toggleable notes ???
- pymdownx.tabbed:
alternate_style: true
- toc:
title: On this page
plugins:
- search
- gallery:
conf_script: docs/gallery_conf.py
# These directories contain the input .py scripts for mkdocs-gallery
examples_dirs:
- docs/background
- docs/how_to_guide
- docs/tutorials
# These are the output directories for mkdocs-gallery, and correspond
# directly to the input dirs listed above. their contents should not be
# touched
gallery_dirs:
- docs/generated/background
- docs/generated/how_to_guide
- docs/generated/tutorials
- gen-files:
scripts:
- docs/gen_ref_pages.py # Specify the script to generate the code reference pages
- literate-nav:
nav_file: docs/SUMMARY.md # Specify the navigation file for literate-style navigation
- section-index # Enable the section-index plugin for generating a section index
- mkdocstrings:
handlers:
python:
options:
docstring_style: numpy
show_source: true
members_order: source
inherited_members: true
extra_javascript:
- javascripts/katex.js
- https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/katex.min.js
- https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/contrib/auto-render.min.js
extra_css:
- https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.7/katex.min.css
- assets/stylesheets/extra.css
nav:
- Home: index.md # Link to the index.md file (home page)
- Install: installation.md # Link to the installation.md file
- Quickstart: quickstart.md
- Background: generated/background # Link to the generated gallery Tutorials
- How-To Guide: generated/how_to_guide # Link to the generated gallery tutorials
- Tutorials: generated/tutorials # Link to the generated gallery tutorials
- Getting Help: getting_help.md
- API Guide: reference/ # Link to the reference/ directory
- For Developers: developers_notes/ # Link to the developers notes