/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/doc_generate/conf.py

  • Committer: Jelmer Vernooij
  • Date: 2017-07-23 22:06:41 UTC
  • mfrom: (6738 trunk)
  • mto: This revision was merged to the branch mainline in revision 6739.
  • Revision ID: jelmer@jelmer.uk-20170723220641-69eczax9bmv8d6kk
Merge trunk, address review comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
# All configuration values have a default; values that are commented out
7
7
# serve to show the default.
8
8
 
 
9
from __future__ import absolute_import
 
10
 
9
11
# FIXME: better move the content of doc/en/conf.py here and cleanup the result
10
12
# -- vila 20100428
11
13
 
12
14
# If extensions (or modules to document with autodoc) are in another directory,
13
15
# add these directories to sys.path here. If the directory is relative to the
14
16
# documentation root, use os.path.abspath to make it absolute, like shown here.
15
 
# sys.path.append(os.path.abspath('.'))
 
17
#sys.path.append(os.path.abspath('.'))
16
18
 
17
19
 
18
20
# -- General configuration -----------------------------------------------------
19
21
 
20
22
# Add any Sphinx extension module names here, as strings. They can be extensions
21
23
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
22
 
extensions = [
23
 
    'sphinx.ext.ifconfig',
24
 
    'sphinx.ext.autodoc',
25
 
    'sphinx.ext.intersphinx',
26
 
    'sphinx_epytext',
27
 
    # 'sphinxcontrib.napoleon', # TODO: for Google docstrings
28
 
    ]
 
24
extensions = ['sphinx.ext.ifconfig',]
29
25
 
30
26
# Add any paths that contain templates here, relative to this directory.
31
27
templates_path = ['_templates']
41
37
 
42
38
# General information about the project.
43
39
project = u'Breezy'
44
 
copyright = u'2009-2011 Canonical Ltd, 2017-2018 Breezy Developers'
 
40
copyright = u'2009-2011 Canonical Ltd'
45
41
 
46
42
# The version info for the project you're documenting, acts as replacement for
47
43
# |version| and |release|, also used in various other places throughout the
95
91
 
96
92
# The theme to use for HTML and HTML Help pages.  Major themes that come with
97
93
# Sphinx are currently 'default' and 'sphinxdoc'.
98
 
html_theme = 'agogo'
 
94
html_theme = 'default'
99
95
 
100
96
# Theme options are theme-specific and customize the look and feel of a theme
101
97
# further.  For a list of options available for each theme, see the
104
100
    # Unfortunately, the right sidebar breaks under IE6 and maybe IE7.
105
101
    # So we stick with the default left placement to cater for users stuck
106
102
    # on those browsers.
107
 
    # 'rightsidebar': True,
 
103
    #'rightsidebar': True,
108
104
 
109
105
    # Non-document areas: header (relbar), footer, sidebar, etc.
110
106
    # Some useful colours here:
111
107
    # * blue: darkblue, mediumblue, darkslateblue, cornflowerblue, royalblue,
112
108
    #   midnightblue
113
109
    # * gray: dimgray, slategray, lightslategray
114
 
    #'sidebarbgcolor': "cornflowerblue",
115
 
    #'sidebarlinkcolor': "midnightblue",
116
 
    #'relbarbgcolor': "darkblue",
117
 
    #'footerbgcolor': "lightslategray",
 
110
    'sidebarbgcolor':   "cornflowerblue",
 
111
    'sidebarlinkcolor': "midnightblue",
 
112
    'relbarbgcolor':    "darkblue",
 
113
    'footerbgcolor':    "lightslategray",
118
114
 
119
115
    # Text, heading and code colouring
120
 
    #'codebgcolor': "lightyellow",
121
 
    #'codetextcolor': "firebrick",
122
 
    #'linkcolor': "mediumblue",
 
116
    'codebgcolor':      "lightyellow",
 
117
    'codetextcolor':    "firebrick",
 
118
    'linkcolor':        "mediumblue",
123
119
    }
124
120
 
125
121
# Add any paths that contain custom themes here, relative to this directory.
220
216
 
221
217
# Authors of the documents
222
218
brz_team = u'Breezy Developers'
223
 
 
224
 
intersphinx_mapping = {
225
 
    'python': ('https://docs.python.org/3', None),
226
 
    'testtools': ('https://testtools.readthedocs.io/en/latest', None),
227
 
    'configobj': ('https://configobj.readthedocs.io/en/latest', None),
228
 
    'dulwich': ('https://dulwich.readthedocs.io/en/latest', None),
229
 
}