-
Notifications
You must be signed in to change notification settings - Fork 446
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
docs: improve sidebar for the changelog page #5070
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about setting a max depth such that only the contents only show the top-level versions are shown and not the sub-headings? I'm not sure if it's possible.
A few weeks ago, I tried to figure out how to do it on the right-hand page navigation (see attached) but gave up because I couldn't figure out how to do it without html/css hacking.
These two facts: - Changelog entries for a given version can be rather long - We order the versions "chronologically" instead of "numerically" ... mean that the entries for a given major version can get "hidden" further down the page if multiple hotfixes have been released in the meantime. This can cause confusion and make it seem like the version has not been released, or at least doesn't have changelog entries. To alleviate this, add a table of contents to the sidebar that links to the subsection for each release.
c967bbc
to
cd81d0c
Compare
@mr-cal what a coincidence, I had the same thought and managed to find a way to do it (don't ask me how) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's beautiful, thank you!!
don't ask me how
I closed my eyes when approving so I wouldn't find out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:tocdepth:
can't see you, :tocdepth:
can't hurt you.
spread test failure is a launchpad connectivity issue, merging anyway |
These two facts:
... mean that the entries for a given major version can get "hidden" further
down the page if multiple hotfixes have been released in the meantime. This
can cause confusion and make it seem like the version has not been released,
or at least doesn't have changelog entries. To alleviate this, add a table of
contents to the sidebar that links to the subsection for each release.
tox run -m lint
?tox run -e test-py310
? (supported versions:py39
,py310
,py311
,py312
)