Debian Codegraph @

zensical.toml

raw
1 [project]
2 site_name = "mkdocstrings"
3 site_description = "Automatic documentation from sources, for MkDocs."
4 site_author = "Timothée Mazzucotelli"
5 site_url = "https://mkdocstrings.github.io/mkdocstrings"
6 repo_url = "https://github.com/mkdocstrings/mkdocstrings"
7 repo_name = "mkdocstrings/mkdocstrings"
8 copyright = "Copyright © 2019 Timothée Mazzucotelli"
9 extra_css = ["css/apidocs.css"]
10 extra_javascript = ["js/feedback.js"]
11 nav = [
12 { "Home" = [
13 { "Overview" = "index.md" },
14 { "Changelog" = "changelog.md" },
15 { "Credits" = "credits.md" },
16 { "License" = "license.md" },
17 ] },
18 { "Usage" = [
19 "usage/index.md",
20 { "Theming" = "usage/theming.md" },
21 { "Handlers" = "usage/handlers.md" },
22 { "All handlers" = [
23 { "C" = "https://mkdocstrings.github.io/c/" },
24 { "Crystal" = "https://mkdocstrings.github.io/crystal/" },
25 { "GitHub Actions" = "https://watermarkhu.nl/mkdocstrings-github/" },
26 { "Python" = "https://mkdocstrings.github.io/python/" },
27 { "Python (Legacy)" = "https://mkdocstrings.github.io/python-legacy/" },
28 { "MATLAB" = "https://watermarkhu.nl/mkdocstrings-matlab/" },
29 { "Shell" = "https://mkdocstrings.github.io/shell/" },
30 { "TypeScript" = "https://mkdocstrings.github.io/typescript/" },
31 { "VBA" = "https://pypi.org/project/mkdocstrings-vba" },
32 ] },
33 { "Guides" = [
34 { "Recipes" = "recipes.md" },
35 { "Troubleshooting" = "troubleshooting.md" },
36 ] },
37 ] },
38 { "API reference" = "reference/api.md" },
39 { "Development" = [
40 { "Contributing" = "contributing.md" },
41 { "Code of Conduct" = "code_of_conduct.md" },
42 ] },
43 { "Author's website" = "https://pawamoy.github.io" },
44 ]
45
46 # ----------------------------------------------------------------------------
47 # Theme configuration
48 # ----------------------------------------------------------------------------
49 [project.theme]
50 logo = "logo.svg"
51 custom_dir = "docs/.overrides"
52 language = "en"
53 features = [
54 "announce.dismiss",
55 "content.action.edit",
56 "content.action.view",
57 "content.code.annotate",
58 "content.code.copy",
59 "content.code.select",
60 "content.footnote.tooltips",
61 "content.tabs.link",
62 "content.tooltips",
63 "navigation.footer",
64 "navigation.indexes",
65 "navigation.instant",
66 "navigation.instant.prefetch",
67 "navigation.path",
68 "navigation.sections",
69 "navigation.tabs",
70 "navigation.tabs.sticky",
71 "navigation.top",
72 "search.highlight",
73 "toc.follow",
74 ]
75
76 [[project.theme.palette]]
77 media = "(prefers-color-scheme)"
78 toggle.icon = "material/brightness-auto"
79 toggle.name = "Switch to light mode"
80
81 [[project.theme.palette]]
82 media = "(prefers-color-scheme: light)"
83 scheme = "default"
84 primary = "teal"
85 accent = "purple"
86 toggle.icon = "material/weather-sunny"
87 toggle.name = "Switch to dark mode"
88
89 [[project.theme.palette]]
90 media = "(prefers-color-scheme: dark)"
91 scheme = "slate"
92 primary = "black"
93 accent = "lime"
94 toggle.icon = "material/weather-night"
95 toggle.name = "Switch to system preference"
96
97 [project.theme.icon]
98 logo = "material/currency-sign"
99
100 # ----------------------------------------------------------------------------
101 # Social configuration
102 # ----------------------------------------------------------------------------
103 [[project.extra.social]]
104 icon = "fontawesome/brands/github"
105 link = "https://github.com/pawamoy"
106
107 [[project.extra.social]]
108 icon = "fontawesome/brands/mastodon"
109 link = "https://fosstodon.org/@pawamoy"
110
111 [[project.extra.social]]
112 icon = "fontawesome/brands/twitter"
113 link = "https://twitter.com/pawamoy"
114
115 [[project.extra.social]]
116 icon = "fontawesome/brands/gitter"
117 link = "https://gitter.im/mkdocstrings/community"
118
119 [[project.extra.social]]
120 icon = "fontawesome/brands/python"
121 link = "https://pypi.org/project/mkdocstrings/"
122
123 [project.extra.analytics.feedback]
124 title = "Was this page helpful?"
125
126 [[project.extra.analytics.feedback.ratings]]
127 icon = "material/emoticon-happy-outline"
128 name = "This page was helpful"
129 data = 1
130 note = "Thank you for your feedback!"
131
132 [[project.extra.analytics.feedback.ratings]]
133 icon = "material/emoticon-sad-outline"
134 name = "This page could be improved"
135 data = 0
136 note = "Let us know how we can improve this page."
137
138 # ----------------------------------------------------------------------------
139 # Markdown extensions configuration
140 # ----------------------------------------------------------------------------
141 [project.markdown_extensions.abbr]
142 [project.markdown_extensions.admonition]
143 [project.markdown_extensions.attr_list]
144 [project.markdown_extensions.callouts]
145 [project.markdown_extensions.def_list]
146 [project.markdown_extensions.footnotes]
147 [project.markdown_extensions.md_in_html]
148 [project.markdown_extensions.toc]
149 permalink = "¤"
150 [project.markdown_extensions.pymdownx.arithmatex]
151 generic = true
152 [project.markdown_extensions.pymdownx.betterem]
153 smart_enable = "all"
154 [project.markdown_extensions.pymdownx.caret]
155 [project.markdown_extensions.pymdownx.details]
156 [project.markdown_extensions.pymdownx.emoji]
157 emoji_generator = "zensical.extensions.emoji.to_svg"
158 emoji_index = "zensical.extensions.emoji.twemoji"
159 [project.markdown_extensions.pymdownx.highlight]
160 [project.markdown_extensions.pymdownx.inlinehilite]
161 [project.markdown_extensions.pymdownx.keys]
162 [project.markdown_extensions.pymdownx.magiclink]
163 [project.markdown_extensions.pymdownx.mark]
164 [project.markdown_extensions.pymdownx.smartsymbols]
165 [project.markdown_extensions.pymdownx.snippets]
166 check_paths = true
167 [project.markdown_extensions.pymdownx.superfences]
168 [[project.markdown_extensions.pymdownx.superfences.custom_fences]]
169 name = "python"
170 class = "python"
171 validator = "markdown_exec.validator"
172 format = "markdown_exec.formatter"
173 [project.markdown_extensions.pymdownx.tabbed]
174 alternate_style = true
175 [project.markdown_extensions.pymdownx.tasklist]
176 custom_checkbox = true
177 [project.markdown_extensions.pymdownx.tilde]
178 [project.markdown_extensions.zensical.extensions.preview]
179 configurations = [{targets.include = ["reference/api.md"]}]
180
181 # ----------------------------------------------------------------------------
182 # Plugins configuration
183 # ----------------------------------------------------------------------------
184 [project.plugins.mkdocstrings.handlers.python]
185 paths = ["src"]
186 inventories = [
187 "https://docs.python.org/3/objects.inv",
188 "https://installer.readthedocs.io/en/stable/objects.inv", # demonstration purpose in the docs
189 "https://mkdocstrings.github.io/autorefs/objects.inv",
190 "https://www.mkdocs.org/objects.inv",
191 "https://python-markdown.github.io/objects.inv",
192 "https://jinja.palletsprojects.com/en/stable/objects.inv",
193 "https://markupsafe.palletsprojects.com/en/stable/objects.inv",
194 ]
195
196 [project.plugins.mkdocstrings.handlers.python.options]
197 backlinks = "tree"
198 docstring_options = { "ignore_init_summary" = true }
199 docstring_section_style = "list"
200 filters = "public"
201 heading_level = 1
202 inherited_members = true
203 merge_init_into_class = true
204 parameter_headings = true
205 separate_signature = true
206 show_root_heading = true
207 show_root_full_path = false
208 show_signature_annotations = true
209 show_source = true
210 show_symbol_type_heading = true
211 show_symbol_type_toc = true
212 signature_crossrefs = true
213 summary = true
214 unwrap_annotated = true