From 455059adf35d3cb41bbe2d3e2d5ef22063803fef Mon Sep 17 00:00:00 2001 From: GeiserX <9169332+GeiserX@users.noreply.github.com> Date: Tue, 24 Nov 2026 16:11:12 +0100 Subject: [PATCH] chore(deps): bump zensical to 0.1.3 for its security fixes Our docs build on zensical 0.1.0 or 0.1.2. Releases 0.1.1 to 0.1.3 harden the preview server and patch the rustix and soupsieve security advisories. They also add two plugins: meta-descriptions and git-revision-date-localized. This PR bumps the docs pin to 0.1.3. `site-check.py` keeps its own list of the plugin names Zensical knows, read from `zensical/config.py`. The list now includes the two new plugins, so a config that uses them no longer fails the check. The theme feature list in UI 0.0.43 is unchanged, so that list stays as it is. --- .github/scripts/site-check.py | 17 +++++++++-------- docs/requirements-docs.txt | 2 +- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/scripts/site-check.py b/.github/scripts/site-check.py index b25c1bf..a5e26dc 100644 --- a/.github/scripts/site-check.py +++ b/.github/scripts/site-check.py @@ -42,9 +42,9 @@ - a site_url, or the canonical link standing in for it, that is not an absolute http(s) URL. And, from zensical.toml (Zensical drops what it does not know without a word; under MkDocs strict an unknown plugin aborted the build): - - a plugin name Zensical 0.1.0 does not know (`redirect` for `redirects`, `llmstxtt`): the + - a plugin name Zensical 0.1.3 does not know (`redirect` for `redirects`, `llmstxtt`): the plugin's whole output silently vanishes otherwise; - - a theme feature name the Zensical UI 0.0.41 does not know (the list below is what its + - a theme feature name the Zensical UI 0.0.43 does not know (the list below is what its templates and bundle test for; `search.suggest` and `search.share` are not in it); - `theme.variant` other than "modern" or "classic" (anything else is classic, silently), and a modern config (the default) whose index.html does not load the modern stylesheet; @@ -72,17 +72,18 @@ TOKEN = re.compile(r"") STUB = "Redirecting..." # the of a Zensical redirect stub -# Keys of _PLUGIN_UNSUPPORTED_OPTIONS in zensical/config.py (0.1.0, same set as 0.0.74): every other name is +# Keys of _PLUGIN_UNSUPPORTED_OPTIONS in zensical/config.py (0.1.3): every other name is # dropped by `_convert_plugins` without a message. `material/` prefixes and `social/<x>`, # `privacy/<x>`, `optimize/<x>` instance names canonicalise the same way Zensical does. KNOWN_PLUGINS = { "api-autonav", "autorefs", "awesome-nav", "blog", "callouts", "exclude", "gh-admonitions", - "glightbox", "include-markdown", "literate-nav", "llmstxt", "macros", "markdown-exec", - "markdownextradata", "meta", "mike", "minify", "mkdocs-audio", "mkdocs-autoapi", - "mkdocs-nav-weight", "mkdocs-video", "mkdocstrings", "offline", "optimize", "privacy", - "redirects", "rss", "search", "social", "table-reader", "tags", + "git-revision-date-localized", "glightbox", "include-markdown", "literate-nav", "llmstxt", + "macros", "markdown-exec", "markdownextradata", "meta", "meta-descriptions", "mike", + "minify", "mkdocs-audio", "mkdocs-autoapi", "mkdocs-nav-weight", "mkdocs-video", + "mkdocstrings", "offline", "optimize", "privacy", "redirects", "rss", "search", "social", + "table-reader", "tags", } -# Feature names the shipped UI tests for (zensical_ui 0.0.41, read from its templates and +# Feature names the shipped UI tests for (zensical_ui 0.0.43, read from its templates and # bundle.*.min.js). Regenerate after a bump with: # grep -rhoE '"[a-z]+(\.[a-z]+)+" in features' <site-packages>/zensical_ui/templates | sort -u # grep -oE '"(navigation|content|search|toc|header|announce)\.[a-z.]+"' .../bundle.*.min.js | sort -u diff --git a/docs/requirements-docs.txt b/docs/requirements-docs.txt index f01d4c2..e1b7276 100644 --- a/docs/requirements-docs.txt +++ b/docs/requirements-docs.txt @@ -1 +1 @@ -zensical==0.1.0 +zensical==0.1.3