Switch from mkdocs-material to zensical

Signed-off-by: yubiuser <github@yubiuser.dev>
This commit is contained in:
yubiuser
2025-11-17 19:55:25 +01:00
parent d871f8d866
commit c0711547d9
5 changed files with 6 additions and 9 deletions

View File

@@ -10,6 +10,6 @@ RUN apk add --no-cache \
ENV USER node
USER ${USER}
# python packages (as mkdocs) are installed in the user's home directory
# python packages (as zensical) are installed in the user's home directory
# but we need them to be accessible from ${PATH}
ENV PATH="${PATH}:/home/${USER}/.local/bin"

View File

@@ -94,8 +94,6 @@ markdown_extensions:
auto_append:
- docs/abbreviations.md
# Include files in other documents like {!some/dir/in/docs/filename.md!}
- markdown_include.include:
base_path: docs
# Metadata support in pages
# (https://squidfunk.github.io/mkdocs-material/extensions/metadata/)
- meta

View File

@@ -1,7 +1,7 @@
[build]
base = "/"
publish = "site/"
command = "mkdocs build --clean --strict"
command = "zensical build --clean --strict"
[build.environment]
PYTHON_VERSION = "3.14"

View File

@@ -16,12 +16,12 @@
},
"homepage": "https://docs.pi-hole.net/",
"scripts": {
"build": "mkdocs build --clean --strict",
"build": "zensical build --clean --strict",
"markdownlint": "markdownlint-cli2 \"**/*.md\" \"!**/node_modules/**\"",
"linkinator": "linkinator site --recurse --silent --skip \"^(?!http://localhost)\"",
"pretest": "npm run build",
"test": "npm run markdownlint && npm run linkinator",
"serve": "mkdocs serve --dev-addr 0.0.0.0:8000",
"serve": "zensical serve --dev-addr 0.0.0.0:8000",
"start": "npm run serve"
},
"devDependencies": {

View File

@@ -1,5 +1,4 @@
mkdocs==1.6.1
mkdocs-git-revision-date-localized-plugin==1.5.1
mkdocs-material==9.7.6
zensical==0.0.8
mkdocs-git-revision-date-localized-plugin==1.5.0
mkdocs-redirects==1.2.2
markdown-include==0.8.1