-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yml
87 lines (78 loc) · 1.94 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
site_name: "FastForward"
site_description: "FastForward: Neural Network Quantization"
site_url: !ENV DOCS_SITE_URL
repo_url: !ENV DOCS_REPO_URL
site_dir: "site"
watch: [mkdocs.yml, README.md]
edit_uri: edit/main/docs/
validation:
omitted_files: warn
absolute_links: warn
unrecognized_links: warn
theme:
name: material
palette:
primary: deep purple
features:
- content.code.annotate
- content.code.copy
- content.tooltips
- navigation.tabs
- toc.follow
- toc.integrate
nav:
- Home:
- Overview: index.md
- Tutorials: examples/index.md
- API reference: reference/
exclude_docs: |
gen_reference.py
not_in_nav: |
examples/*.nb.py
# Customization
extra:
version:
provider: mike
plugins:
# https://github.com/danielfrg/mkdocs-jupyter
- mkdocs-jupyter:
execute: True
include: ["*.nb.py"]
include_source: True
# https://squidfunk.github.io/mkdocs-material/plugins/search/
- search
# https://github.com/oprypin/mkdocs-gen-files
# Generate files for Reference API dynamically
- gen-files:
scripts:
- docs/gen_reference.py
# https://github.com/oprypin/mkdocs-literate-nav
- literate-nav:
nav_file: summary.md
- mkdocstrings:
handlers:
python:
paths: [src/fastforward]
options:
heading_level: 3
show_source: false
show_inheritance_diagram: True
show_if_no_docstring: True
merge_init_into_class: true
allow_inspection: false
show-root-full-path: true
show_root_members_full_path: true
show_symbol_type_heading: true
show_root_toc_entry: false
- section-index
# https://github.com/jimporter/mike
# Generate doc for each version
- mike:
version_selector: True
markdown_extensions:
- pymdownx.magiclink
- pymdownx.snippets:
base_path: [!relative $config_dir]
check_paths: true
- toc:
permalink: "#"