You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note there aren't too many differences here, but a version named like release/v2.x (verbose_name) will be rendered in the flyout as release-v2.x instead (slug).
Also note that we could consider to render the versions completely (using the VersionSerializer) under adddons.flyout.versions instead of just { slug: ..., url: ... }
In the response of
/addons/
API endpoint we are usingversion.slug
to generateaddons.flyout.versions
:readthedocs.org/readthedocs/proxito/views/hosting.py
Lines 357 to 368 in a49f111
Note there aren't too many differences here, but a version named like
release/v2.x
(verbose_name
) will be rendered in the flyout asrelease-v2.x
instead (slug
).Also note that we could consider to render the versions completely (using the
VersionSerializer
) underadddons.flyout.versions
instead of just{ slug: ..., url: ... }
Reference #11069 (comment)
The text was updated successfully, but these errors were encountered: