X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=doc%2Fconf.py;h=0b7b8af5967e8bef25c7f69b2db1614cbc8181c4;hb=0f3b196144e91cd80d321d896c0b4bf6e0c62249;hp=11896b500cddde7cb4a0dcfb7f785658c711c287;hpb=9b4aa9a3e6de1101f3c9443a4b5aabe404d8072e;p=notmuch diff --git a/doc/conf.py b/doc/conf.py index 11896b50..0b7b8af5 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -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' @@ -226,8 +228,3 @@ def setup(app): 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') -