vitepress
vitepress copied to clipboard
.vitepress dir Whether you can rename it ?
Is your feature request related to a problem? Please describe.
I am using obsidian ,hidden files and dir , this application in no found
Describe the solution you'd like
Can I rename this dir .vitepress ?
Describe alternatives you've considered
No response
Additional context
No response
Validations
- [X] Follow our Code of Conduct
- [X] Read the docs.
- [X] Read the Contributing Guidelines.
- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.
@luyuan9870
You can rename it as whatever you want.
Make sure to change command line arguments for VitePress in your package.json.
https://vitepress.dev/guide/getting-started#up-and-running
Ah, sorry, I misunderstood your question.
It seems that currently the config file is always resolved from <root>/.vitepress/config.[ext].
https://vitepress.dev/reference/site-config#config-resolution
You can keep things outside and just re-export them from .vitepress/config or .vitepress/theme. You won't need to change things inside .vitepress then. There is #3290 and #3291 which would fix this but I'm not sure if we as maintainers want to support that. There are also community plugins like this - https://github.com/polyipseity/obsidian-show-hidden-files - which will work with Obsidian.