|
| 1 | +# Zensical configuration |
| 2 | +# https://zensical.org/docs/setup/basics/ |
| 3 | + |
1 | 4 | [project] |
2 | 5 | site_name = "-{{ REPO_NAME }}-" |
| 6 | +site_url = "https://psmodule.io/-{{ REPO_NAME }}-/" |
| 7 | +docs_dir = "docs" |
3 | 8 | repo_name = "-{{ REPO_OWNER }}-/-{{ REPO_NAME }}-" |
4 | 9 | repo_url = "https://github.com/-{{ REPO_OWNER }}-/-{{ REPO_NAME }}-" |
5 | 10 |
|
6 | 11 | [project.theme] |
7 | | -variant = "classic" |
8 | 12 | language = "en" |
| 13 | +font.text = "Mona Sans" |
| 14 | +font.code = "Source Code Pro" |
9 | 15 | logo = "Assets/icon.png" |
10 | 16 | favicon = "Assets/icon.png" |
11 | 17 | features = [ |
12 | | - "navigation.instant", |
13 | | - "navigation.instant.progress", |
14 | | - "navigation.indexes", |
15 | | - "navigation.top", |
16 | | - "navigation.tracking", |
17 | | - "navigation.expand", |
18 | | - "search.suggest", |
19 | | - "search.highlight", |
20 | | - "content.code.copy" |
| 18 | + "announce.dismiss", |
| 19 | + "content.code.annotate", |
| 20 | + "content.code.copy", |
| 21 | + "content.tooltips", |
| 22 | + "navigation.footer", |
| 23 | + "navigation.indexes", |
| 24 | + "navigation.instant", |
| 25 | + "navigation.instant.prefetch", |
| 26 | + "navigation.instant.preview", |
| 27 | + "navigation.instant.progress", |
| 28 | + "navigation.tabs", |
| 29 | + "navigation.top", |
| 30 | + "navigation.tracking", |
| 31 | + "search.highlight", |
| 32 | + "search.share", |
| 33 | + "search.suggest", |
| 34 | + "toc.follow", |
21 | 35 | ] |
22 | 36 |
|
| 37 | +[project.theme.icon] |
| 38 | +repo = "material/github" |
| 39 | +link = "material/link-variant" |
| 40 | + |
| 41 | +# Palette toggle for automatic mode |
23 | 42 | [[project.theme.palette]] |
24 | 43 | media = "(prefers-color-scheme)" |
25 | | -toggle.icon = "lucide/sun-moon" |
| 44 | +toggle.icon = "material/link" |
26 | 45 | toggle.name = "Switch to dark mode" |
27 | 46 |
|
| 47 | +# Palette toggle for dark mode |
28 | 48 | [[project.theme.palette]] |
29 | 49 | media = "(prefers-color-scheme: dark)" |
30 | 50 | scheme = "slate" |
31 | 51 | primary = "black" |
32 | | -accent = "green" |
33 | | -toggle.icon = "lucide/moon" |
| 52 | +accent = "light blue" |
| 53 | +toggle.icon = "material/toggle-switch-off-outline" |
34 | 54 | toggle.name = "Switch to light mode" |
35 | 55 |
|
| 56 | +# Palette toggle for light mode |
36 | 57 | [[project.theme.palette]] |
37 | 58 | media = "(prefers-color-scheme: light)" |
38 | 59 | scheme = "default" |
39 | | -primary = "indigo" |
40 | | -accent = "green" |
41 | | -toggle.icon = "lucide/sun" |
| 60 | +primary = "black" |
| 61 | +accent = "light blue" |
| 62 | +toggle.icon = "material/toggle-switch" |
42 | 63 | toggle.name = "Switch to system preference" |
43 | 64 |
|
44 | | -[project.theme.icon] |
45 | | -repo = "fontawesome/brands/github" |
| 65 | +[project.plugins.meta] |
| 66 | + |
| 67 | +[project.plugins.search] |
46 | 68 |
|
47 | 69 | [project.markdown_extensions.toc] |
48 | | -permalink = true |
| 70 | +permalink = "#" |
49 | 71 |
|
50 | 72 | [project.markdown_extensions.attr_list] |
| 73 | + |
| 74 | +[project.markdown_extensions.abbr] |
| 75 | + |
51 | 76 | [project.markdown_extensions.admonition] |
| 77 | + |
| 78 | +[project.markdown_extensions.def_list] |
| 79 | + |
| 80 | +[project.markdown_extensions.footnotes] |
| 81 | + |
52 | 82 | [project.markdown_extensions.md_in_html] |
| 83 | + |
| 84 | +[project.markdown_extensions.tables] |
| 85 | + |
53 | 86 | [project.markdown_extensions.pymdownx.details] |
| 87 | + |
54 | 88 | [project.markdown_extensions.pymdownx.superfences] |
| 89 | +custom_fences = [ |
| 90 | + { name = "mermaid", class = "mermaid", format = "pymdownx.superfences.fence_code_format" }, |
| 91 | +] |
| 92 | + |
| 93 | +[project.markdown_extensions.pymdownx.tasklist] |
| 94 | +custom_checkbox = true |
55 | 95 |
|
56 | 96 | [[project.extra.social]] |
57 | 97 | icon = "fontawesome/brands/discord" |
58 | | -link = "https://discord.gg/jedJWCPAhD" |
| 98 | +link = "https://discord.psmodule.io" |
59 | 99 | name = "-{{ REPO_OWNER }}- on Discord" |
60 | 100 |
|
61 | 101 | [[project.extra.social]] |
62 | 102 | icon = "fontawesome/brands/github" |
63 | 103 | link = "https://github.com/-{{ REPO_OWNER }}-/" |
64 | 104 | name = "-{{ REPO_OWNER }}- on GitHub" |
65 | | - |
66 | | -[project.extra.consent] |
67 | | -title = "Cookie consent" |
68 | | -description = "We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. With your consent, you're helping us to make our documentation better." |
69 | | -actions = ["accept", "reject"] |
|
0 commit comments