summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py
index c78990a..4b2f3d4 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -17,8 +17,8 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import os
-import sys
import subprocess
+import sys
sys.path.insert(0, os.path.abspath(".."))
@@ -355,6 +355,12 @@ texinfo_documents = [
intersphinx_mapping = {"https://docs.python.org/": None}
+# autodoc include __init__
+autodoc_default_options = {
+ "special-members": "__init__",
+}
+
+
# Automate building apidoc when building with readthedocs
apidoc_module_dir = os.path.join("..", "pymemcache")
apidoc_output_dir = "apidoc"