-
Notifications
You must be signed in to change notification settings - Fork 55
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
Look into supporting multiple versions of documentation #19
Comments
Seems it is not compatible with the latest Sphinx as documented here sphinx-contrib/sphinxcontrib-versioning#39 |
Another option would be to build the different versions of the documentation in sub-directories of
Similar to: |
If we do the above route though, maybe it is best to keep the builds within the branch |
I like this idea, following the Rails convention. |
We should also have a /latest/ being a copy of the latest tag i.e. in rails example:
|
With /latest/ we will be able to share this link. |
The Unless symlinks work, but I doubt it. |
No symlinks and no redirect. Just cp -r from vX.Y to latest ( or better, rsync to mirror). Would need routine to determine the latest release branch available and then match that against the current branch |
You would have to manually |
So the psuedo code is: if CURRENT_BRANCH == LATEST_VERSION
rm -rf latest if latest.directory_exists?
cp -r CURRENT_BRANCH latest
end I don't see the manual step. |
I guess you create and push a branch. The manual step is triggering Travis to run the build on that branch? |
Ah, you actually want the code to scan all the branch names and determine the latest version, I misunderstood the first time. |
This is now supported after many trial and errors. |
This is possible with https://robpol86.github.io/sphinxcontrib-versioning/index.html
The text was updated successfully, but these errors were encountered: