Skip to content

relative links are not correctly working on 0.4.42 #2482

@mimoo

Description

@mimoo

Problem

we had to downgrade to [email protected] in order to have relative links work in the rendered html (when we use subfolders in chapters). Version 0.4.42 had this problem:

  • imagine you have ./foo/bar.md and ./foo2/bar2.md in the summary file
  • imagine that in the rendered page you go to is in /foo/bar/index.html
  • then mdbook usually convert the link in the menu to the other page as ../foo2/bar2/index.html
  • but it doesn't and render it as foo2/bar2/index.html (which obv doesn't work)

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: A bug, incorrect or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions