-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
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
Support custom build path #2410
Comments
Sure, we don't mind accepting such a flag. Alternatively, if you want to unblock yourself, you could also modify your
|
@yangshun Thanks for the advise, that is what I did so far. I don't need to ensure the new directory is empty in case the build command break off if we got |
Ok then do |
Thanks again! @yangshun |
@jsjoeio I heard from @JoelMarcey you would like to work on some ramp up tasks. Would you be interested in this? |
Hi @yangshun! That's right. This one sounds good to me, sure! |
Is it just not comprehensive enough in the build command? We want to change this output directory when running |
The static file directory doesn't seem to support relative directories either, which is needed in our project (a project that generates documentation dynamically, for our inc. internal documentary) |
The build command option does not cover the desired use case as we need to run This means that the output directory should be specified in |
Both build/serve commands take an output dir option, and there's even a |
have you solven this problem? |
Command option is prone to error, as you need to change each command carefully when you make changes to the out-dir. That's why we need a single place were the config is handled. In other libraries, configurations often mirror command line options, so it should be for docusaurus as well. To add to this, config files should specify the default options, and command line options should be able to override the option. |
🚀 Feature
Add a new configuration of docusaurus
output
with default valuebuild
Have you read the [Contributing Guidelines on issues]yes
Yes
Motivation
We can build static web site to specific directory directly with any other actions. That would be more convenient.
Pitch
Just likes:
If we execute
npm run build
, the build assets are save at../docs
directory.The text was updated successfully, but these errors were encountered: