-
-
Notifications
You must be signed in to change notification settings - Fork 588
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
make documentation building compatible with sphinx 5 #34149
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:3
As it turns out, the imported Next error:
Warning for upcoming sphinx 6.0 is treated as an error. |
This comment has been minimized.
This comment has been minimized.
Author: François Bissey |
Commit: |
Branch: u/fbissey/sphinx5 |
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:8
@antonio-rojas FYI if this doesn't make it in 9.7. |
comment:9
|
comment:10
WFM, thanks (and I just found out that doc building on distros got yet more complicated in 9.7, sigh) |
comment:11
Replying to @antonio-rojas:
I haven't experienced trouble so far apart from sphinx just going up under my nose on Gentoo. What do you have problem with? For the record, I ended up splitting sage-doc as its own thing at about sage 9.5 because my work arounds for monolithic build where just looking they could break any time. Splitting has its issue but for documentation building it was positive overall. |
comment:12
Replying to @kiwifb:
Going through the makefile is now mandatory |
comment:13
Yes, I split before my work around for not using the Makefile would break. It looks like that was a good early move. Using the Makefile is good but I could not leave it as is, especially the bits about |
comment:14
Merge failure on top of: 73d7bb0aae Trac #34122: Bug in is_planar() method for directed graphs b9b73ce665 Trac #33160: update Singular to 4.3.1 1dd3b4819f Trac #33134: doctest failure in hilbert_poincare_series with singular 4.2.1 c9cfb53 Trac #34087: inverse reciprocal trig functions not (back)translated to/from Mathematica 1d6d055 Trac #34076: pycodestyle cleanup in src/sage/graphs/genus.pyx 043d862 Trac #34071: pycodestyle cleanup in asteroidal_triples.pyx, chrompoly.pyx, cliquer.pyx, convexity_properties.pyx b9b25dc Trac #34070: pycodestyle cleanup in src/sage/graphs/centrality.pyx 4ef2c65 Trac #34069: pycodestyle cleanup in src/sage/graphs/comparability.pyx 5b11467 Trac #34066: Tachyon help message 798adaa Trac #34065: pycodestyle cleanup in src/sage/graphs/bliss.pyx ce62be2 Trac #34063: pycodestyle cleanup in src/sage/graphs/base/ a0eadb3 Trac #34059: Fix trivial case in conversion of list to number field element fea0ac5 Trac #34057: changes about avoiding double dieses 9eefd5c Trac #34145: modernize super in geometry/ 01e117d Trac #34137: modernize super in categories/ 6c79334 Trac #33819: build.yml: In workflow_dispatch, make container and base tag selectable; add doc 6a64ab8 Trac #33760: do not update _pos, _pos3d, _embedding on vertex/edge deletions dbf091d Trac #34139: fix the linter 625ac58 Updated SageMath version to 9.7.beta5 reviewer '' does not look right |
Reviewer: Antonio Rojas |
comment:15
I think this is all that was needed. |
comment:16
Thanks Steve, I did not receive an email for the change triggered by Volker. |
Dependencies: #34109 |
comment:17
Conflict with #34109 which touches exactly the same line in |
comment:19
Merged with #34109 which is positively reviewed and in the process of being merged - back to positive review. |
Changed branch from u/fbissey/sphinx5 to |
Sphinx 5 has been out for a bit and is now stable in Gentoo at least.
Identified issues
According to https://www.sphinx-doc.org/en/master/extdev/deprecated.html
sphinx.ext.autodoc.importer.get_module_members
was deprecated in sphinx 3.5 and removed in sphinx 5.0. As it happen, this is a useless import since the method is superseded by sage_autodoc's own.This can be fixed by a small syntax correction for extlinks in
sage.misc.sagedoc
by the truckload everywhere (not just structure) and repeatedly. Suggested replacement is
sphinx.ext.autodoc.directive.DocumenterBridge.record_dependencies
. But it doesn't prevent the documentation to build unlike the previous two.All changes in the branch should work with sphinx 4.4 and 4.5 as they concern things deprecated in sphinx 4.0 or earlier.
Depends on #34109
CC: @antonio-rojas @strogdon @collares
Component: documentation
Author: François Bissey
Branch/Commit:
6f9ceb7
Reviewer: Antonio Rojas
Issue created by migration from https://trac.sagemath.org/ticket/34149
The text was updated successfully, but these errors were encountered: