Skip to content

Add configuration option jquery_use_sri and bump to 4.0.0#14

Merged
AA-Turner merged 5 commits intomasterfrom
disable-integrity-checks
Mar 14, 2023
Merged

Add configuration option jquery_use_sri and bump to 4.0.0#14
AA-Turner merged 5 commits intomasterfrom
disable-integrity-checks

Conversation

@benjaoming
Copy link
Copy Markdown
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

@benjaoming benjaoming requested a review from AA-Turner January 24, 2023 14:45
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
Copy Markdown
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
Copy Markdown
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 :)

@benjaoming
Copy link
Copy Markdown
Collaborator Author

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

@benjaoming
Copy link
Copy Markdown
Collaborator Author

Ping @AA-Turner ?

@benjaoming
Copy link
Copy Markdown
Collaborator Author

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

@ericholscher
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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.

3 participants