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

docs: add root path to gitignore suggestion #2488

Merged
merged 1 commit into from
Aug 8, 2023
Merged

docs: add root path to gitignore suggestion #2488

merged 1 commit into from
Aug 8, 2023

Conversation

Lehoczky
Copy link
Contributor

@Lehoczky Lehoczky commented Jun 7, 2023

We currently suggest the user to add the .vitepress/dist and .vitepress/cache folders to their .gitignore file, but if they just copy-paste these values, it won't work. They will either need to prefix this path with the vitepress root folder, or use **/.vitepress/dist.

I've implemented the formal option in this PR, but happy change it to the latter if that sounds better to you guys.

Before:
image

After:
image

@Lehoczky
Copy link
Contributor Author

Or we can add these folders directly to the user's gitignore file

@brc-dd brc-dd force-pushed the main branch 2 times, most recently from 7ad4a4e to f0d3082 Compare August 3, 2023 10:20
@brc-dd brc-dd merged commit 819eb51 into vuejs:main Aug 8, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants