Skip to content

docs: use moderncmakedomain, Sphinx 4#574

Merged
henryiii merged 3 commits intoscikit-build:masterfrom
henryiii:henryiii/docs/cmake
Aug 9, 2021
Merged

docs: use moderncmakedomain, Sphinx 4#574
henryiii merged 3 commits intoscikit-build:masterfrom
henryiii:henryiii/docs/cmake

Conversation

@henryiii
Copy link
Copy Markdown
Contributor

@henryiii henryiii commented Aug 5, 2021

This enables the use of Sphinx 4. The copy of docs/cmake.py from CMake has been replaced with sphinxcontrib-moderncmakedomain, which is a port of that file to PyPI, and is much more up-to-date (from CMake 3.19, whereas our copy was much other and didn't support Sphinx 4). Really, it seems like something like that could be maintained as part of scikit-build; curious to know @slurps-mad-rips's opinion on that. We use sphinxcontrib-moderncmakedomain in pybind11.

This also pins docutils, as docutils 0.17 is not compatible with sphinx-rtd-theme currently. I'd really like to move away from the rtd theme for this and other reasons.

Requested in #573.

Loading
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