1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
From: James Addison <jay@jp-hosting.net>
Date: Sun, Mar 10 2024 23:50:38 +0000
Subject: enable Sphinx autodoc preservation of method-argument defaults
.
This avoids build host information such as CPU core count from inadvertently
leaking into the packaged documentation.
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066014
---
diff --git a/docs/source/conf.py b/docs/source/conf.py
index aae8edf..39b5e71 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -260,3 +260,4 @@ intersphinx_mapping = {
# 'pyina': ('https://pyina.readthedocs.io/en/latest/', None),
}
+autodoc_preserve_defaults = True # http://bugs.debian.org/1066014
|