mirror of
https://github.com/sipeed/sipeed_wiki.git
synced 2026-11-09 17:44:31 -06:00
Two separate causes made the cross-references unreachable:
- teedoc rewrites "./Page.md" to "./Page.html" only when the link carries no
fragment, so every "Page.md#section" link stayed a .md URL and 404ed on the
built site (15 links)
- a browser matches a fragment literally against the id attribute, while teedoc
percent-encodes special ASCII characters, so anchors written in lowercase
("#act-indicator") or with a raw ASCII colon ("#Linux:-udev-rules") never
resolved in any browser (7 anchors)
- point the ".md#section" links at .html
- match the generated id case in the in-page anchors (#ACT-Indicator,
#MODE-Button, #Drivers-and-Permissions and the zh equivalents)
- give the two linked English headings a readable {#id}, as already done for
the NanoKVM_Go EDID heading, because teedoc writes their ":" as %3A
- include the pending English accessories link fix from the working tree
Verified on a clean full build: no broken relative reference among the 128 in
the 10 built pages, and all 26 anchor links load and match a heading in
Chromium.