/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: 2019-03-04 00:16:27 UTC
  • mfrom: (7293 work)
  • mto: This revision was merged to the branch mainline in revision 7318.
  • Revision ID: jelmer@jelmer.uk-20190304001627-v6u7o6pf97tukhek
Merge trunk.

Show diffs side-by-side

added added

removed removed

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