File: disable-autoapi.patch

package info (click to toggle)
cedar-backup3 3.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,172 kB
  • sloc: python: 69,622; sh: 594; makefile: 148
file content (21 lines) | stat: -rw-r--r-- 976 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Disable Sphinx autoapi documentation.
 Various Sphinx-related packages are out-of-date in Debian, and that has
 started to cause problems.  I have pinned the dependencies in pyproject.toml
 to match what's available in Debian.  However, the most recent python3-astroid
 package in Debian unstable is now 3.x, and that version breaks autoapi document
 generation with the older Sphinx packages.  The simplest thing for now is to
 just disable the autoapi docs. These days, the user-facing documentation is
 more important than the developer documentation.
Author: Kenneth J. Pronovici <pronovic@debian.org>
Index: cedar-backup3/docs/conf.py
===================================================================
--- cedar-backup3.orig/docs/conf.py
+++ cedar-backup3/docs/conf.py
@@ -53,7 +53,6 @@ print("Version....: %s" % VERSION)
 extensions = [
     "sphinx.ext.todo",
     "sphinx.ext.napoleon",
-    "autoapi.extension",
 ]
 
 # Napoleon settings for docstrings