-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Addons: add
CDN-Tags
to endpoint and auto-purge cache (#10704)
* Addons: add `CDN-Tags` to endpoint and auto-purge cache It follows a similar approach than `FooterHTML` API by adding `rtd-addons` CDN tag and uses the same signals logic from `readthedocs-ext` to purge the cache on different events. Closes #10694 * Addons: allow to be extended by corporate (#10705) * Define `_get_project` and `_get_version` as individual methods because these are required by the API permissions. * Use `user=` attribute when performing the query for the versions to be displayed in the flyout. Requires #10704
- Loading branch information
Showing
1 changed file
with
83 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters