]> git.notmuchmail.org Git - notmuch/blob - doc/conf.py
doc/conf.py: add notmuch-emacs-mua to texinfo documents
[notmuch] / doc / conf.py
1
2 # -*- coding: utf-8 -*-
3
4 import sys
5 import os
6
7 # The suffix of source filenames.
8 source_suffix = '.rst'
9
10 # The master toctree document.
11 master_doc = 'index'
12
13 # General information about the project.
14 project = u'notmuch'
15 copyright = u'2009-2016, Carl Worth and many others'
16
17 location = os.path.dirname(__file__)
18
19 for pathdir in ['.', '..']:
20     version_file = os.path.join(location,pathdir,'version')
21     if os.path.exists(version_file):
22         with open(version_file,'r') as infile:
23             version=infile.read().replace('\n','')
24
25 # The full version, including alpha/beta/rc tags.
26 release = version
27
28 # List of patterns, relative to source directory, that match files and
29 # directories to ignore when looking for source files.
30 exclude_patterns = ['_build']
31
32 # The name of the Pygments (syntax highlighting) style to use.
33 pygments_style = 'sphinx'
34
35 # -- Options for HTML output ----------------------------------------------
36
37 # The theme to use for HTML and HTML Help pages.  See the documentation for
38 # a list of builtin themes.
39 html_theme = 'default'
40
41
42 # Add any paths that contain custom static files (such as style sheets) here,
43 # relative to this directory. They are copied after the builtin static files,
44 # so a file named "default.css" will overwrite the builtin "default.css".
45 html_static_path = []
46
47 # Output file base name for HTML help builder.
48 htmlhelp_basename = 'notmuchdoc'
49
50 # -- Options for manual page output ---------------------------------------
51
52 # One entry per manual page. List of tuples
53 # (source start file, name, description, authors, manual section).
54
55 man_pages = [
56
57 ('man1/notmuch','notmuch',
58         u'thread-based email index, search, and tagging',
59         [u'Carl Worth and many others'], 1),
60
61 ('man1/notmuch-address','notmuch-address',
62         u'output addresses from matching messages',
63         [u'Carl Worth and many others'], 1),
64
65 ('man1/notmuch-compact','notmuch-compact',
66         u'compact the notmuch database',
67         [u'Carl Worth and many others'], 1),
68
69 ('man1/notmuch-config','notmuch-config',
70         u'access notmuch configuration file',
71         [u'Carl Worth and many others'], 1),
72
73 ('man1/notmuch-count','notmuch-count',
74         u'count messages matching the given search terms',
75         [u'Carl Worth and many others'], 1),
76
77 ('man1/notmuch-dump','notmuch-dump',
78         u'creates a plain-text dump of the tags of each message',
79         [u'Carl Worth and many others'], 1),
80
81 ('man1/notmuch-emacs-mua','notmuch-emacs-mua',
82         u'send mail with notmuch and emacs',
83         [u'Carl Worth and many others'], 1),
84
85 ('man5/notmuch-hooks','notmuch-hooks',
86         u'hooks for notmuch',
87         [u'Carl Worth and many others'], 5),
88
89 ('man1/notmuch-insert','notmuch-insert',
90         u'add a message to the maildir and notmuch database',
91         [u'Carl Worth and many others'], 1),
92
93 ('man1/notmuch-new','notmuch-new',
94         u'incorporate new mail into the notmuch database',
95         [u'Carl Worth and many others'], 1),
96
97 ('man1/notmuch-reply','notmuch-reply',
98         u'constructs a reply template for a set of messages',
99         [u'Carl Worth and many others'], 1),
100
101 ('man1/notmuch-restore','notmuch-restore',
102         u'restores the tags from the given file (see notmuch dump)',
103         [u'Carl Worth and many others'], 1),
104
105 ('man1/notmuch-search','notmuch-search',
106         u'search for messages matching the given search terms',
107         [u'Carl Worth and many others'], 1),
108
109 ('man7/notmuch-search-terms','notmuch-search-terms',
110         u'syntax for notmuch queries',
111         [u'Carl Worth and many others'], 7),
112
113 ('man1/notmuch-show','notmuch-show',
114         u'show messages matching the given search terms',
115         [u'Carl Worth and many others'], 1),
116
117 ('man1/notmuch-tag','notmuch-tag',
118         u'add/remove tags for all messages matching the search terms',
119         [u'Carl Worth and many others'], 1),
120
121
122 ]
123 # If true, show URL addresses after external links.
124 #man_show_urls = False
125
126 # -- Options for Texinfo output -------------------------------------------
127
128 # Grouping the document tree into Texinfo files. List of tuples
129 # (source start file, target name, title, author,
130 #  dir menu entry, description, category)
131 # If true, do not generate a @detailmenu in the "Top" node's menu.
132 texinfo_no_detailmenu = True
133
134 texinfo_documents = [
135  ('notmuch-emacs', 'notmuch-emacs', u'notmuch Documentation',
136    u'Carl Worth and many others', 'notmuch-emacs',
137    'emacs based front-end for notmuch', 'Miscellaneous'),
138 ('man1/notmuch','notmuch',u'notmuch Documentation',
139       u'Carl Worth and many others', 'notmuch',
140       'thread-based email index, search, and tagging','Miscellaneous'),
141 ('man1/notmuch-address','notmuch-address',u'notmuch Documentation',
142       u'Carl Worth and many others', 'notmuch-address',
143       'output addresses from matching messages','Miscellaneous'),
144 ('man1/notmuch-compact','notmuch-compact',u'notmuch Documentation',
145       u'Carl Worth and many others', 'notmuch-compact',
146       'compact the notmuch database','Miscellaneous'),
147 ('man1/notmuch-config','notmuch-config',u'notmuch Documentation',
148       u'Carl Worth and many others', 'notmuch-config',
149       'access notmuch configuration file','Miscellaneous'),
150 ('man1/notmuch-count','notmuch-count',u'notmuch Documentation',
151       u'Carl Worth and many others', 'notmuch-count',
152       'count messages matching the given search terms','Miscellaneous'),
153 ('man1/notmuch-dump','notmuch-dump',u'notmuch Documentation',
154       u'Carl Worth and many others', 'notmuch-dump',
155       'creates a plain-text dump of the tags of each message','Miscellaneous'),
156 ('man1/notmuch-emacs-mua','notmuch-emacs-mua',u'notmuch Documentation',
157       u'Carl Worth and many others', 'notmuch-emacs-mua',
158       u'send mail with notmuch and emacs','Miscellaneous'),
159 ('man5/notmuch-hooks','notmuch-hooks',u'notmuch Documentation',
160       u'Carl Worth and many others', 'notmuch-hooks',
161       'hooks for notmuch','Miscellaneous'),
162 ('man1/notmuch-insert','notmuch-insert',u'notmuch Documentation',
163       u'Carl Worth and many others', 'notmuch-insert',
164       'add a message to the maildir and notmuch database','Miscellaneous'),
165 ('man1/notmuch-new','notmuch-new',u'notmuch Documentation',
166       u'Carl Worth and many others', 'notmuch-new',
167       'incorporate new mail into the notmuch database','Miscellaneous'),
168 ('man1/notmuch-reply','notmuch-reply',u'notmuch Documentation',
169       u'Carl Worth and many others', 'notmuch-reply',
170       'constructs a reply template for a set of messages','Miscellaneous'),
171 ('man1/notmuch-restore','notmuch-restore',u'notmuch Documentation',
172       u'Carl Worth and many others', 'notmuch-restore',
173       'restores the tags from the given file (see notmuch dump)','Miscellaneous'),
174 ('man1/notmuch-search','notmuch-search',u'notmuch Documentation',
175       u'Carl Worth and many others', 'notmuch-search',
176       'search for messages matching the given search terms','Miscellaneous'),
177 ('man7/notmuch-search-terms','notmuch-search-terms',u'notmuch Documentation',
178       u'Carl Worth and many others', 'notmuch-search-terms',
179       'syntax for notmuch queries','Miscellaneous'),
180 ('man1/notmuch-show','notmuch-show',u'notmuch Documentation',
181       u'Carl Worth and many others', 'notmuch-show',
182       'show messages matching the given search terms','Miscellaneous'),
183 ('man1/notmuch-tag','notmuch-tag',u'notmuch Documentation',
184       u'Carl Worth and many others', 'notmuch-tag',
185       'add/remove tags for all messages matching the search terms','Miscellaneous'),
186 ]