projects
/
pyutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Hacky code to sort the colors on the sphinx webpage. :P
[pyutils.git]
/
docs
/
conf.py
diff --git
a/docs/conf.py
b/docs/conf.py
index 7b5287fbe7947a9098cb833fc1455054e619f131..b619fa0183d5596e92d5a5155eb551c5e4a282d0 100644
(file)
--- a/
docs/conf.py
+++ b/
docs/conf.py
@@
-55,8
+55,23
@@
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
# a list of builtin themes.
#
html_theme = 'sphinx_rtd_theme'
# a list of builtin themes.
#
html_theme = 'sphinx_rtd_theme'
+html_theme_options = {
+ 'navigation_depth': 5,
+}
# Add any paths that contain custom static files (such as style sheets) here,
# 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']
# Add any paths that contain custom static files (such as style sheets) here,
# 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):
+ return would_skip
+
+
+def setup(app):
+ app.connect("autodoc-skip-member", skip)
+
+
+autoclass_content = 'both'