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

Recent Sphinx fixes, latest disqus.js #15

Merged
merged 1 commit into from
Jun 9, 2021
Merged

Recent Sphinx fixes, latest disqus.js #15

merged 1 commit into from
Jun 9, 2021

Conversation

Robpol86
Copy link
Owner

@Robpol86 Robpol86 commented Jun 9, 2021

Updated disqus.js with their latest universal code.

Recent Sphinx versions moved html_static_path insertion from the bottom
of HTML documents to the top, causing disqus.js to run before the
<div /> has been loaded. Fixing this by using $(document).ready().

Recent Sphinx versions also started ignoring prior
html_static_path.append() during setup(app) call. Fixed this by
appending during builder-inited event.

Updated disqus.js with their latest universal code.

Recent Sphinx versions moved html_static_path insertion from the bottom
of HTML documents to the top, causing disqus.js to run before the
`<div />` has been loaded. Fixing this by using `$(document).ready()`.

Recent Sphinx versions also started ignoring prior
html_static_path.append() during `setup(app)` call. Fixed this by
appending during `builder-inited` event.
@codecov-commenter
Copy link

codecov-commenter commented Jun 9, 2021

Codecov Report

Merging #15 (d151502) into main (82e8235) will decrease coverage by 0.11%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #15      +/-   ##
==========================================
- Coverage   98.11%   98.00%   -0.12%     
==========================================
  Files           2        2              
  Lines          53       50       -3     
  Branches        5        6       +1     
==========================================
- Hits           52       49       -3     
  Partials        1        1              
Impacted Files Coverage Δ
sphinx_disqus/disqus.py 97.87% <100.00%> (-0.13%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 82e8235...d151502. Read the comment docs.

@Robpol86 Robpol86 merged commit 7c0cb6b into main Jun 9, 2021
@Robpol86 Robpol86 deleted the stage branch June 9, 2021 22:34
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.

2 participants