1 # -*- coding: utf-8 -*-
5 # The suffix of source filenames.
8 # The master toctree document.
11 # General information about the project.
13 authors = 'Carl Worth and many others'
14 copyright = '2009-2015, {0}'.format(authors)
16 location = os.path.dirname(__file__)
20 version_file = os.path.join(dirname, 'version')
21 if os.path.exists(version_file):
22 with open(version_file,'r') as f:
23 version = f.read().strip()
27 'no version file found in this directory or its ancestors')
28 dirname = os.path.dirname(dirname)
30 # The full version, including alpha/beta/rc tags.
33 # List of patterns, relative to source directory, that match files and
34 # directories to ignore when looking for source files.
35 exclude_patterns = ['_build']
37 # -- Options for manual page output ---------------------------------------
39 # One entry per manual page. List of tuples
40 # (source start file, name, description, authors, manual section).
43 ('man1/notmuch-report.1', 'notmuch-report',
44 'generate reports from notmuch queries', [authors], 1),
45 ('man5/notmuch-report.json.5', 'notmuch-report.json',
46 'configure notmuch-report', [authors], 5),
49 # If true, show URL addresses after external links.
50 #man_show_urls = False
52 # -- Options for Texinfo output -------------------------------------------
54 # Grouping the document tree into Texinfo files. List of tuples
55 # (source start file, target name, title, author,
56 # dir menu entry, description, category)
57 # If true, do not generate a @detailmenu in the "Top" node's menu.
58 texinfo_no_detailmenu = True
61 ('man1/notmuch-report.1', 'notmuch-report',
62 'generate reports from notmuch queries', authors, 'notmuch-report',
63 'generate reports from notmuch queries', 'Miscellaneous'),
64 ('man5/notmuch-report.json.5', 'notmuch-report.json',
65 'configure notmuch-report', authors, 'notmuch-report.json',
66 'configure notmuch-report', 'Miscellaneous'),