1
|
|
|
#!/usr/bin/env python3 |
2
|
|
|
# -*- coding: utf-8 -*- |
3
|
|
|
# |
4
|
|
|
# Starbot documentation build configuration file, created by |
5
|
|
|
# sphinx-quickstart on Fri Mar 31 00:14:27 2017. |
6
|
|
|
# |
7
|
|
|
# This file is execfile()d with the current directory set to its |
8
|
|
|
# containing dir. |
9
|
|
|
# |
10
|
|
|
# Note that not all possible configuration values are present in this |
11
|
|
|
# autogenerated file. |
12
|
|
|
# |
13
|
|
|
# All configuration values have a default; values that are commented out |
14
|
|
|
# serve to show the default. |
15
|
|
|
|
16
|
|
|
# If extensions (or modules to document with autodoc) are in another directory, |
17
|
|
|
# add these directories to sys.path here. If the directory is relative to the |
18
|
|
|
# documentation root, use os.path.abspath to make it absolute, like shown here. |
19
|
|
|
# |
20
|
|
|
# import os |
21
|
|
|
# import sys |
22
|
|
|
# sys.path.insert(0, os.path.abspath('.')) |
23
|
|
|
|
24
|
|
|
import sphinx_rtd_theme |
25
|
|
|
|
26
|
|
|
html_theme = "sphinx_rtd_theme" |
27
|
|
|
|
28
|
|
|
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] |
29
|
|
|
|
30
|
|
|
# -- General configuration ------------------------------------------------ |
31
|
|
|
|
32
|
|
|
# If your documentation needs a minimal Sphinx version, state it here. |
33
|
|
|
# |
34
|
|
|
# needs_sphinx = '1.0' |
35
|
|
|
|
36
|
|
|
# Add any Sphinx extension module names here, as strings. They can be |
37
|
|
|
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
38
|
|
|
# ones. |
39
|
|
|
extensions = ['sphinx.ext.autodoc', |
40
|
|
|
'sphinx.ext.todo', |
41
|
|
|
'sphinx.ext.coverage', |
42
|
|
|
'sphinx.ext.viewcode', |
43
|
|
|
'sphinx.ext.githubpages'] |
44
|
|
|
|
45
|
|
|
# Add any paths that contain templates here, relative to this directory. |
46
|
|
|
templates_path = ['_templates'] |
47
|
|
|
|
48
|
|
|
# The suffix(es) of source filenames. |
49
|
|
|
# You can specify multiple suffix as a list of string: |
50
|
|
|
# |
51
|
|
|
# source_suffix = ['.rst', '.md'] |
52
|
|
|
source_suffix = '.rst' |
53
|
|
|
|
54
|
|
|
# The master toctree document. |
55
|
|
|
master_doc = 'index' |
56
|
|
|
|
57
|
|
|
# General information about the project. |
58
|
|
|
project = 'Starbot' |
59
|
|
|
copyright = '2017, Sydney Erickson and CorpNewt' |
60
|
|
|
author = 'Sydney Erickson and CorpNewt' |
61
|
|
|
|
62
|
|
|
# The version info for the project you're documenting, acts as replacement for |
63
|
|
|
# |version| and |release|, also used in various other places throughout the |
64
|
|
|
# built documents. |
65
|
|
|
# |
66
|
|
|
# The short X.Y version. |
67
|
|
|
version = '0.1.1' |
68
|
|
|
# The full version, including alpha/beta/rc tags. |
69
|
|
|
release = '0.1.1' |
70
|
|
|
|
71
|
|
|
# The language for content autogenerated by Sphinx. Refer to documentation |
72
|
|
|
# for a list of supported languages. |
73
|
|
|
# |
74
|
|
|
# This is also used if you do content translation via gettext catalogs. |
75
|
|
|
# Usually you set "language" from the command line for these cases. |
76
|
|
|
language = None |
77
|
|
|
|
78
|
|
|
# List of patterns, relative to source directory, that match files and |
79
|
|
|
# directories to ignore when looking for source files. |
80
|
|
|
# This patterns also effect to html_static_path and html_extra_path |
81
|
|
|
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] |
82
|
|
|
|
83
|
|
|
# The name of the Pygments (syntax highlighting) style to use. |
84
|
|
|
pygments_style = 'sphinx' |
85
|
|
|
|
86
|
|
|
# If true, `todo` and `todoList` produce output, else they produce nothing. |
87
|
|
|
todo_include_todos = True |
88
|
|
|
|
89
|
|
|
|
90
|
|
|
# -- Options for HTML output ---------------------------------------------- |
91
|
|
|
|
92
|
|
|
# The theme to use for HTML and HTML Help pages. See the documentation for |
93
|
|
|
# a list of builtin themes. |
94
|
|
|
# |
95
|
|
|
html_theme = 'alabaster' |
96
|
|
|
|
97
|
|
|
# Theme options are theme-specific and customize the look and feel of a theme |
98
|
|
|
# further. For a list of options available for each theme, see the |
99
|
|
|
# documentation. |
100
|
|
|
# |
101
|
|
|
# html_theme_options = {} |
102
|
|
|
|
103
|
|
|
# Add any paths that contain custom static files (such as style sheets) here, |
104
|
|
|
# relative to this directory. They are copied after the builtin static files, |
105
|
|
|
# so a file named "default.css" will overwrite the builtin "default.css". |
106
|
|
|
html_static_path = ['_static'] |
107
|
|
|
|
108
|
|
|
|
109
|
|
|
# -- Options for HTMLHelp output ------------------------------------------ |
110
|
|
|
|
111
|
|
|
# Output file base name for HTML help builder. |
112
|
|
|
htmlhelp_basename = 'Starbotdoc' |
113
|
|
|
|
114
|
|
|
|
115
|
|
|
# -- Options for LaTeX output --------------------------------------------- |
116
|
|
|
|
117
|
|
|
latex_elements = { |
118
|
|
|
# The paper size ('letterpaper' or 'a4paper'). |
119
|
|
|
# |
120
|
|
|
# 'papersize': 'letterpaper', |
121
|
|
|
|
122
|
|
|
# The font size ('10pt', '11pt' or '12pt'). |
123
|
|
|
# |
124
|
|
|
# 'pointsize': '10pt', |
125
|
|
|
|
126
|
|
|
# Additional stuff for the LaTeX preamble. |
127
|
|
|
# |
128
|
|
|
# 'preamble': '', |
129
|
|
|
|
130
|
|
|
# Latex figure (float) alignment |
131
|
|
|
# |
132
|
|
|
# 'figure_align': 'htbp', |
133
|
|
|
} |
134
|
|
|
|
135
|
|
|
# Grouping the document tree into LaTeX files. List of tuples |
136
|
|
|
# (source start file, target name, title, |
137
|
|
|
# author, documentclass [howto, manual, or own class]). |
138
|
|
|
latex_documents = [ |
139
|
|
|
(master_doc, 'Starbot.tex', 'Starbot Documentation', |
140
|
|
|
'Sydney Erickson and CorpNewt', 'manual'), |
141
|
|
|
] |
142
|
|
|
|
143
|
|
|
|
144
|
|
|
# -- Options for manual page output --------------------------------------- |
145
|
|
|
|
146
|
|
|
# One entry per manual page. List of tuples |
147
|
|
|
# (source start file, name, description, authors, manual section). |
148
|
|
|
man_pages = [ |
149
|
|
|
(master_doc, 'starbot', 'Starbot Documentation', |
150
|
|
|
[author], 1) |
151
|
|
|
] |
152
|
|
|
|
153
|
|
|
|
154
|
|
|
# -- Options for Texinfo output ------------------------------------------- |
155
|
|
|
|
156
|
|
|
# Grouping the document tree into Texinfo files. List of tuples |
157
|
|
|
# (source start file, target name, title, author, |
158
|
|
|
# dir menu entry, description, category) |
159
|
|
|
texinfo_documents = [ |
160
|
|
|
(master_doc, 'Starbot', 'Starbot Documentation', |
161
|
|
|
author, 'Starbot', 'One line description of project.', |
162
|
|
|
'Miscellaneous'), |
163
|
|
|
] |
164
|
|
|
|
165
|
|
|
|
166
|
|
|
|
167
|
|
|
|