mirror of
https://github.com/nubenetes/awesome-kubernetes.git
synced 2026-07-12 09:51:00 +00:00
1. Skip page deletion and nav sync in --render-only mode The CI publisher always uses --render-only but the pruning phase was deleting pages not regenerated in a given pass (e.g. low-hit pages), breaking nav references and corrupting the MkDocs build. 2. Protect dimension pages from deletion in full mode Even in a full (non-render-only) run, pages defined in self.dimensions are never deleted. Truly orphaned pages (not in dimensions AND not generated) are the only ones pruned. 3. _sync_enterprise_navigation returns True/False Deletion is gated on nav sync success. If nav sync fails, deletion is skipped to prevent inconsistency (deleted files + stale nav). Also fixes the fragile re.sub(r'nav:.*') regex by using string indexing instead, preventing accidental truncation of extra_css etc. 4. Deploy workflow V2 sanity check If V2 build produces fewer than 50 HTML pages or no index.html, deploy falls back to V1-only instead of overwriting V1 with a broken V2 build. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>