-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Is there any way to have a permalink for a specific version in the changelog doc? #4344
Comments
PR welcome. We don't do anything special for this file, so changing this would require some investigation into how our docs stack generates headers. |
Took a look, but not sure what's the issue here. Funny enough, only the changelog page seem to have this problem. Also, if I add If I add text at the end e.g. Maybe there's some leading number stripping going on in Sphinx? 🤔 Seems like |
I'd be open to changing the headers to something like "Version 24.4.2". |
@JelleZijlstra cool. Can you point me to a place where the "Unreleased" section of CHANGES.md gets turned into the version number after the release? |
Is this related to a problem? Please describe.
It would be nice if one could copy-paste links to the https://black.readthedocs.io/en/stable/change_log.html doc with anchors to specific versions.
ATM the page seems to put
idX
anchors on each header,where X is an incrementing number.
This means that over time the underlying content changes (with each release)
and there seems to be no way to point people to a specific section (version) of that doc
regardless of what the most recent release is.
Describe the solution you'd like
Switch from
#id1
,#id2
etc. header anchorsto something more permanent e.g.
#v24.4.2
,which would point to a changelog section for the
24.4.2
version.The text was updated successfully, but these errors were encountered: