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

Multi-version documentation #251

Closed
mschmidt87 opened this issue Nov 11, 2020 · 5 comments · Fixed by #300 or #315
Closed

Multi-version documentation #251

mschmidt87 opened this issue Nov 11, 2020 · 5 comments · Fixed by #300 or #315
Assignees
Labels
doc Improvements or additions to documentation
Milestone

Comments

@mschmidt87
Copy link
Member

We want to publish the documentation both for the release version and the latest version from master.

@mschmidt87 mschmidt87 added the doc Improvements or additions to documentation label Nov 11, 2020
@mschmidt87 mschmidt87 self-assigned this Nov 11, 2020
@jakobj jakobj added this to the #thefuture milestone Feb 10, 2021
@jakobj jakobj linked a pull request Apr 7, 2021 that will close this issue
@mschmidt87
Copy link
Member Author

After several attempts to get this working, I am giving up on trying to make this run with publishing the docs on github pages. In principle, sphinx-multiversion is the way to go. I can also make it run locally (kind of, keep running into issues there as well), however, making this in the CI (travis and github actions) has proven impossible (for me, at least). See #298 .

Another issue is that sphinx-multiversion does not seem well maintained, since the maintainer declared it "compete" (see sphinx-contrib/sphinxcontrib-versioning#77 (comment)) and seems to ignore Pull-requests by other developers.

Therefore, I will migrate our documentation to readthedocs which supports multiple versions.

@mschmidt87
Copy link
Member Author

Reopening here, because I will redirect the link in the README to the new docs and do some maintenance behind the scenes.

@mschmidt87 mschmidt87 reopened this Apr 19, 2021
@mschmidt87
Copy link
Member Author

mschmidt87 commented Apr 20, 2021

Currently, the documentation build for 0.2.0 is failing, (I believe) because the .readthedocs.yaml config file is missing. I guess the only way to fix this would be to push that file to the release branch/tag. This is a bit dirty because it will alter the release retroactively, but as far as I understand, inevitable. @jakobj

@jakobj
Copy link
Member

jakobj commented Apr 21, 2021

well, we certainly don't want to rewrite the history of the whole repo ;) one way would be to create a new, permanent 0.2.1 release branch which contains the relevant files. alternatively we could start providing multiversion doc from 0.3.0 onwards. i have a feeling 0.4.0 might not be too far in the future ;)

@mschmidt87
Copy link
Member Author

mschmidt87 commented Apr 22, 2021

No, I also thought that creating a release branch would be the best option. I would do that rather than waiting for the 0.3.0 release. I would, however, just call it 0.2.0_docs and not make a proper release to not confuse people.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment