1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
From: James Addison <jay@jp-hosting.net>
Date: Sun, 10 Mar 2024 23:59:09 +0000
Subject: enable Sphinx autodoc preservation of method-argument defaults .
This avoids build-time variation such as object memory addresses from
inadvertently leaking into the packaged documentation.
Bug-Debian: https://bugs.debian.org/1066016
---
docs/conf.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/docs/conf.py b/docs/conf.py
index 3a6f45e..4c818cb 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -262,6 +262,8 @@ html_experimental_html5_writer = True
needs_sphinx = "4.1.2"
+autodoc_preserve_defaults = True # http://bugs.debian.org/1066016
+
suppress_warnings = [
# This is here to prevent:
# "WARNING: more than one target found for cross-reference"
|