Update docs around development
[pyutils.git] / docs / conf.py
index babac9d3e8689ba0c5a230c095fe1af9419aa428..182d5a3cc8814529ee5a8ad7ed06ddecbae50c4d 100644 (file)
@@ -55,6 +55,9 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
 # 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,
@@ -64,12 +67,15 @@ html_static_path = ['_static']
 
 # Don't skip __init__()!
 def skip(app, what, name, obj, would_skip, options):
-    if name == "__init__":
-        return False
-    if name == "__repr__":
-        return False
     return would_skip
 
 
 def setup(app):
     app.connect("autodoc-skip-member", skip)
+
+
+doctest_global_setup = '''
+import pyutils
+'''
+
+autoclass_content = 'both'