projects
/
pyutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More work to improve the quality of sphinx autodocs.
[pyutils.git]
/
docs
/
conf.py
diff --git
a/docs/conf.py
b/docs/conf.py
index 7b5287fbe7947a9098cb833fc1455054e619f131..90fa6a7fabbacae59d2a85a2742bcd8130b1b59c 100644
(file)
--- a/
docs/conf.py
+++ b/
docs/conf.py
@@
-60,3
+60,17
@@
html_theme = 'sphinx_rtd_theme'
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
+
+
+# Don't skip __init__()!
+def skip(app, what, name, obj, would_skip, options):
+ if name == "__repr__":
+ return False
+ return would_skip
+
+
+def setup(app):
+ app.connect("autodoc-skip-member", skip)
+
+
+autoclass_content = 'both'