Skip to content

Commit 716f1c8

Browse files
committed
Addons: rename library
Related readthedocs/addons#4
1 parent c5ce36e commit 716f1c8

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
@@ -2079,7 +2079,7 @@ def add_features(sender, **kwargs):
20792079
(
20802080
HOSTING_INTEGRATIONS,
20812081
_(
2082-
"Proxito: Inject 'readthedocs-client.js' as <script> HTML tag in responses."
2082+
"Proxito: Inject 'readthedocs-addons.js' as <script> HTML tag in responses."
20832083
),
20842084
),
20852085
(

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)