fix(wiki): use Wiki.js navigation on GHC-05
Co-Authored-By: OpenAI Codex <codex@openai.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user