-
Notifications
You must be signed in to change notification settings - Fork 4
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
Documentation update and versioning #627
Conversation
After testing the deployment there are two errors that need tracking down:
The v1.0.0 docs are using quite an old version of mkdocs-material so that might also complicate things. I've converted to a draft while I investigate. |
- Updated full mkdocs-material dependencies. - Added mike to use docs versioning. - Fixed docstrings for new Return parsing.
- Publish dev on every dev commit. - Publish new latests version on release (using release name as tag).
[skip ci]
[skip ci]
- [skip ci]
d5d7b11
to
2cc6a4f
Compare
- [skip ci]
@marxide if you want a puzzle... Everything here appears to be working expect for the banner links and page diverting when changing versions. But it is only breaking when the initial page load is on the homepage. If you visit the docs from any other page directly, e.g.
Then you can browse around the website the outdated banner has the correct link and any new pages that don't exist in the old docs redirect to the homepage as expected. If you start directly on the homepage then all the links muck up. Which is really strange as the I tested a brand new simple mkdocs-material project, put all our overrides in and I could not replicate the error so I must be missing something somewhere. p.s. I test it by deploying the same version twice with a different tag, i.e.:
|
A new release of Will wait for a release based off the fix mentioned here: squidfunk/mkdocs-material#3653. |
@marxide this is now ready with the release of So it doesn't break everything as it's on an old version, I manually made it so the I have deployed this version as is along with the mentioned The git actions will just have to be tested after this is merged and correct any mistakes then. |
This brings the documentation up-to-date in using the latest mkdocs-material release. It also adds docs versioning so the docs can be viewed for each release, in addition to the dev version.
mike
dependency for versioning.serializers.py
andviews.py
are now shown in the code reference.Returns:
docstrings to follow new handling ofTuple
orUnion
return types.dev
docs on each push todev
.Note:
Griffe
handler doesn't currently support selection, so all previous 'hidden' functions are now shown in theCode Reference
section. These might be missing docstrings. Suggest opening issue to either fill these in or re-hide them once Griffe supports that option.Before Merging
gh-pages
branch usingmike
.Fixes #486.