Cataclysm-BN icon indicating copy to clipboard operation
Cataclysm-BN copied to clipboard

Relative links don't work on website in dev mode on Windows

Open olanti-p opened this issue 1 year ago • 0 comments

Describe the bug

Relative links don't work on website in dev mode on Windows

Steps To Reproduce

  1. Go to https://docs.cataclysmbn.org/en/dev/guides/building/cmake/ , see "Compiler Support" link. Click it, be redirected as expected.
  2. Run the website locally on Windows (cd doc && npm install && npm run dev)
  3. The same link now redirects to /en/dev/guides/building/cmake/..\..\..\reference\compiler_support

Screenshots

No response

Versions and configuration

20e7c5252b9da548848c1fc24bff644daa39bdca

Additional context

Windows path separator issue, / vs \?

olanti-p avatar Oct 27 '23 19:10 olanti-p