simonmichael / hledger_site

The repo for hledger.org, the hledger project's website.
GNU General Public License v3.0
64 stars 39 forks source link

mdbook does not create distinct links for similarly named headings #33

Closed simonmichael closed 1 year ago

simonmichael commented 3 years 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.]

simonmichael commented 2 years ago

This is mostly resolved except for links in search results: https://github.com/rust-lang/mdBook/issues/1579.

simonmichael commented 1 year ago

Seems resolved.