-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Return stable version tag with stable version API/context data #4000
Comments
See #4001 for discussion on automated rules for versioning. |
This is related to #4529 that talks about showing the tag that |
Here is my comment, we can change this in the theme and in the API response. We have the information available. |
It seems that this information is available through API v3 under I wanted to get the information about the stable tag so that I can show the old version warning. I don't want to use the new Addons for it (I like the old warning formatting in sphinx-rtd-theme style to be nicer) but it seems that I lack the necessary metadata to do so. |
We are having some conversations about removing the auth requirement from APIv3, but we haven't made the changes yet. Eventually, that would be the way to get this data at build time.
You can use the JavaScript event We plan to document this JavaScript event soon, so people can start building their own integrations. In the meanwhile, please open a new issue if you feel you need some help with it and we can talk over there. |
I found myself wanting this information in our documentation portal. I'd rather display the tag that
stable
points to, rather thanstable
. There are a few places where we could display this information differently:I don't believe we are currently tracking this, we're just tracking the changeset of the tag.
Alternatively, we could potentially make version rules as an alternative feature to stable version. I'll discuss this in a separate ticket.
The text was updated successfully, but these errors were encountered: