Debian Codegraph @

debian/patches/sphinx-autodoc-preserve-defaults.patch

raw
1 From: James Addison <[email protected]>
2 Date: Mon, Feb 26 2024 19:25:09 +0000
3 Subject: enable Sphinx autodoc preservation of method-argument defaults
4 .
5 This avoids build environment information such as timing information from
6 inadvertently leaking into the packaged documentation.
7 Bug-Debian: http://bugs.debian.org/1064858
8 diff --git a/docs/conf.py b/docs/conf.py
9 index 7a9c7d7..03a655b 100644
10 --- a/docs/conf.py
11 +++ b/docs/conf.py
12 @@ -228,3 +228,5 @@ html_extra_path = ["robots.txt"]
13 # dtype, target = line.split(None, 1)
14 # target = target.strip()
15 # nitpick_ignore.append((dtype, six.u(target)))
16 +
17 +autodoc_preserve_defaults = True # http://bugs.debian.org/1064858