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