Debian Codegraph @

debian/patches/disable-autoapi.patch

raw
1 Description: Disable Sphinx autoapi documentation.
2 Various Sphinx-related packages are out-of-date in Debian, and that has
3 started to cause problems. I have pinned the dependencies in pyproject.toml
4 to match what's available in Debian. However, the most recent python3-astroid
5 package in Debian unstable is now 3.x, and that version breaks autoapi document
6 generation with the older Sphinx packages. The simplest thing for now is to
7 just disable the autoapi docs. These days, the user-facing documentation is
8 more important than the developer documentation.
9 Author: Kenneth J. Pronovici <[email protected]>
10 Index: cedar-backup3/docs/conf.py
11 ===================================================================
12 --- cedar-backup3.orig/docs/conf.py
13 +++ cedar-backup3/docs/conf.py
14 @@ -53,7 +53,6 @@ print("Version....: %s" % VERSION)
15 extensions = [
16 "sphinx.ext.todo",
17 "sphinx.ext.napoleon",
18 - "autoapi.extension",
19 ]
20
21 # Napoleon settings for docstrings