-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject_doc.toml
69 lines (56 loc) · 2.17 KB
/
pyproject_doc.toml
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
# test website locally:
# portray in_browser -c pyproject.toml
# generate website with the following:
# portray as_html -c pyproject.toml
[tool.portray]
modules = ["simplestac.local", "simplestac.utils", "simplestac.extents"]
# extra_markdown_extensions = ['mdx_breakless_lists']
extra_markdown_extensions = ['pymdownx.superfences', 'mdx_breakless_lists']
[[tool.portray.extra_markdown_extensions]]
[tool.portray.extra_markdown_extensions.mdx_math]
enable_dollar_delimiter = 1
[[tool.portray.extra_markdown_extensions]]
[tool.portray.extra_markdown_extensions.toc]
toc_depth = 5
permalink = "🔗"
# toc_depth = "2-5" # for bootstrap
# for code blocks highlighting
[[tool.portray.extra_markdown_extensions]]
[tool.portray.extra_markdown_extensions."pymdownx.highlight"]
pygments_lang_class = "true"
[tool.portray.pdocs]
exclude_source = 1
template_dir = "docs/templates/pdocs"
[tool.portray.mkdocs]
site_name = "simplestac"
extra_css = ['docs/css/style.css', 'docs/css/code_select.css'] # , "https://cdn.datatables.net/1.12.0/css/jquery.dataTables.min.css"
# in order to give back color (not grey) to pycon Generic.Output
extra_javascript = ['docs/css/code_select.js']
copyright = 'Copyright © 2023 - 2024 Florian de Boissieu'
# plugins=['mkdocs-jupyter', 'search']
# [[tool.portray.mkdocs.plugins]]
# [tool.portray.mkdocs.plugins.mkdocs-jupyter] # not working, and changes the style
# include=["docs/examples/*.py"]
# [[tool.portray.mkdocs.plugins]]
# [tool.portray.mkdocs.plugins.search]
[tool.portray.mkdocs.theme]
name = "material"
features=["navigation.top"]
[[tool.portray.mkdocs.theme.palette]]
scheme = "slate"
primary = "teal"
accent = "blue"
[tool.portray.mkdocs.theme.palette.toggle]
icon = "material/theme-light-dark"
name = "Switch to light mode"
[[tool.portray.mkdocs.theme.palette]]
scheme = "default"
primary = "teal"
accent = "blue"
[tool.portray.mkdocs.theme.palette.toggle]
icon = "material/theme-light-dark"
name = "Switch to dark mode"
# favicon = "docs/icon/....png"
# logo = "docs/icon/....png"
[tool.portray.mkdocs.theme.icon]
repo='fontawesome/brands/gitlab'