fix(wiki): use Wiki.js navigation on GHC-05

Co-Authored-By: OpenAI Codex <codex@openai.com>
This commit is contained in:
2026-07-15 16:44:57 +08:00
co-authored by OpenAI Codex
parent 91d4ddd643
commit 5b9c727d09
3 changed files with 2 additions and 20 deletions
+1 -2
View File
@@ -28,8 +28,7 @@ class WikiTopologyProxyTests(unittest.TestCase):
html = GHC05_PATH.read_text(encoding="utf-8")
self.assertEqual(html.count('<h1 id="top">'), 1)
self.assertEqual(html.count('<nav class="toc"'), 1)
self.assertIn('aria-label="条目目录"', html)
self.assertNotIn('<nav class="toc"', html)
self.assertIn("body:has(.wiki-article) .page-header-section", html)
self.assertIn(".wiki-article h2 { clear: none; overflow: hidden;", html)
self.assertIn('class="infobox-label"', html)