Closed simonmichael closed 1 year ago
The current mdbook site does not handle duplicated headings on a page well. Eg https://hledger.org/hledger.html has a Tags section under COMMANDS (https://hledger.org/hledger.html#tags) and also under JOURNAL FORMAT (https://hledger.org/hledger.html#tags-1). Distinct anchors are created, but links in the page TOC and in search results all point to the first (https://hledger.org/hledger.html#tags). This is quite confusing. https://github.com/rust-lang/mdBook/issues/1493
[See also https://github.com/simonmichael/hledger/issues/1534.]
This is mostly resolved except for links in search results: https://github.com/rust-lang/mdBook/issues/1579.
Seems resolved.
The current mdbook site does not handle duplicated headings on a page well. Eg https://hledger.org/hledger.html has a Tags section under COMMANDS (https://hledger.org/hledger.html#tags) and also under JOURNAL FORMAT (https://hledger.org/hledger.html#tags-1). Distinct anchors are created, but links in the page TOC and in search results all point to the first (https://hledger.org/hledger.html#tags). This is quite confusing. https://github.com/rust-lang/mdBook/issues/1493
[See also https://github.com/simonmichael/hledger/issues/1534.]