-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
bug: pending triageMaybe a bug, waiting for confirmationMaybe a bug, waiting for confirmation
Description
Describe the bug
See https://github.com/songololo/vitepress-debug for reproduction of this issue:
Run a dev server: yarn docs:dev
.
Note that the base-path /my-base-path/
is set in the config at .vitepress/config.js
.
The base path works for root files, i.e. index.md
is served from /my-base-path/
.
However, the base path is missing for nested files, i.e. content/index.md
is served from /content/
and content/hello.md
is served from /content/hello.html
.
This doesn't break things in development mode because the links are also missing the base path.
However, it breaks things in production because the links are missing the base path.
System Info
- vitepress 0.12.2
- vite/2.0.4
- darwin-x64
- node-v15.8.0
This happens for both my local system and for a github actions build.
Maniload, LubosMertak and Sid110307
Metadata
Metadata
Assignees
Labels
bug: pending triageMaybe a bug, waiting for confirmationMaybe a bug, waiting for confirmation