Skip to content
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

Make it easy to test locally #83

Merged
merged 5 commits into from
Aug 18, 2021
Merged

Make it easy to test locally #83

merged 5 commits into from
Aug 18, 2021

Conversation

stsewd
Copy link
Member

@stsewd stsewd commented Feb 17, 2021

Additionally, disabling the CORS check should be done.
I'm using https://addons.mozilla.org/en-US/firefox/addon/cors-everywhere/ for that.

@stsewd
Copy link
Member Author

stsewd commented Feb 17, 2021

Looks like sphinx 3.5 broke the extension :) taking a look

@stsewd
Copy link
Member Author

stsewd commented Feb 17, 2021

Looks like they updated underscore.js, I'll check the incompatible changes, also see if we can drop that dep.

docs/development.rst Outdated Show resolved Hide resolved
Additionally, disabling the CORS check should be done.
I'm using https://addons.mozilla.org/en-US/firefox/addon/cors-everywhere/ for that.
Additionally, disabling the CORS check should be done.
I'm using https://addons.mozilla.org/en-US/firefox/addon/cors-everywhere/ for that.
Copy link
Member

@ericholscher ericholscher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a good change 👍

@@ -697,7 +697,7 @@ window.addEventListener("DOMContentLoaded", () => {
const project = READTHEDOCS_DATA.project;
const version = READTHEDOCS_DATA.version;
const language = READTHEDOCS_DATA.language || "en";
const api_host = '/_';
const api_host = READTHEDOCS_DATA.proxied_api_host || '/_';
Copy link
Member

@ericholscher ericholscher Aug 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd love to standardize this a bit more in some kind of JS library, at some point in the future.

@stsewd stsewd merged commit 526eb58 into master Aug 18, 2021
@stsewd stsewd deleted the test-locally branch August 18, 2021 22:59

cd docs
pip install sphinx-autobuild
pip install -r requirement.txt
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't it the name of this file requirements.txt (plural)?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch @nienn!

@astrojuanlu astrojuanlu mentioned this pull request Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants