Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vitepress dose not generate sitemap with directories:doc #3799

Closed
4 tasks done
virskor opened this issue Apr 18, 2024 · 1 comment
Closed
4 tasks done

Vitepress dose not generate sitemap with directories:doc #3799

virskor opened this issue Apr 18, 2024 · 1 comment
Labels
bug: pending triage Maybe a bug, waiting for confirmation

Comments

@virskor
Copy link

virskor commented Apr 18, 2024

Describe the bug

after migrate package.json

"directories": {
    "doc": "records"
  },

sitemap generate with sitemap.hostname but not add /records after host name

Reproduction

sitemap.xml

Expected behavior

loc shoud be http://test.com/records/ok.html not http://test.com/ok.html

System Info

"vitepress": "^1.1.0"

Additional context

No response

Validations

@virskor virskor added the bug: pending triage Maybe a bug, waiting for confirmation label Apr 18, 2024
@brc-dd
Copy link
Member

brc-dd commented Apr 27, 2024

You need to set base - https://vitepress.dev/reference/site-config#base

directories.doc is probably some non-standard thing which vitepress doesn't recognize

@brc-dd brc-dd closed this as not planned Won't fix, can't repro, duplicate, stale Apr 27, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug: pending triage Maybe a bug, waiting for confirmation
Projects
None yet
Development

No branches or pull requests

2 participants