Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed bug with the index page's relative links. #2077

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jan 25, 2024

  1. Fixed bug with index page links.

    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.
    
    To fix this, a redirect to the first chapter is used
    instead of the copy of the page.
    HU90m committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    c667905 View commit details
    Browse the repository at this point in the history