Vitepress dose not generate sitemap with directories:doc
virskor opened this issue · comments
Devo commented
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
- Check if you're on the latest VitePress version.
- Follow our Code of Conduct
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Divyansh Singh commented
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