blob: ddb1d4544788bf9eba9e78cd969045cd5b82d639 [file] [log] [blame]
DavidPurcell663aedf2017-01-03 10:01:14 -05001# -*- coding: utf-8 -*-
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6# http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
11# implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15import os
16import sys
17
18sys.path.insert(0, os.path.abspath('../..'))
19# -- General configuration ----------------------------------------------------
20
21# Add any Sphinx extension module names here, as strings. They can be
22# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
23extensions = [
24 'sphinx.ext.autodoc',
25 #'sphinx.ext.intersphinx',
Van Hung Pham34193e32017-06-28 14:51:11 +070026 'openstackdocstheme'
DavidPurcell663aedf2017-01-03 10:01:14 -050027]
28
29# autodoc generation is a bit aggressive and a nuisance when doing heavy
30# text edit cycles.
31# execute "export SPHINX_DEBUG=1" in your terminal to disable
32
33# The suffix of source filenames.
34source_suffix = '.rst'
35
36# The master toctree document.
37master_doc = 'index'
38
39# General information about the project.
40project = u'patrole'
raiesmh08a6348e12017-02-07 00:24:59 +053041copyright = u'2017, Patrole Developers'
DavidPurcell663aedf2017-01-03 10:01:14 -050042
43# If true, '()' will be appended to :func: etc. cross-reference text.
44add_function_parentheses = True
45
46# If true, the current module name will be prepended to all description
47# unit titles (such as .. function::).
48add_module_names = True
49
50# The name of the Pygments (syntax highlighting) style to use.
51pygments_style = 'sphinx'
52
53# -- Options for HTML output --------------------------------------------------
54
55# The theme to use for HTML and HTML Help pages. Major themes that come with
56# Sphinx are currently 'default' and 'sphinxdoc'.
57# html_theme_path = ["."]
DavidPurcell663aedf2017-01-03 10:01:14 -050058# html_static_path = ['static']
Van Hung Pham34193e32017-06-28 14:51:11 +070059html_theme = 'openstackdocs'
60
61# openstackdocstheme options
62repository_name = 'openstack/patrole'
63bug_project = 'patrole'
64bug_tag = ''
65
66# Must set this variable to include year, month, day, hours, and minutes.
67html_last_updated_fmt = '%Y-%m-%d %H:%M'
DavidPurcell663aedf2017-01-03 10:01:14 -050068
69# Output file base name for HTML help builder.
70htmlhelp_basename = '%sdoc' % project
71
72# Grouping the document tree into LaTeX files. List of tuples
73# (source start file, target name, title, author, documentclass
74# [howto/manual]).
75latex_documents = [
76 ('index',
77 '%s.tex' % project,
78 u'%s Documentation' % project,
raiesmh08a6348e12017-02-07 00:24:59 +053079 u'Patrole Developers', 'manual'),
DavidPurcell663aedf2017-01-03 10:01:14 -050080]
81
82# Example configuration for intersphinx: refer to the Python standard library.
83#intersphinx_mapping = {'http://docs.python.org/': None}