-
Notifications
You must be signed in to change notification settings - Fork 1
/
conf.py
125 lines (105 loc) · 2.78 KB
/
conf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
import sys
import os
import bsp_docs_sphinx_theme
# -- General configuration ------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
needs_sphinx = '1.5.2'
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx.ext.intersphinx',
'sphinx.ext.todo',
'sphinxprettysearchresults',
'rst2pdf.pdfbuilder',
'recommonmark'
]
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
source_suffix = ['.rst']
master_doc = 'index'
project = u'Gyro'
copyright = u'2020, Brightspot'
author = u'Perfect Sense'
release = u'1.2.0'
language = None
exclude_patterns = [
'_build',
'Thumbs.db',
'.DS_Store',
'node_modules',
'requirements.txt',
'training',
'inbox',
'demo',
'html'
]
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
html_theme = 'sphinx_rtd_theme'
html_theme_options = {
'collapse_navigation': True,
#'display_version': False,
'navigation_depth': 3,
'logo_only': True
}
#html_context = {
# "display_github": True,
# "github_user": "perfectsense", # Username
# "github_repo": "gyro", # Repo name
# "github_version": "master", # Version
# "conf_py_path": "/docs/", # Path in the checkout to the docs root
#}
html_theme_path = [bsp_docs_sphinx_theme.get_html_theme_path()]
html_static_path = ['_static']
html_favicon = 'images/gyro-icon.png'
html_logo = 'images/gyro-small-white.png'
html_css_files = [
'css/gyro.css',
]
html_js_files = [
'js/gyro.js',
]
rst_prolog = """
.. include:: /substitutions.tsr
"""
html_show_sourcelink = False
html_show_sphinx = False
todo_include_todos = False
pdf_documents = [
('guides/gyro-user-guide',
u'GyroUserGuide',
u'Gyro User Guide',
),
('guides/writing-a-provider',
u'GyroWritingAProvider',
u'Gyro - Writing a Provider',
)
]
# A comma-separated list of custom stylesheets. Example:
pdf_stylesheets = ['letter','main','opensans']
# A list of folders to search for stylesheets. Example:
pdf_style_path = ['.', '_styles']
#pdf_compressed = False
pdf_font_path = ['fonts']
pdf_language = "en_US"
#pdf_fit_mode = "shrink"
pdf_break_level = 1
pdf_breakside = 'any'
#pdf_inline_footnotes = True
pdf_verbosity = 0
pdf_use_index = True
#pdf_use_modindex = True
pdf_use_coverpage = True
pdf_cover_template = 'custom.tmpl'
#pdf_appendices = []
#pdf_splittables = False
#pdf_default_dpi = 72
#pdf_extensions = ['vectorpdf']
#pdf_page_template = 'cutePage'
#pdf_use_toc = True
pdf_toc_depth = 3
pdf_use_numbered_links = True
pdf_fit_background_mode = 'scale'