Skip to content

Commit 9fb226e

Browse files
authored
Addons: rename library (#10531)
Related readthedocs/addons#4
1 parent 7a44633 commit 9fb226e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

dockerfiles/nginx/proxito.conf.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ server {
9595
add_header X-RTD-Hosting-Integrations $rtd_hosting_integrations always;
9696

9797
# Inject our own script dynamically
98-
# TODO: find a way to make this work _without_ running `npm run dev` from the `readthedocs-client` repository
99-
sub_filter '</head>' '<script language="javascript" src="http://localhost:8000/readthedocs-client.js"></script>\n</head>';
98+
# TODO: find a way to make this work _without_ running `npm run dev` from the `addons` repository
99+
sub_filter '</head>' '<script language="javascript" src="http://localhost:8000/readthedocs-addons.js"></script>\n</head>';
100100
sub_filter_last_modified on;
101101
sub_filter_once on;
102102
}

readthedocs/projects/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2086,7 +2086,7 @@ def add_features(sender, **kwargs):
20862086
(
20872087
HOSTING_INTEGRATIONS,
20882088
_(
2089-
"Proxito: Inject 'readthedocs-client.js' as <script> HTML tag in responses."
2089+
"Proxito: Inject 'readthedocs-addons.js' as <script> HTML tag in responses."
20902090
),
20912091
),
20922092
(

readthedocs/proxito/views/hosting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class ReadTheDocsConfigJson(CDNCacheControlMixin, View):
3939
API response consumed by our JavaScript client.
4040
4141
The code for the JavaScript client lives at:
42-
https://github.com/readthedocs/readthedocs-client/
42+
https://github.com/readthedocs/addons/
4343
4444
Attributes:
4545

0 commit comments

Comments
 (0)