Skip to content

Conversation

ngzhian
Copy link
Member

@ngzhian ngzhian commented Oct 28, 2021

Changes:
https://www.sphinx-doc.org/en/master/changes.html#release-4-0-0-released-may-09-2021

Things to note:

I diffed the output html, some differences I noted:

  • div -> section as noted above
  • a new meta tag for Docutils
  • link tag for css, the type and href attributs swapped places
  • script tag for documetation_options, id and data-url_root swapped
    places
  • some css changes in sphinx css files

Changes:
https://www.sphinx-doc.org/en/master/changes.html#release-4-0-0-released-may-09-2021

Things to note:

- docutils updated to 0.17
https://docutils.sourceforge.io/RELEASE-NOTES.html#release-0-17-2021-04-03
the big change here is to use semantic elements, <div class="section">
is now <section>, I see this a whole bunch when I diff the output HTML.
- supposedly some html themes break due to the docutils change, probably
due to divs not matching, I don't see any visible breakage, so it should
be fine
- mathjax 3
https://docs.mathjax.org/en/latest/upgrading/whats-new-3.0.html it's
faster to render, we need to tweak our configuration a bit, to
camelCase, so updated it in conf.py

I diffed the output html, some differences I noted:

- div -> section as noted above
- a new meta tag for Docutils
- link tag for css, the type and href attributs swapped places
- script tag for documetation_options, id and data-url_root swapped
places
- some css changes in sphinx css files
Copy link
Collaborator

@Ms2ger Ms2ger left a comment

Choose a reason for hiding this comment

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

Sounds reasonable

Copy link
Member

@rossberg rossberg left a comment

Choose a reason for hiding this comment

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

Excellent!

Co-authored-by: Ms2ger <Ms2ger@gmail.com>
@ngzhian ngzhian merged commit b6307dc into WebAssembly:main Oct 29, 2021
@ngzhian ngzhian deleted the sphinx4 branch October 29, 2021 18:09
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