Skip to content

Commit 3d96d48

Browse files
Remove duplicate sidebar header in docs nav (#71)
## Summary - remove the avigation.indexes feature from .github/zensical.toml to drop the redundant left sidebar header - align palette and theme settings with PSModule/docs (black/light-blue palette, material theme icons, and matching navigation/search feature toggles) - align TOC permalink style with PSModule/docs ## Why The docs navigation had a duplicated section header in the left menu, and this also brings Sodium docs styling/settings closer to the PSModule docs baseline. ## Testing - docs config change only; no runtime/module code changes --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 5a76792 commit 3d96d48

1 file changed

Lines changed: 37 additions & 12 deletions

File tree

.github/zensical.toml

Lines changed: 37 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,37 @@
11
[project]
22
site_name = "Sodium"
3+
site_url = "https://psmodule.io/Sodium/"
34
repo_name = "PSModule/Sodium"
45
repo_url = "https://github.com/PSModule/Sodium"
6+
edit_uri = "edit/main/"
7+
copyright = "Copyright &copy; 2023 - 2025 PSModule"
58

69
[project.theme]
710
variant = "classic"
811
language = "en"
12+
font.text = "Mona Sans"
13+
font.code = "Source Code Pro"
914
logo = "Assets/icon.png"
1015
favicon = "Assets/icon.png"
1116
features = [
17+
"announce.dismiss",
18+
"content.action.edit",
19+
"content.action.view",
20+
"content.code.annotate",
1221
"navigation.instant",
22+
"navigation.instant.prefetch",
23+
"navigation.instant.preview",
1324
"navigation.instant.progress",
14-
"navigation.indexes",
25+
"navigation.footer",
1526
"navigation.top",
1627
"navigation.tracking",
1728
"navigation.expand",
1829
"search.suggest",
1930
"search.highlight",
20-
"content.code.copy"
31+
"search.share",
32+
"content.code.copy",
33+
"content.tooltips",
34+
"toc.follow"
2135
]
2236

2337
[[project.theme.palette]]
@@ -29,41 +43,52 @@ toggle.name = "Switch to dark mode"
2943
media = "(prefers-color-scheme: dark)"
3044
scheme = "slate"
3145
primary = "black"
32-
accent = "green"
46+
accent = "light blue"
3347
toggle.icon = "lucide/moon"
3448
toggle.name = "Switch to light mode"
3549

3650
[[project.theme.palette]]
3751
media = "(prefers-color-scheme: light)"
3852
scheme = "default"
39-
primary = "indigo"
40-
accent = "green"
53+
primary = "black"
54+
accent = "light blue"
4155
toggle.icon = "lucide/sun"
4256
toggle.name = "Switch to system preference"
4357

4458
[project.theme.icon]
45-
repo = "fontawesome/brands/github"
59+
repo = "material/github"
60+
link = "material/link-variant"
61+
62+
[project.plugins.meta]
63+
64+
[project.plugins.search]
4665

4766
[project.markdown_extensions.toc]
48-
permalink = true
67+
permalink = "#"
4968

5069
[project.markdown_extensions.attr_list]
70+
[project.markdown_extensions.abbr]
5171
[project.markdown_extensions.admonition]
72+
[project.markdown_extensions.def_list]
73+
[project.markdown_extensions.footnotes]
5274
[project.markdown_extensions.md_in_html]
75+
[project.markdown_extensions.tables]
5376
[project.markdown_extensions.pymdownx.details]
5477
[project.markdown_extensions.pymdownx.superfences]
78+
[project.markdown_extensions.pymdownx.tasklist]
79+
custom_checkbox = true
5580

5681
[[project.extra.social]]
5782
icon = "fontawesome/brands/discord"
5883
link = "https://discord.gg/jedJWCPAhD"
5984
name = "PSModule on Discord"
6085

86+
[[project.extra.social]]
87+
icon = "material/powershell"
88+
link = "https://www.powershellgallery.com/profiles/PSModule.io"
89+
name = "PSModule on the PowerShell Gallery"
90+
6191
[[project.extra.social]]
6292
icon = "fontawesome/brands/github"
6393
link = "https://github.com/PSModule/"
6494
name = "PSModule 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

Comments
 (0)