From 375ed9ee31e478db4f56bc1e966d18af3a237c8d Mon Sep 17 00:00:00 2001 From: transitrix Date: Mon, 16 Nov 2026 10:33:33 +0400 Subject: [PATCH] Link primary navigation to Methodology and Studio --- .github/scripts/test_site_artifact.py | 11 +++++++---- capability-maps/index.html | 3 ++- de/dsl-examples/index.html | 3 ++- de/dsm/index.html | 3 ++- de/index.html | 3 ++- de/install/index.html | 3 ++- de/recipes/index.html | 3 ++- de/strategy-and-behaviour/index.html | 3 ++- do-i-need-dsm/index.html | 3 ++- dsl-examples/index.html | 3 ++- dsm/index.html | 3 ++- enterprise-as-text/index.html | 3 ++- explainers/how-a-document-prints/index.html | 3 ++- explainers/how-the-repository-works/index.html | 3 ++- explainers/what-is-architecture-as-code/index.html | 3 ++- glossary/index.html | 3 ++- index.html | 3 ++- install/index.html | 3 ++- is-it-open-source/index.html | 3 ++- learn/index.html | 3 ++- library/acme-architecture-on-a-page/index.html | 3 ++- library/archimate-cheat-sheet/index.html | 3 ++- library/bpmn-cheat-sheet/index.html | 3 ++- library/csvlod-cheat-sheet/index.html | 3 ++- library/index.html | 3 ++- methodology/index.html | 3 ++- recipes/index.html | 3 ++- repository-mcp/index.html | 3 ++- semantic-standards/index.html | 3 ++- strategy-and-behaviour/index.html | 3 ++- studio/index.html | 3 ++- vs-drawing-tools/index.html | 3 ++- what-can-i-model/index.html | 3 ++- what-is-transitrix/index.html | 3 ++- which-editor/index.html | 3 ++- 35 files changed, 75 insertions(+), 38 deletions(-) diff --git a/.github/scripts/test_site_artifact.py b/.github/scripts/test_site_artifact.py index 5c96496..7d8988f 100644 --- a/.github/scripts/test_site_artifact.py +++ b/.github/scripts/test_site_artifact.py @@ -47,15 +47,18 @@ def test_reader_pages_expose_the_primary_destinations_in_initial_html(self): expected = [ ("/learn/", "Lernen (EN)" if german else "Learn"), ("/de/dsl-examples/" if german else "/dsl-examples/", "Beispiele" if german else "Examples"), - ("https://github.com/transitrix/methodology", "Methodik (EN)" if german else "Methodology"), + ("/methodology/", "Methodik (EN)" if german else "Methodology"), + ("/studio/", "Studio (EN)" if german else "Studio"), ("/library/", "Bibliothek (EN)" if german else "Library"), ("/de/install/" if german else "/install/", "Installieren & starten" if german else "Install & start"), ] self.assertEqual(menus[0]["label"], "Hauptnavigation" if german else "Primary") self.assertEqual([(a["href"], a["text"].strip()) for a in menus[0]["links"]], expected) - methodology = menus[0]["links"][2] - self.assertEqual(methodology.get("target"), "_blank") - self.assertEqual(set(methodology.get("rel", "").split()), {"noopener", "noreferrer"}) + for overview_link in menus[0]["links"][2:4]: + self.assertNotIn("target", overview_link) + self.assertEqual(overview_link.get("hreflang"), "en" if german else None) + destination = overview_link["href"].lstrip("/") + "index.html" + self.assertEqual(overview_link.get("aria-current"), "page" if path == destination else None) for href, _ in expected: if href.startswith("/"): self.assertTrue((root / href.lstrip("/") / "index.html").is_file()) diff --git a/capability-maps/index.html b/capability-maps/index.html index 26711d8..1eb908a 100644 --- a/capability-maps/index.html +++ b/capability-maps/index.html @@ -57,7 +57,8 @@ diff --git a/de/dsl-examples/index.html b/de/dsl-examples/index.html index 0836e99..d5c4350 100644 --- a/de/dsl-examples/index.html +++ b/de/dsl-examples/index.html @@ -52,7 +52,8 @@ diff --git a/de/dsm/index.html b/de/dsm/index.html index dc7bf75..e8e4b12 100644 --- a/de/dsm/index.html +++ b/de/dsm/index.html @@ -52,7 +52,8 @@ diff --git a/de/index.html b/de/index.html index 5dc08ab..00ffb48 100644 --- a/de/index.html +++ b/de/index.html @@ -53,7 +53,8 @@ diff --git a/de/install/index.html b/de/install/index.html index 047c7ed..6accfdc 100644 --- a/de/install/index.html +++ b/de/install/index.html @@ -52,7 +52,8 @@ diff --git a/de/recipes/index.html b/de/recipes/index.html index 244fc92..b831557 100644 --- a/de/recipes/index.html +++ b/de/recipes/index.html @@ -52,7 +52,8 @@ diff --git a/de/strategy-and-behaviour/index.html b/de/strategy-and-behaviour/index.html index 10ac983..aab40a8 100644 --- a/de/strategy-and-behaviour/index.html +++ b/de/strategy-and-behaviour/index.html @@ -52,7 +52,8 @@ diff --git a/do-i-need-dsm/index.html b/do-i-need-dsm/index.html index 3457dba..d28b087 100644 --- a/do-i-need-dsm/index.html +++ b/do-i-need-dsm/index.html @@ -46,7 +46,8 @@ diff --git a/dsl-examples/index.html b/dsl-examples/index.html index 8ddd29a..143cf30 100644 --- a/dsl-examples/index.html +++ b/dsl-examples/index.html @@ -52,7 +52,8 @@ diff --git a/dsm/index.html b/dsm/index.html index 628e2ca..de8edb1 100644 --- a/dsm/index.html +++ b/dsm/index.html @@ -52,7 +52,8 @@ diff --git a/enterprise-as-text/index.html b/enterprise-as-text/index.html index 813e44d..b5a7318 100644 --- a/enterprise-as-text/index.html +++ b/enterprise-as-text/index.html @@ -46,7 +46,8 @@ diff --git a/explainers/how-a-document-prints/index.html b/explainers/how-a-document-prints/index.html index 6da93e0..f5f6a60 100644 --- a/explainers/how-a-document-prints/index.html +++ b/explainers/how-a-document-prints/index.html @@ -46,7 +46,8 @@ diff --git a/explainers/how-the-repository-works/index.html b/explainers/how-the-repository-works/index.html index bafd04d..7c4983b 100644 --- a/explainers/how-the-repository-works/index.html +++ b/explainers/how-the-repository-works/index.html @@ -46,7 +46,8 @@ diff --git a/explainers/what-is-architecture-as-code/index.html b/explainers/what-is-architecture-as-code/index.html index c55a2ad..ed201b3 100644 --- a/explainers/what-is-architecture-as-code/index.html +++ b/explainers/what-is-architecture-as-code/index.html @@ -46,7 +46,8 @@ diff --git a/glossary/index.html b/glossary/index.html index 9b9cff4..69e5539 100644 --- a/glossary/index.html +++ b/glossary/index.html @@ -96,7 +96,8 @@ diff --git a/index.html b/index.html index f2c58af..ab6dcaf 100644 --- a/index.html +++ b/index.html @@ -53,7 +53,8 @@ diff --git a/install/index.html b/install/index.html index 797fa5d..5161846 100644 --- a/install/index.html +++ b/install/index.html @@ -52,7 +52,8 @@ diff --git a/is-it-open-source/index.html b/is-it-open-source/index.html index 673449c..38ecfdf 100644 --- a/is-it-open-source/index.html +++ b/is-it-open-source/index.html @@ -46,7 +46,8 @@ diff --git a/learn/index.html b/learn/index.html index 228f893..728f618 100644 --- a/learn/index.html +++ b/learn/index.html @@ -46,7 +46,8 @@ diff --git a/library/acme-architecture-on-a-page/index.html b/library/acme-architecture-on-a-page/index.html index 5cd2d30..7994487 100644 --- a/library/acme-architecture-on-a-page/index.html +++ b/library/acme-architecture-on-a-page/index.html @@ -57,7 +57,8 @@ diff --git a/library/archimate-cheat-sheet/index.html b/library/archimate-cheat-sheet/index.html index 83a5e2d..5545deb 100644 --- a/library/archimate-cheat-sheet/index.html +++ b/library/archimate-cheat-sheet/index.html @@ -46,7 +46,8 @@ diff --git a/library/bpmn-cheat-sheet/index.html b/library/bpmn-cheat-sheet/index.html index e80f7bd..2ab2aa0 100644 --- a/library/bpmn-cheat-sheet/index.html +++ b/library/bpmn-cheat-sheet/index.html @@ -64,7 +64,8 @@ diff --git a/library/csvlod-cheat-sheet/index.html b/library/csvlod-cheat-sheet/index.html index cd0d03c..9e03253 100644 --- a/library/csvlod-cheat-sheet/index.html +++ b/library/csvlod-cheat-sheet/index.html @@ -55,7 +55,8 @@ diff --git a/library/index.html b/library/index.html index 9255b02..ba57758 100644 --- a/library/index.html +++ b/library/index.html @@ -46,7 +46,8 @@ diff --git a/methodology/index.html b/methodology/index.html index b0f7313..7061358 100644 --- a/methodology/index.html +++ b/methodology/index.html @@ -46,7 +46,8 @@ diff --git a/recipes/index.html b/recipes/index.html index 2a02245..a46dd73 100644 --- a/recipes/index.html +++ b/recipes/index.html @@ -52,7 +52,8 @@ diff --git a/repository-mcp/index.html b/repository-mcp/index.html index ff20d62..f3314b2 100644 --- a/repository-mcp/index.html +++ b/repository-mcp/index.html @@ -53,7 +53,8 @@ diff --git a/semantic-standards/index.html b/semantic-standards/index.html index cda95fa..6a12ffc 100644 --- a/semantic-standards/index.html +++ b/semantic-standards/index.html @@ -46,7 +46,8 @@ diff --git a/strategy-and-behaviour/index.html b/strategy-and-behaviour/index.html index c973a6f..d3093d4 100644 --- a/strategy-and-behaviour/index.html +++ b/strategy-and-behaviour/index.html @@ -52,7 +52,8 @@ diff --git a/studio/index.html b/studio/index.html index 5f8a8fd..143428a 100644 --- a/studio/index.html +++ b/studio/index.html @@ -46,7 +46,8 @@ diff --git a/vs-drawing-tools/index.html b/vs-drawing-tools/index.html index 1874dbb..4079f6a 100644 --- a/vs-drawing-tools/index.html +++ b/vs-drawing-tools/index.html @@ -46,7 +46,8 @@ diff --git a/what-can-i-model/index.html b/what-can-i-model/index.html index 0e1a25a..dd95fd7 100644 --- a/what-can-i-model/index.html +++ b/what-can-i-model/index.html @@ -46,7 +46,8 @@ diff --git a/what-is-transitrix/index.html b/what-is-transitrix/index.html index fe83cd4..3f56e63 100644 --- a/what-is-transitrix/index.html +++ b/what-is-transitrix/index.html @@ -46,7 +46,8 @@ diff --git a/which-editor/index.html b/which-editor/index.html index a54bc9b..fa3b964 100644 --- a/which-editor/index.html +++ b/which-editor/index.html @@ -46,7 +46,8 @@