-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
Versioning a new doc is broken #450
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
Comments
JoelMarcey
added
bug
An error in the Docusaurus core causing instability or issues with its execution
showstopper
labels
Feb 14, 2018
JoelMarcey
added a commit
to JoelMarcey/Docusaurus
that referenced
this issue
Feb 16, 2018
Instead of throwing, return `null` because that means we have a new doc in our versioning sequence (Also, cleaned up a bit of code as I researched this) Fixes facebook#450
JoelMarcey
added a commit
that referenced
this issue
Feb 17, 2018
Instead of throwing, return `null` because that means we have a new doc in our versioning sequence (Also, cleaned up a bit of code as I researched this) Partial Fix To #450
JoelMarcey
added a commit
to JoelMarcey/Docusaurus
that referenced
this issue
Feb 17, 2018
Right now we were assuming that there would be no `-` in a version. That was breaking things. This allows more flexibility for versions like: 1.0.0-beta.2 Ref facebook#455 Fixes facebook#450
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you add a new doc to a versioned site, the new doc is not seen and an error is thrown.
Is this a bug report?
Yes.
Have you read the Contributing Guidelines?
Yes.
Environment
Docusaurus 1.0.6
(and confirmed it happens in Docusaurus 1.0.5)
Steps to Reproduce
docs
foldernpm run version 1.0.0
docs
foldernpm run version 2.0.0
Expected Behavior
Version 2.0.0 is created.
Actual Behavior
Reproducible Demo
See steps above.
The text was updated successfully, but these errors were encountered: