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 dir Whether you can rename it ? #3793

Open
4 tasks done
luyuan9870 opened this issue Apr 16, 2024 · 3 comments
Open
4 tasks done

.vitepress dir Whether you can rename it ? #3793

luyuan9870 opened this issue Apr 16, 2024 · 3 comments

Comments

@luyuan9870
Copy link

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

@NozomuIkuta
Copy link
Contributor

@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

@NozomuIkuta
Copy link
Contributor

NozomuIkuta commented May 2, 2024

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

@brc-dd
Copy link
Member

brc-dd commented May 2, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants