2 # -*- coding: utf-8 -*-
7 # The suffix of source filenames.
10 # The master toctree document.
13 # General information about the project.
15 copyright = u'2014, Carl Worth and many others'
17 location = os.path.dirname(__file__)
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','')
25 # The full version, including alpha/beta/rc tags.
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']
32 # The name of the Pygments (syntax highlighting) style to use.
33 pygments_style = 'sphinx'
35 # -- Options for HTML output ----------------------------------------------
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'
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".
47 # Output file base name for HTML help builder.
48 htmlhelp_basename = 'notmuchdoc'
50 # -- Options for manual page output ---------------------------------------
52 # One entry per manual page. List of tuples
53 # (source start file, name, description, authors, manual section).
57 ('man1/notmuch','notmuch',
58 u'thread-based email index, search, and tagging',
59 [u'Carl Worth and many others'], 1),
61 ('man1/notmuch-address','notmuch-address',
62 u'output addresses from matching messages',
63 [u'Carl Worth and many others'], 1),
65 ('man1/notmuch-compact','notmuch-compact',
66 u'compact the notmuch database',
67 [u'Carl Worth and many others'], 1),
69 ('man1/notmuch-config','notmuch-config',
70 u'access notmuch configuration file',
71 [u'Carl Worth and many others'], 1),
73 ('man1/notmuch-count','notmuch-count',
74 u'count messages matching the given search terms',
75 [u'Carl Worth and many others'], 1),
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),
81 ('man5/notmuch-hooks','notmuch-hooks',
83 [u'Carl Worth and many others'], 5),
85 ('man1/notmuch-insert','notmuch-insert',
86 u'add a message to the maildir and notmuch database',
87 [u'Carl Worth and many others'], 1),
89 ('man1/notmuch-new','notmuch-new',
90 u'incorporate new mail into the notmuch database',
91 [u'Carl Worth and many others'], 1),
93 ('man1/notmuch-reply','notmuch-reply',
94 u'constructs a reply template for a set of messages',
95 [u'Carl Worth and many others'], 1),
97 ('man1/notmuch-restore','notmuch-restore',
98 u'restores the tags from the given file (see notmuch dump)',
99 [u'Carl Worth and many others'], 1),
101 ('man1/notmuch-search','notmuch-search',
102 u'search for messages matching the given search terms',
103 [u'Carl Worth and many others'], 1),
105 ('man7/notmuch-search-terms','notmuch-search-terms',
106 u'syntax for notmuch queries',
107 [u'Carl Worth and many others'], 7),
109 ('man1/notmuch-show','notmuch-show',
110 u'show messages matching the given search terms',
111 [u'Carl Worth and many others'], 1),
113 ('man1/notmuch-tag','notmuch-tag',
114 u'add/remove tags for all messages matching the search terms',
115 [u'Carl Worth and many others'], 1),
119 # If true, show URL addresses after external links.
120 #man_show_urls = False
122 # -- Options for Texinfo output -------------------------------------------
124 # Grouping the document tree into Texinfo files. List of tuples
125 # (source start file, target name, title, author,
126 # dir menu entry, description, category)
127 # If true, do not generate a @detailmenu in the "Top" node's menu.
128 texinfo_no_detailmenu = True
130 texinfo_documents = [
131 ('notmuch-emacs', 'notmuch-emacs', u'notmuch Documentation',
132 u'Carl Worth and many others', 'notmuch-emacs',
133 'emacs based front-end for notmuch', 'Miscellaneous'),
134 ('man1/notmuch','notmuch',u'notmuch Documentation',
135 u'Carl Worth and many others', 'notmuch',
136 'thread-based email index, search, and tagging','Miscellaneous'),
137 ('man1/notmuch-address','notmuch-address',u'notmuch Documentation',
138 u'Carl Worth and many others', 'notmuch-address',
139 'output addresses from matching messages','Miscellaneous'),
140 ('man1/notmuch-compact','notmuch-compact',u'notmuch Documentation',
141 u'Carl Worth and many others', 'notmuch-compact',
142 'compact the notmuch database','Miscellaneous'),
143 ('man1/notmuch-config','notmuch-config',u'notmuch Documentation',
144 u'Carl Worth and many others', 'notmuch-config',
145 'access notmuch configuration file','Miscellaneous'),
146 ('man1/notmuch-count','notmuch-count',u'notmuch Documentation',
147 u'Carl Worth and many others', 'notmuch-count',
148 'count messages matching the given search terms','Miscellaneous'),
149 ('man1/notmuch-dump','notmuch-dump',u'notmuch Documentation',
150 u'Carl Worth and many others', 'notmuch-dump',
151 'creates a plain-text dump of the tags of each message','Miscellaneous'),
152 ('man5/notmuch-hooks','notmuch-hooks',u'notmuch Documentation',
153 u'Carl Worth and many others', 'notmuch-hooks',
154 'hooks for notmuch','Miscellaneous'),
155 ('man1/notmuch-insert','notmuch-insert',u'notmuch Documentation',
156 u'Carl Worth and many others', 'notmuch-insert',
157 'add a message to the maildir and notmuch database','Miscellaneous'),
158 ('man1/notmuch-new','notmuch-new',u'notmuch Documentation',
159 u'Carl Worth and many others', 'notmuch-new',
160 'incorporate new mail into the notmuch database','Miscellaneous'),
161 ('man1/notmuch-reply','notmuch-reply',u'notmuch Documentation',
162 u'Carl Worth and many others', 'notmuch-reply',
163 'constructs a reply template for a set of messages','Miscellaneous'),
164 ('man1/notmuch-restore','notmuch-restore',u'notmuch Documentation',
165 u'Carl Worth and many others', 'notmuch-restore',
166 'restores the tags from the given file (see notmuch dump)','Miscellaneous'),
167 ('man1/notmuch-search','notmuch-search',u'notmuch Documentation',
168 u'Carl Worth and many others', 'notmuch-search',
169 'search for messages matching the given search terms','Miscellaneous'),
170 ('man7/notmuch-search-terms','notmuch-search-terms',u'notmuch Documentation',
171 u'Carl Worth and many others', 'notmuch-search-terms',
172 'syntax for notmuch queries','Miscellaneous'),
173 ('man1/notmuch-show','notmuch-show',u'notmuch Documentation',
174 u'Carl Worth and many others', 'notmuch-show',
175 'show messages matching the given search terms','Miscellaneous'),
176 ('man1/notmuch-tag','notmuch-tag',u'notmuch Documentation',
177 u'Carl Worth and many others', 'notmuch-tag',
178 'add/remove tags for all messages matching the search terms','Miscellaneous'),