From baf117fa61df7684ae97a1a44d98002cc9619daf Mon Sep 17 00:00:00 2001 From: Inaki Fernandez Date: Thu, 25 Jun 2026 18:42:59 +0200 Subject: [PATCH] fix(v2): add Awesome Lists to the Portal Guide quick-nav popover MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The top horizontal bar is a custom quick-nav (docs/overrides/main.html), not Material's tab bar (navigation.tabs is disabled). Its "Portal Guide" popover was hardcoded with Topic Map/Methodology/Tags/About and did not include Awesome Lists — so the earlier MkDocs nav change wasn't visible there. - Add "⭐ Awesome Lists" to the Portal Guide popover (after Topic Map). - Make the sidebar nav durable too: add the top-level "⭐ Awesome Lists" entry and the Portal Guide "Awesome Lists" child to _sync_enterprise_navigation, and exclude other-awesome-lists.md from its dimension via _FIXED_PAGES, so a full pipeline run no longer wipes these entries. Co-Authored-By: Claude Opus 4.8 (1M context) --- docs/overrides/main.html | 3 ++- src/v2_optimizer.py | 10 +++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/docs/overrides/main.html b/docs/overrides/main.html index 3aa3df5d..39977ec0 100644 --- a/docs/overrides/main.html +++ b/docs/overrides/main.html @@ -18,7 +18,7 @@ IaC in IaC; Docker in Kubernetes; …). AWS is a NESTED submenu inside Cloud, OpenShift a NESTED submenu inside Kubernetes. Pages may appear in more than one menu when that aids discovery. - Portal Guide (Topic Map · Methodology · Tags · About) · Digest · Videos + Portal Guide (Topic Map · Awesome Lists · Methodology · Tags · About) · Digest · Videos · Kubernetes (+Docker, OpenShift▸) · Delivery (CI/CD·GitOps·DevOps) · IaC · Cloud (AWS▸ · Azure · GCP · …) · Network · Security · Observability & SRE · AI & Data · Dev & Platform · More @@ -30,6 +30,7 @@
🗺️ Topic Map + ⭐ Awesome Lists 📐 Methodology 🏷️ Technical Tags ℹ️ About diff --git a/src/v2_optimizer.py b/src/v2_optimizer.py index 10df38e2..a1748242 100644 --- a/src/v2_optimizer.py +++ b/src/v2_optimizer.py @@ -2010,12 +2010,16 @@ class V2VisionEngine: "nav:", " - \"🔙 Back to V1 (Exhaustive)\": https://nubenetes.com/v1/", " - \"The 2026 Vision\": index.md", + # Flagship: the curated Awesome Lists directory, promoted to a + # prominent top-level entry (also surfaced in Portal Guide below). + " - \"⭐ Awesome Lists\": other-awesome-lists.md", # Portal Guide: collapsible hub for the site-orientation / meta # pages — the topic directory, how the portal is curated, the tag - # index and the project About. about.md is pulled out of its - # Architectural Foundations dimension here (see _FIXED_PAGES below). + # index and the project About. about.md and other-awesome-lists.md + # are pulled out of their dimension here (see _FIXED_PAGES below). " - \"Portal Guide\":", " - \"Topic Map\": topic-map.md", + " - \"Awesome Lists\": other-awesome-lists.md", " - \"Methodology\": methodology.md", " - \"Technical Tags\": tags.md", " - \"About\": about.md", @@ -2034,7 +2038,7 @@ class V2VisionEngine: # Topic pages promoted into a fixed header group above; skip them in # the dimension loop so they are not also listed under their dimension. - _FIXED_PAGES = {"about.md"} + _FIXED_PAGES = {"about.md", "other-awesome-lists.md"} dim_groups = {} for f_name, info in data.items():