From ae0af172dcbe7905c3915a686cfc60d3b286f2e2 Mon Sep 17 00:00:00 2001 From: Nubenetes Bot Date: Sat, 20 Jun 2026 12:03:02 +0200 Subject: [PATCH] fix(v2): Topic Map dimensions must be h2 not h3 (MD001 lint failure) The Topic Map page H1 is 'Topic Map', so dimension headings jumped h1->h3 and tripped markdownlint MD001/heading-increment, failing 07.2 Markdown Linter on develop and master after v2.9.16. Emit dimensions as h2 in the generator, the committed page, and update the CSS selector (.topic-map-dim h2). Verified 0 errors with the CI markdownlint config. Bumped v2_elite.css?v=2.9.17. Co-Authored-By: Claude Opus 4.8 --- docs/static/v2_elite.css | 3 ++- src/v2_optimizer.py | 5 ++++- v2-docs/topic-map.md | 22 +++++++++++----------- v2-mkdocs.yml | 2 +- 4 files changed, 18 insertions(+), 14 deletions(-) diff --git a/docs/static/v2_elite.css b/docs/static/v2_elite.css index 9534f07d..2449e8bb 100644 --- a/docs/static/v2_elite.css +++ b/docs/static/v2_elite.css @@ -1226,8 +1226,9 @@ input[type="text"] { width: 100%; margin: 0 0 1.4rem; } -.topic-map-dim h3 { +.topic-map-dim h2 { margin-top: 0; + font-size: 1.05rem; } .topic-map-dim ul { margin-top: 0.3rem; diff --git a/src/v2_optimizer.py b/src/v2_optimizer.py index 9ddda64b..a501bda9 100644 --- a/src/v2_optimizer.py +++ b/src/v2_optimizer.py @@ -1199,7 +1199,10 @@ class V2VisionEngine: for dim in self.dimensions.keys(): if dim in dim_groups: topic_md += "
\n\n" - topic_md += f"### {dim}\n\n" + # h2 (not h3): the page H1 is "Topic Map", so dimensions must + # increment by one level (markdownlint MD001). Also gives the + # right-hand TOC a clean per-dimension index. + topic_md += f"## {dim}\n\n" for f in sorted(dim_groups[dim]): count = _count_links(data[f]["content"]) topic_md += f"- **[{data[f]['title']}](./{f})** {count}\n" diff --git a/v2-docs/topic-map.md b/v2-docs/topic-map.md index 7f820998..fa257a0f 100644 --- a/v2-docs/topic-map.md +++ b/v2-docs/topic-map.md @@ -7,7 +7,7 @@
-### AI +## AI - **[AI Agents MCP](./ai-agents-mcp.md)** 4 - **[AI](./ai.md)** 11 @@ -18,7 +18,7 @@
-### Architectural Foundations +## Architectural Foundations - **[About](./about.md)** 4 - **[Cheatsheets](./cheatsheets.md)** 14 @@ -46,7 +46,7 @@
-### Platform & Site Reliability +## Platform & Site Reliability - **[Chaos Engineering](./chaos-engineering.md)** 20 - **[Developerportals](./developerportals.md)** 38 @@ -64,7 +64,7 @@
-### Hardened Infrastructure +## Hardened Infrastructure - **[Ansible](./ansible.md)** 15 - **[Devsecops](./devsecops.md)** 137 @@ -79,7 +79,7 @@
-### Cloud Providers (Hyperscalers) +## Cloud Providers (Hyperscalers) - **[Googlecloudplatform](./GoogleCloudPlatform.md)** 33 - **[AWS Architecture](./aws-architecture.md)** 3 @@ -110,7 +110,7 @@
-### Networking & Service Mesh +## Networking & Service Mesh - **[Caching](./caching.md)** 3 - **[Cloudflare](./cloudflare.md)** 3 @@ -123,7 +123,7 @@
-### The Container Stack +## The Container Stack - **[Container Managers](./container-managers.md)** 21 - **[Docker](./docker.md)** 28 @@ -150,7 +150,7 @@
-### Data & Advanced Analytics +## Data & Advanced Analytics - **[Crunchydata](./crunchydata.md)** 12 - **[Databases](./databases.md)** 46 @@ -162,7 +162,7 @@
-### Engineering Pipeline +## Engineering Pipeline - **[Argo](./argo.md)** 14 - **[CI/CD Kubernetes Plugins](./cicd-kubernetes-plugins.md)** 1 @@ -181,7 +181,7 @@
-### Developer Ecosystem +## Developer Ecosystem - **[Angular](./angular.md)** 1 - **[API](./api.md)** 53 @@ -203,7 +203,7 @@
-### Career & Industry +## Career & Industry - **[Appointment Scheduling](./appointment-scheduling.md)** 1 - **[Elearning](./elearning.md)** 3 diff --git a/v2-mkdocs.yml b/v2-mkdocs.yml index df42d21b..950ebab3 100644 --- a/v2-mkdocs.yml +++ b/v2-mkdocs.yml @@ -104,7 +104,7 @@ extra: extra_css: - https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap - static/extra.css - - static/v2_elite.css?v=2.9.16 + - static/v2_elite.css?v=2.9.17 extra_javascript: - static/v2_filter.js?v=2.9.12