-
Notifications
You must be signed in to change notification settings - Fork 339
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
Specify minimum version of sphinx_rtd_theme to allow most recent release of docutils #1275
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1275 +/- ##
=======================================
Coverage ? 97.07%
=======================================
Files ? 73
Lines ? 7106
Branches ? 0
=======================================
Hits ? 6898
Misses ? 208
Partials ? 0 Continue to review full report at Codecov.
|
Fortunately, this seems to be working! I'm not sure about which minimum version of docutils should be allowed, so I'll need to:
|
There is a minimum version of docutils required by Sphinx, so I don't think we need to specify one ourselves.
I would agree if we were only depending on functionality provided by Sphinx itself; but |
The two problems with docutils ≥ 0.17 that I knew of were...
Both of those seem to no longer be problems in the docs preview with sphinx_rtd_theme ≥ 1.0.0 (looking at doc previews on Firefox from Ubuntu). @rocco8773 — is there any reason why we'd need to set a minimum version for docutils? |
Co-authored-by: Erik Everson <[email protected]>
|
…ase of docutils (PlasmaPy#1275) * Update requirements for docutils and sphinx_rtd_theme * Add changelog entry * Require docutils >= 0.16 * Remove version requirement for docutils There is a minimum version of docutils required by Sphinx, so I don't think we need to specify one ourselves. * Update changelog/1275.doc.rst Co-authored-by: Erik Everson <[email protected]> * Update changelog entry * Add manual links for PR and issue Co-authored-by: Erik Everson <[email protected]>
…ase of docutils (PlasmaPy#1275) * Update requirements for docutils and sphinx_rtd_theme * Add changelog entry * Require docutils >= 0.16 * Remove version requirement for docutils There is a minimum version of docutils required by Sphinx, so I don't think we need to specify one ourselves. * Update changelog/1275.doc.rst Co-authored-by: Erik Everson <[email protected]> * Update changelog entry * Add manual links for PR and issue Co-authored-by: Erik Everson <[email protected]>
Earlier this year we had some difficulties with docutils 0.17 and higher, which appeared to be incompatibilities with sphinx_rtd_theme. I checked the changelog for sphinx_rtd_theme, and the recently released version 1.0.0 is apparently now compatible with more recent versions of docutils. This PR updates the requirements for both docutils and sphinx_rtd_theme to test that this fix actually does work.