-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
feat: add validation when initializing VitePress configuration #3641
Labels
Comments
@brc-dd Should I change this issue from feature label to bug label? |
Not a bug technically, just an additional validation. I'll review your PR when I get some time. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
If the configuration directory of VitePress is outside the project root directory, the project will not run correctly, so add this validation logic to ensure that the path entered by the user is within the root directory.
Describe the solution you'd like
I'd like to complete @yyx990803 remaining TODO code and achieve the purpose of prompting users to "Make sure directory is inside.".
And the pull request (#3640) is the solution for this issue.
Describe alternatives you've considered
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: