rust-lang / rust-lang/mdBook

The table of contents is unusable because the buttons to go back to the previous chapter and the table of contents overlap.

Open
#2,357 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

C-bug
Dominant language
Rust
Stars
22.2k
Forks
1.9k
PR merge metrics
PR metrics pending

Description

Problem

mdbook_overlap

Steps
  1. install mdbook
  2. create SUMMARY.md
  3. run mdbook serve --open
Possible Solution(s)

The button to go back to the previous chapter should not cover the table of contents.

Notes

This did not happen in earlier versions of the mdbook. (for example, 0.4.32 does not have this bug)

my code is here: https://github.com/lean-ja/tactic-cheatsheet

Version
> mdbook --vesrion
mdbook v0.4.37

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the overlap by creating a SUMMARY.md and running mdbook serve --open with mdBook 0.4.37, then compare the behavior with 0.4.32. Investigate the generated table-of-contents and navigation styling; done means the previous-chapter button no longer covers the table of contents.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.