Skip to content

Addons: rename library #10531

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

Merged
merged 1 commit into from
Jul 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dockerfiles/nginx/proxito.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ server {
add_header X-RTD-Hosting-Integrations $rtd_hosting_integrations always;

# Inject our own script dynamically
# TODO: find a way to make this work _without_ running `npm run dev` from the `readthedocs-client` repository
sub_filter '</head>' '<script language="javascript" src="http://localhost:8000/readthedocs-client.js"></script>\n</head>';
# TODO: find a way to make this work _without_ running `npm run dev` from the `addons` repository
sub_filter '</head>' '<script language="javascript" src="http://localhost:8000/readthedocs-addons.js"></script>\n</head>';
sub_filter_last_modified on;
sub_filter_once on;
}
Expand Down
2 changes: 1 addition & 1 deletion readthedocs/projects/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2079,7 +2079,7 @@ def add_features(sender, **kwargs):
(
HOSTING_INTEGRATIONS,
_(
"Proxito: Inject 'readthedocs-client.js' as <script> HTML tag in responses."
"Proxito: Inject 'readthedocs-addons.js' as <script> HTML tag in responses."
),
),
(
Expand Down
2 changes: 1 addition & 1 deletion readthedocs/proxito/views/hosting.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class ReadTheDocsConfigJson(CDNCacheControlMixin, View):
API response consumed by our JavaScript client.

The code for the JavaScript client lives at:
https://github.com/readthedocs/readthedocs-client/
https://github.com/readthedocs/addons/

Attributes:

Expand Down