]> git.notmuchmail.org Git - notmuch/commitdiff
doc: read notmuch-tree.rsti for rst_epilog
authorDavid Bremner <david@tethera.net>
Sun, 22 Aug 2021 03:51:08 +0000 (20:51 -0700)
committerDavid Bremner <david@tethera.net>
Sun, 22 Aug 2021 14:12:22 +0000 (07:12 -0700)
This is needed so that docstrings from notmuch-tree.el (in particular
notmuch-tree-toggle-order) can be used in the emacs documentation.

doc/conf.py

index 4a4a34212cc3cb816ae7de88e1ce84271dc1fd4a..3ec55a61c6ac5fb8c0678261f6b0d12b522ae92e 100644 (file)
@@ -45,7 +45,7 @@ if tags.has('WITH_EMACS'):
     # Hacky reimplementation of include to workaround limitations of
     # sphinx-doc
     lines = ['.. include:: /../emacs/rstdoc.rsti\n\n'] # in the source tree
-    for file in ('notmuch.rsti', 'notmuch-lib.rsti', 'notmuch-show.rsti', 'notmuch-tag.rsti'):
+    for file in ('notmuch.rsti', 'notmuch-lib.rsti', 'notmuch-show.rsti', 'notmuch-tag.rsti', 'notmuch-tree.rsti'):
         lines.extend(open(rsti_dir+'/'+file))
     rst_epilog = ''.join(lines)
     del lines