X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=doc%2Fconf.py;h=5f8c9f1c8752d21e7dc28e8e890e5808c84a92ba;hb=73cebe6e7233f59ba26d9f7c05265b7776795818;hp=efbafc93d1caff40bb8932588575a692100c96f3;hpb=045f0e455ac94e2393d0d729c9bbdf3459a4860f;p=notmuch diff --git a/doc/conf.py b/doc/conf.py index efbafc93..5f8c9f1c 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -12,7 +12,7 @@ master_doc = 'index' # General information about the project. project = u'notmuch' -copyright = u'2009-2018, Carl Worth and many others' +copyright = u'2009-2019, Carl Worth and many others' location = os.path.dirname(__file__) @@ -29,6 +29,11 @@ release = version # directories to ignore when looking for source files. exclude_patterns = ['_build'] +# If we don't have emacs, don't build the notmuch-emacs docs, as they need +# emacs to generate the docstring include files +if os.environ.get('HAVE_EMACS') != '1': + exclude_patterns.append('notmuch-emacs.rst') + # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx'