Skip to content

Navigation links are made relative to the current page

First of all, I absolutely love this theme. I definitely plan to use it as my default for docs on my future personal projects.

Secondly, there seems to be an issue with the nav links. All of them appear relative to my current page. The site I am currently seeing this on is my test docs site at https://terrabitz.gitlab.io/testhackandslash/.

Environment:

  • MkDocs 1.0.4
  • Python 3.7

Expected Output

Each nav link would contain the absolute URL to each page. For example, if I am currently on example.com/CHANGELOG, I would expect the URL for my docs at docs/Functions/Get-Foo to be set to example.com/Functions/Get-Foo

Actual Output

The nav link points to example.com/CHANGELOG/Functions/Get-Foo.

This pattern seems to occur on each page of the site, where links to navs are referenced relative to the current page (e.g. from example.com/Functions/Get-Foo/, trying to get to the docs at docs/CHANGELOG points me to example.com/Functions/Get-Foo/CHANGELOG).

Edited by Trevor Taubitz
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information