State of the ugly doubled TOC entries of mdbook?

โš“ Rust    ๐Ÿ“… 2026-04-12    ๐Ÿ‘ค surdeus    ๐Ÿ‘๏ธ 1      

surdeus

I assume most readers of the official Rust tutorial book and of some other related online books suffer from the ugly duplicated TOC section entries, present due to latest mdbook updates since the end of last year?

That is, each section has a duplicated TOC entry, as in

https://doc.rust-lang.org/book/ch01-01-installation.html

with

1.1 Installation

Installation

Or does browsers or OSs exists that does not show this issue (I can' imagine that).

I have not added a screenshot of the issue here by intent, but if you can not see it in the official Rust book online version, you can find a screenshot at Fix #2995: Skip duplicate first header in sidebar header navigation by cobyfrombrooklyn-bot ยท Pull Request #3039 ยท rust-lang/mdBook ยท GitHub

This issue has been reported at the end of last year already, and there was even an attempt of an PR to fix that:

But for some reason there is no progress.

3 posts - 3 participants

Read full topic

๐Ÿท๏ธ Rust_feed