From: David Bremner Date: Sun, 22 Aug 2021 03:51:08 +0000 (-0700) Subject: doc: read notmuch-tree.rsti for rst_epilog X-Git-Tag: archive/debian/0.33_rc0-1~3 X-Git-Url: https://git.cworth.org/git?p=notmuch;a=commitdiff_plain;h=d9072d9eb39d24a77b0a8ee569517d8faa3efacd doc: read notmuch-tree.rsti for rst_epilog This is needed so that docstrings from notmuch-tree.el (in particular notmuch-tree-toggle-order) can be used in the emacs documentation. --- diff --git a/doc/conf.py b/doc/conf.py index 4a4a3421..3ec55a61 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -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