1 # -*- coding: utf-8 -*-
5 # Add the cola source directory to sys.path
6 abspath
= os
.path
.abspath(os
.path
.realpath(__file__
))
7 docdir
= os
.path
.dirname(os
.path
.dirname(abspath
))
8 srcdir
= os
.path
.dirname(os
.path
.dirname(docdir
))
9 extrasdir
= os
.path
.join(srcdir
, 'extras')
10 sys
.path
.insert(1, extrasdir
)
12 extensions
= ['sphinx.ext.autodoc',
15 'sphinx.ext.coverage',
18 templates_path
= ['_templates']
19 source_suffix
= '.rst'
20 source_encoding
= 'utf-8'
24 copyright
= '2007-2017, David Aguilar and contributors'
25 authors
= 'David Aguilar and contributors'
27 versionfile
= os
.path
.join(srcdir
, 'cola', '_version.py')
29 with
open(versionfile
) as f
:
32 # The short X.Y version.
33 version
= scope
['VERSION']
34 # The full version, including alpha/beta/rc tags.
37 exclude_trees
= ['_build']
38 add_function_parentheses
= True
39 pygments_style
= 'default'
40 html_theme
= 'default'
41 html_theme_path
= ['_themes']
42 html_static_path
= ['_static']
43 html_show_sourcelink
= True
44 htmlhelp_basename
= 'git-cola-doc'
47 ('git-cola', 'git-cola', 'The highly caffeinated Git GUI',
49 ('git-dag', 'git-dag', 'The sleek and powerful Git history browser',
54 ('index', 'git-cola.tex', 'git-cola Documentation',
55 'David Aguilar and contributors', 'manual'),