]> git.cworth.org Git - notmuch/blobdiff - doc/conf.py
doc: mark `--output=summary` as default
[notmuch] / doc / conf.py
index 11896b500cddde7cb4a0dcfb7f785658c711c287..e23cb7d7fb444964cb341269771629713f8c2d2e 100644 (file)
@@ -3,8 +3,10 @@
 
 import sys
 import os
+from pathlib import Path
+sys.path.append(str(Path(__file__).parent))
 
-extensions = [ 'sphinx.ext.autodoc' ]
+extensions = [ 'sphinx.ext.autodoc', 'elisp' ]
 
 # The suffix of source filenames.
 source_suffix = '.rst'
@@ -222,12 +224,3 @@ def setup(app):
                         indextemplate='pair: configuration item; %s',
                         ref_nodeclass=docutils.nodes.generated,
                         objname='config item' )
-    app.add_object_type('emacsvar','emacsvar',
-                        indextemplate='pair: Emacs variable; %s',
-                        ref_nodeclass=docutils.nodes.generated,
-                        objname='Emacs variable')
-    app.add_object_type('emacscmd','emacscmd',
-                        indextemplate='pair: Emacs command; %s',
-                        ref_nodeclass=docutils.nodes.generated,
-                        objname='Emacs command')
-