-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
GH-35403: [Docs] Support sphinx 6 for building the docs #36296
GH-35403: [Docs] Support sphinx 6 for building the docs #36296
Conversation
I am not sure why is the installed Sphinx version on the CI still 5.3.0 ( So this change is currently not tested on the CI. |
Not sure why it doesn't automatically use sphinx 6, but we could also just force |
Just on the CI or in general requirements also? |
The docs/requirements.txt file has a comment that it should be kept in sync with conda_env_sphinx.txt, so in both places |
Oh forgot about that, sry. Will change 👍 |
The issue on the failing build is
but Sphinx deprecated |
Hmm, that should already have been removed in breathe a long time ago: breathe-doc/breathe#512 (released in breathe 4.17.0) |
OK, so we have an old version of breathe (4.15), this might be because more recent versions on conda-forge have an upper pin to sphinx: https://github.com/conda-forge/breathe-feedstock/blob/e22b71d442aa41ed3e7614eddb4d129c893bacab/recipe/meta.yaml#L28 |
@AlenkaF you can maybe open a PR on the conda feedstock to update the upper pin (eg to <7), since it seems breathe itself is now testing with sphinx 6 (breathe-doc/breathe@ef4e245), so that should be expected to work |
Sure will do! 👍 |
Here it is: conda-forge/breathe-feedstock#59 |
0f4e6a3
to
c41cbce
Compare
There is no issue with the docs build on the CI after the PR on conda-forge/breathe-feedstock got merged 👍 The version of Sphinx used on the CI is Note: in the last commit I have added a make option for MacOS related issues with editable libs. I am not sure if the approach is correct though. |
…java/building.rst
Conbench analyzed the 6 benchmark runs on commit There were no benchmark performance regressions. 🎉 The full Conbench report has more details. |
What changes are included in this PR?
Enable the docs to be built with sphinx 6.x.
requirements.txt
sphinxcontrib.jquery
to include jQuery which is used in the dropdown.Are these changes tested?
The Sphinx version update and the dropdown are tested locally.
Are there any user-facing changes?
No.