-
Notifications
You must be signed in to change notification settings - Fork 12
/
mkdocs.yaml
139 lines (126 loc) · 3.78 KB
/
mkdocs.yaml
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
site_name: PyGerber Documentation
theme:
language: en
logo: images/pygerber_white.png
favicon: images/pygerber.png
name: material
palette:
- scheme: default
primary: indygo
accent: indygo
toggle:
icon: material/weather-night
name: Switch to dark mode
- scheme: slate
primary: blue
accent: blue
toggle:
icon: material/weather-sunny
name: Switch to light mode
features:
- content.action.edit
- navigation.tracking
- navigation.sections
- navigation.top
- toc.follow
- search.suggest
- search.highlight
- search.share
- content.code.copy
- header.autohide
icon:
repo: fontawesome/brands/github
use_directory_urls: false
repo_url: https://github.com/Argmaster/pygerber
repo_name: Argmaster/pygerber
edit_uri: edit/main/docs/
# https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown/
markdown_extensions:
- pymdownx.tasklist:
custom_checkbox: true
- md_in_html
- toc:
permalink: true
permalink_title: Anchor link to this section for reference
# https://squidfunk.github.io/mkdocs-material/reference/code-blocks
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
use_pygments: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- admonition
- pymdownx.details
plugins:
- search:
lang: en
# https://squidfunk.github.io/mkdocs-material/setup/building-for-offline-usage/
- offline
# https://mkdocs-macros-plugin.readthedocs.io/en/latest/
- macros:
include_dir: .
module_name: "./docs/macros/main"
# https://mkdocstrings.github.io/
- mkdocstrings:
handlers:
# https://mkdocstrings.github.io/python/
python:
import:
- https://docs.python.org/3/objects.inv
- https://typing-extensions.readthedocs.io/en/latest/objects.inv
- https://pillow.readthedocs.io/en/stable/objects.inv
# https://mkdocstrings.github.io/python/usage/configuration/docstrings/
options:
# https://mkdocstrings.github.io/python/usage/configuration/general/
docstring_style: numpy
show_bases: true
allow_inspection: true
heading_level: 1
show_root_heading: true
show_root_full_path: false
show_root_members_full_path: false
members_order: source
show_root_toc_entry: true
show_symbol_type_heading: true
show_symbol_type_toc: true
show_signature: true
separate_signature: true
show_signature_annotations: true
group_by_category: true
show_inheritance_diagram: true
inherited_members: false
signature_crossrefs: true
relative_crossrefs: true
scoped_crossrefs: true
docstring_section_style: list
summary: true
show_source: false
preload_modules: [pygerber]
# https://oprypin.github.io/mkdocs-gen-files/
- gen-files:
scripts:
- docs/generate_reference_pages.py
# https://pypi.org/project/mkdocs-literate-nav/
- literate-nav:
nav_file: SUMMARY.md
extra_css:
- css/extra.css
extra_javascript:
- js/extra.js
extra:
version:
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-versioning/
provider: mike
social:
- icon: fontawesome/brands/gitlab
link: https://gitlab.com/Argmaster/pygerber
- icon: fontawesome/brands/github
link: https://github.com/Argmaster/pygerber
hooks:
- docs/hooks.py