unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob 29379d03bc407a0b10537bd9f1f65d0b0f40cfe6 2152 bytes (raw)
name: devel/nmbug/doc/conf.py 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
 
# -*- coding: utf-8 -*-

import os.path

# The suffix of source filenames.
source_suffix = '.rst'

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = 'notmuch'
authors = 'Carl Worth and many others'
copyright = '2009-2015, {0}'.format(authors)

location = os.path.dirname(__file__)

dirname = location
while True:
    version_file = os.path.join(dirname, 'version')
    if os.path.exists(version_file):
        with open(version_file,'r') as f:
            version = f.read().strip()
            break
    if dirname == '/':
        raise ValueError(
            'no version file found in this directory or its ancestors')
    dirname = os.path.dirname(dirname)

# The full version, including alpha/beta/rc tags.
release = version

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ['_build']

# -- Options for manual page output ---------------------------------------

# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).

man_pages = [
    ('man1/notmuch-report.1', 'notmuch-report',
     'generate reports from notmuch queries', [authors], 1),
    ('man5/notmuch-report.json.5', 'notmuch-report.json',
     'configure notmuch-report', [authors], 5),
]

# If true, show URL addresses after external links.
#man_show_urls = False

# -- Options for Texinfo output -------------------------------------------

# Grouping the document tree into Texinfo files. List of tuples
# (source start file, target name, title, author,
#  dir menu entry, description, category)
# If true, do not generate a @detailmenu in the "Top" node's menu.
texinfo_no_detailmenu = True

texinfo_documents = [
    ('man1/notmuch-report.1', 'notmuch-report',
     'generate reports from notmuch queries', authors, 'notmuch-report',
     'generate reports from notmuch queries', 'Miscellaneous'),
    ('man5/notmuch-report.json.5', 'notmuch-report.json',
     'configure notmuch-report', authors, 'notmuch-report.json',
     'configure notmuch-report', 'Miscellaneous'),
]

debug log:

solving 29379d0 ...
found 29379d0 in https://yhetil.org/notmuch.git/

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).