void-packages/srcpkgs/python3-pytest/patches/man-remove-sphinx-deps.patch

21 lines
650 B
Diff

Avoid adding four new packages that aren't necessary for the manual page.
--- a/doc/en/conf.py
+++ b/doc/en/conf.py
@@ -65,16 +65,12 @@
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [
- "pallets_sphinx_themes",
- "pygments_pytest",
"sphinx.ext.autodoc",
"sphinx.ext.autosummary",
"sphinx.ext.extlinks",
"sphinx.ext.intersphinx",
"sphinx.ext.todo",
"sphinx.ext.viewcode",
- "sphinx_removed_in",
- "sphinxcontrib_trio",
]
# Building PDF docs on readthedocs requires inkscape for svg to pdf