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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configuration option jquery_use_sri and bump to 4.0.0 #14

Merged
merged 5 commits into from
Mar 14, 2023

Conversation

benjaoming
Copy link
Collaborator

Sorry, suggesting to use hash was on me, I was naive to think that we could add something that wasn't exactly the same as before without breaking something eventually 馃槃

Fixes issue in readthedocs/sphinx_rtd_theme#1420

I've also added readthedocs/sphinx_rtd_theme#1421

@@ -32,7 +32,7 @@ def inner(**kwargs):
@pytest.mark.skipif(sphinx.version_info[:2] < (6, 0),
reason="Requires Sphinx 6.0 or greater")
def test_jquery_installed_sphinx_ge_60(blank_app):
out_dir = blank_app(confoverrides={"extensions": ["sphinxcontrib.jquery"]})
out_dir = blank_app(confoverrides={"extensions": ["sphinxcontrib.jquery"], "jquery_cors_enable": True})
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Setting jquery_cors_enable here doesn't seem to work.

I'm suspecting this could be the same as sphinx-doc/sphinx#10120 ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I've now tested on a local documentation build that this setting actually has an effect :)

README.rst Outdated Show resolved Hide resolved
@benjaoming
Copy link
Collaborator Author

@AA-Turner would you be able to have a look here?

@benjaoming
Copy link
Collaborator Author

Ping @AA-Turner ?

@benjaoming
Copy link
Collaborator Author

@AA-Turner if you accept that I co-maintain the PyPi package, I can also release this.

README.rst Outdated Show resolved Hide resolved
sphinxcontrib/jquery/__init__.py Outdated Show resolved Hide resolved
@ericholscher
Copy link

ericholscher commented Mar 13, 2023

@AA-Turner Anything we can do to move this forward? We're happy to help maintain this over at RTD, if you give us permissions. We have lots of users with various needs from Sphinx, and we want to make sure we can help them move forward with changes, and not burden you to manage it. Happy to push this forward on our side, if that makes sense.

@AA-Turner AA-Turner changed the title Add configuration option jquery_cors_enable and bump to 4.0.0 Add configuration option jquery_use_sri and bump to 4.0.0 Mar 14, 2023
@AA-Turner
Copy link
Member

@AA-Turner if you accept that I co-maintain the PyPi package, I can also release this.

What's your PyPI username?

A

@AA-Turner AA-Turner merged commit 741a2eb into master Mar 14, 2023
@AA-Turner AA-Turner deleted the disable-integrity-checks branch March 14, 2023 12:47
@benjaoming
Copy link
Collaborator Author

@AA-Turner it's benjaoming - happy to help 馃憤 but I see you've done all the work this time around :)

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.

None yet

3 participants