i18n: update translations for v3.4
[git-cola.git] / share / doc / git-cola / conf.py
blob78213011a546d27d522e91930c1b1e271755b44e
1 # -*- coding: utf-8 -*-
2 import os
3 import sys
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',
13 'sphinx.ext.doctest',
14 'sphinx.ext.todo',
15 'sphinx.ext.coverage',
16 'sphinxtogithub']
18 templates_path = ['_templates']
19 source_suffix = '.rst'
20 source_encoding = 'utf-8'
21 master_doc = 'index'
23 project = 'git-cola'
24 copyright = '2007-2017, David Aguilar and contributors'
25 authors = 'David Aguilar and contributors'
27 versionfile = os.path.join(srcdir, 'cola', '_version.py')
28 scope = {}
29 with open(versionfile) as f:
30 exec(f.read(), scope)
32 # The short X.Y version.
33 version = scope['VERSION']
34 # The full version, including alpha/beta/rc tags.
35 release = version
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'
46 man_pages = [
47 ('git-cola', 'git-cola', 'The highly caffeinated Git GUI',
48 authors, '1'),
49 ('git-dag', 'git-dag', 'The sleek and powerful Git history browser',
50 authors, '1'),
53 latex_documents = [
54 ('index', 'git-cola.tex', 'git-cola Documentation',
55 'David Aguilar and contributors', 'manual'),