This is something I've been thinking about since we merged #91 and #98 but haven't yet had a release: our online docs have updated to the latest API, but people who download/use it right now won't have that necessarily.
Obviously one fix is to always be prompt on releasing new code, but I think a better solution involves a more complete documentation site. Our theme supports version switchers, which we can use to keep multiple versions of the docs around.
This PR does a few things:
The docs built on every push to main will now live at roualdes.github.io/bridgestan/latest/
Each release will create a new sub-page, e.g. for version 2.0.1 there will be a copy at roualdes.github.io/bridgestan/v2.0.1/
Our docs will have a nice version switcher to go between these different versions.
This will all be automated going forward, but the first time through I will need to make some manual changes to the gh-pages branch.
We should add a redirect from roualdes.github.io/bridgestan/ to roualdes.github.io/bridgestan/latest/ (easy)
It would be nice to go "back in time" and manually build a couple older versions of the docs with this enabled.
This is something I've been thinking about since we merged #91 and #98 but haven't yet had a release: our online docs have updated to the latest API, but people who download/use it right now won't have that necessarily.
Obviously one fix is to always be prompt on releasing new code, but I think a better solution involves a more complete documentation site. Our theme supports version switchers, which we can use to keep multiple versions of the docs around.
This PR does a few things:
main
will now live atroualdes.github.io/bridgestan/latest/
2.0.1
there will be a copy atroualdes.github.io/bridgestan/v2.0.1/
This will all be automated going forward, but the first time through I will need to make some manual changes to the
gh-pages
branch.roualdes.github.io/bridgestan/
toroualdes.github.io/bridgestan/latest/
(easy)