mdBook icon indicating copy to clipboard operation
mdBook copied to clipboard

Fixed bug with the index page's relative links.

Open HU90m opened this issue 1 year ago • 2 comments

If there is no index page in the source directory, mdbook uses the first chapter as the index page. When doing so, mdbook doesn't render the page any differently. This causes relative links on the page to break, if the first chapter is within a sub-directory and there is not index.md (or README.md) in the root.

To fix this, a redirect to the first chapter is used instead of a copy of the page.

See bug report for more information: https://github.com/rust-lang/mdBook/issues/2060

HU90m avatar Apr 23 '23 15:04 HU90m

@rustbot label -S-waiting-on-review

KFearsoff avatar Dec 06 '23 20:12 KFearsoff

Not sure why the tag is removed...

@rustbot label +S-waiting-on-review

nbdd0121 avatar Feb 01 '24 21:02 nbdd0121