-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yml
84 lines (72 loc) · 1.9 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
site_name: "Zetch"
site_url: "https://zakstucke.github.io/zetch/" # Trailing slash is recommended
repo_url: "https://github.com/zakstucke/zetch"
extra_css:
- stylesheets/extra.css
theme:
name: "material"
custom_dir: docs/overrides
features:
# These both seem to have a lot of problems now with the finished setup, easier to just disable:
# - navigation.instant
# - navigation.instant.progress
- navigation.tracking
- navigation.tabs
- navigation.expand
- navigation.path
- navigation.sections
- search.suggest
- search.highlight
- content.code.copy
logo: assets/images/logo.svg
favicon: assets/images/favicon.png
palette:
# https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/
scheme: slate # This is just dark mode:
primary: custom
accent: custom
plugins:
- git-revision-date-localized:
fallback_to_build_date: true
enable_creation_date: true
- git-committers:
repository: zakstucke/zetch
branch: main
- search
- macros:
module_name: doc_macros
# https://mkdocstrings.github.io/recipes/?h=recip#automatic-code-reference-pages
- gen-files:
scripts:
- docs/python_autodoc.py
- literate-nav:
nav_file: SUMMARY.md
- section-index
- mkdocstrings:
handlers:
python:
options:
merge_init_into_class: true
inherited_members: true
- exclude:
glob:
# zetch files shouldn't be in the output:
- "*.zetch.*"
markdown_extensions:
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- admonition
- pymdownx.details
- pymdownx.inlinehilite
- pymdownx.superfences
nav:
- Home:
- index.md
- Code Reference:
- Rust-backed Python Library: py_rust_ref/
- Contributing:
- CONTRIBUTING.md
- CODE_OF_CONDUCT.md
- LICENSE.md