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

Add option to compile a "versionless" site when using docusaurus start #2988

Closed
krillboi opened this issue Jun 24, 2020 · 2 comments · Fixed by #2989
Closed

Add option to compile a "versionless" site when using docusaurus start #2988

krillboi opened this issue Jun 24, 2020 · 2 comments · Fixed by #2989
Labels
feature This is not a bug or issue with Docusausus, per se. It is a feature request for the future. status: needs triage This issue has not been triaged by maintainers

Comments

@krillboi
Copy link

🚀 Feature

Often when previewing your site using docusaurus start you want to check that the newest doc in development is correct and don't really care about old versions of the doc. Therefore to speed up compilation time, it would be nice to have an option to "turn off" versioning, such that only the documents located in the docs folder is compiled (basically compile the site as if it wasn't using versioning).

Have you read the Contributing Guidelines on issues?

Yes.

Motivation

Faster compilation times when previewing a site that uses versioning.

Pitch

Our amount of docs is quite big (~360 .mdx files per version) and as such the compilation time has started to become long after introducing versioning. I have plans on a workaround to do this kinda thing myself (keeping the versioning related stuff in a separate folder such that it doesn't get compiled, then copying those folder into the project when deploying), but having an official, simple option from Docusaurus would be favourable and would probably please other developers as well :)

@krillboi krillboi added feature This is not a bug or issue with Docusausus, per se. It is a feature request for the future. status: needs triage This issue has not been triaged by maintainers labels Jun 24, 2020
@slorber
Copy link
Collaborator

slorber commented Jun 24, 2020

Hi @krillboi

Actually I wanted this too, so here it is: #2989

@slorber slorber linked a pull request Jun 24, 2020 that will close this issue
@krillboi
Copy link
Author

@slorber Fantastic!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This is not a bug or issue with Docusausus, per se. It is a feature request for the future. status: needs triage This issue has not been triaged by maintainers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants