Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi, this is my first time opening a PR in Vitepress, so please let me know if I need to change anything. I did my best to follow the contributing guidelines.
Changes
outDir
option to the UserConfig in .vitepress/config.js.outDir
is resolved the same way assrcDir
to keep things consistent.outDir
is provided by the user.outDir
instead ofdest
(from Vuepress) because theoutDir
option already existed on the internal SiteConfig typeoutDir
to publish files to the top-levelpublic
directory in accordance with GitLab pages deployment requirements.idea
, the.vscode
equivalent for JetBrains IDE's (Webstorm, PHPStorm, etc.). I am a WebStorm user, and I figured it may make contributing easier for other developers using JetBrains products.Motivation
Notes
I included both the feature and doc changes in a single PR since I thought they should be updated together. If you would prefer them split into multiple PRs for better tracking of feat/doc changes, I can do that.
I looked for any tests I should update, but didn't find any. If I missed them, please let me know and I can add a test case.
I have tested it in my Vitepress project using
npm link
, and it works great. I recorded a video demo that I can provide if you would like to see a demo.close #171