@@ -14,8 +14,10 @@ theme:
1414 - " python"
1515 - " yaml"
1616 features :
17+ - " content.code.annotate"
1718 - " content.code.copy"
18- - " navigation.indexes"
19+ - " content.tabs.link"
20+ - " navigation.footer"
1921 - " navigation.tabs"
2022 - " navigation.tabs.sticky"
2123 - " navigation.tracking"
@@ -40,15 +42,26 @@ theme:
4042 toggle :
4143 icon : " material/weather-night"
4244 name : " Switch to light mode"
43- extra_css :
44- - " assets/extra.css"
4545
4646# needed for RTD version flyout menu
4747# jquery is not (yet) injected by RTD automatically and it might be dropped
4848# as a dependency in the future
4949extra_javascript :
5050 - " https://code.jquery.com/jquery-3.6.0.min.js"
5151
52+ # Since their file size is quite large, we exclude them from the built docs.
53+ exclude_docs : |
54+ /media/*.gif
55+
56+ validation :
57+ absolute_links : warn
58+ anchors : warn
59+ omitted_files : warn
60+ unrecognized_links : warn
61+
62+ extra_css :
63+ - " assets/extra.css"
64+
5265extra :
5366 generator : false
5467 ntc_sponsor : true
@@ -69,20 +82,41 @@ extra:
6982 link : " https://twitter.com/networktocode"
7083 name : " Network to Code Twitter"
7184markdown_extensions :
85+ - " markdown_version_annotations " :
86+ admonition_tag : " ???"
7287 - " admonition"
7388 - " toc " :
7489 permalink : true
7590 - " attr_list"
91+ - " markdown_data_tables " :
92+ base_path : " docs"
7693 - " md_in_html"
94+ - " pymdownx.details"
95+ # Need pymdownx.emoji for Grid icon search
96+ - pymdownx.emoji :
97+ emoji_index : !!python/name:material.extensions.emoji.twemoji
98+ emoji_generator : !!python/name:material.extensions.emoji.to_svg
7799 - " pymdownx.highlight " :
78100 anchor_linenums : true
79101 - " pymdownx.inlinehilite"
80102 - " pymdownx.snippets"
81- - " pymdownx.superfences"
82- - " footnotes"
103+ - " pymdownx.superfences " :
104+ custom_fences :
105+ - name : " mermaid"
106+ class : " mermaid"
107+ format : !!python/name:pymdownx.superfences.fence_code_format
108+ - " pymdownx.tabbed " :
109+ " alternate_style " : true
110+ - " pymdownx.tilde"
111+
83112plugins :
84113 - " search"
85- - " mkdocs-version-annotations"
114+ - " gen-files " :
115+ scripts :
116+ - docs/generate_code_reference_pages.py
117+ - " glightbox " :
118+ manual : true # See https://blueswen.github.io/mkdocs-glightbox/flexibility/enable-by-image-or-page/
119+ - " section-index"
86120 - " mkdocstrings " :
87121 default_handler : " python"
88122 handlers :
@@ -93,8 +127,6 @@ plugins:
93127 show_root_heading : true
94128 show_root_members_full_path : true
95129 show_source : false
96- watch :
97- - " README.md"
98130
99131nav :
100132 - Overview : " index.md"
0 commit comments