wiki is not rendered when a wiki page is changed #132
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
the pages are rendered, but the wiki is not, if a wiki page is included. that makes the wiki stale. validatgion is meant to compare against the site map and the wiki should be part of the site map, so that it is validated, too, so that changed wiki pages are updated automatically.
this is about the page paths that are generated in html/ - I had a page with category "wiki" and the slug "wiki" and the validation updated the page/... file for the page, but not the wiki/index.html. the menu is referencing the wiki/ path, so pointing to an outdated content.
in general, the sitemap has to reference all locations of pages and it has to check all URLs for staleness and update all of them, when a changed content is discovered.
Implemented in
1f03d91. Site validation now shares the renderer and sitemap post-route list, so a changed page marks every generated location stale, including the canonical dated route, flat page route, and language-prefixed variants. Applying validation refreshes each reported location and the existing affected aggregates/search flow. Added an end-to-end wiki/page regression covering detection, repair, updated HTML, and a clean follow-up scan; updated README and generation.allium. Verified full Allium check/analyse, cargo fmt, warnings-denied workspace check, Clippy with warnings denied, cargo test --workspace, and cargo bundle-macos with an arm64 Mach-O app. Neutral review against the issue, bDS2 validation flow, and Allium found no remaining gap.