-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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 feature to track docs from different branches #1060
Comments
Nice meeting you earlier @SilleBille! I don't have a good suggestion for that kind of branching model because if two docs are on different branches, it feels more correct to generate a website separately for each. Take Bootstrap for example, V4 dos are hosted at https://getbootstrap.com/docs/4.1/ and v3 docs at https://getbootstrap.com/docs/3.3/. They are separate websites. I don't think there are any site generators out there that support generating a site across multiple branches. cc @endiliey and @JoelMarcey for opinions. |
I am not in a good favor of this issue >.< Branching is actually a non easy concept and I think it's better to make things simple. |
🚀 Tracking docs from different branches
The current implementation allows reading docs from a Single Branch with multiple dirs that point to different version docs.
This feature would allow projects that base their product version on different branches*.
Have you read the Contributing Guidelines on issues?
Yes
Motivation
After attending ATO2018 conference, @yangshun and I had a discussion regarding this feature.
Pitch
Project
ATO
has branchesATO1
andATO2
. Each branch has a dir nameddoc
that has that particular version's documentation (ie)ATO1/doc
hasv1
doc andATO2/doc
hasv2
doc. Instead of forcing the project to move all their docs to a single branch, docusaurus should be able to accomodate the above mentioned project structure as well.The text was updated successfully, but these errors were encountered: