]> git.cworth.org Git - notmuch/blobdiff - doc/conf.py
doc: copy elisp.py from flycheck, make available
[notmuch] / doc / conf.py
index 11896b500cddde7cb4a0dcfb7f785658c711c287..503255b5bb16e894699f17885146d13bf1d58b26 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'