moderncmakedomain produces Sphinx 4 warnings on recent Sphinx 3
When running https://github.com/scikit-build/moderncmakedomain, I see the following warnings about sphinx 4:
Running Sphinx v3.3.1
/opt/hostedtoolcache/Python/3.10.0/x64/lib/python3.10/site-packages/sphinxcontrib/moderncmakedomain/__init__.py:3: RemovedInSphinx40Warning: The alias 'sphinx.util.pycompat.htmlescape' is deprecated, use 'html.escape' instead. Check CHANGES for Sphinx API modifications.
from .cmake import setup
/opt/hostedtoolcache/Python/3.10.0/x64/lib/python3.10/site-packages/sphinxcontrib/moderncmakedomain/__init__.py:3: RemovedInSphinx40Warning: The alias 'sphinx.builders.qthelp.QtHelpBuilder' is deprecated, use 'sphinxcontrib.qthelp.QtHelpBuilder' instead. Check CHANGES for Sphinx API modifications.
from .cmake import setup
These should be pretty easy fixes, I think? I've set up easier syncing between scikit-build/moderncmakedomain and upstream in https://github.com/scikit-build/moderncmakedomain/pull/3.