From fd59ba24e403ad4c32bd6411d9e23f50dab13987 Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Thu, 12 Jan 2023 20:11:14 -0500 Subject: Modern sphinx autodoc settings --- sites/docs/conf.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sites/docs') diff --git a/sites/docs/conf.py b/sites/docs/conf.py index 4805a03c..79958e6d 100644 --- a/sites/docs/conf.py +++ b/sites/docs/conf.py @@ -10,7 +10,10 @@ from shared_conf import * extensions.extend(["sphinx.ext.autodoc"]) # Autodoc settings -autodoc_default_flags = ["members", "special-members"] +autodoc_default_options = { + "members": True, + "special-members": True, +} # Default is 'local' building, but reference the public www site when building # under RTD. -- cgit v1.2.3