nixvim icon indicating copy to clipboard operation
nixvim copied to clipboard

[BUG] relative links on the index page don't always work

Open MattSturgeon opened this issue 1 year ago • 1 comments

Description

When accessing the docs' index directly (as /user-guide/install.html), relative links no longer work correctly (i.e. the links to Home Manager Usage and Standalone Usage).

Minimal, Reproducible Example (MRE)

  1. Visit https://nix-community.github.io/nixvim
  2. Click a relative link
  3. Everything works
  4. Open (ToC sidebar)
  5. Click "Installation"
  6. Repeat step 2 (click relative link)
  7. This time the link is broken (points to e.g. /user-guide/modules/hm.html, note the extra /user-guide prefix)

MattSturgeon avatar Jun 03 '24 15:06 MattSturgeon