Repository navigation
Expand file tree
/
Copy pathconf.py
More file actions
125 lines (96 loc) · 3.29 KB
/
Copy pathconf.py
File metadata and controls
125 lines (96 loc) · 3.29 KB
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
# -*- coding: utf-8 -*-
#
# EasyFleet documentation build configuration file.
#
# This file is execfile()d with the current directory set to its
# containing dir.
import os
import sys
import time
sys.path.insert(0, os.path.abspath('.'))
# -- General configuration ------------------------------------------------
extensions = [
'sphinx.ext.extlinks',
'sphinx.ext.graphviz',
]
graphviz_output_format = 'png'
graphviz_dot_args = [
'-Nfontname="verdana"',
'-Gfontname="verdana"',
'-Efontname="verdana"']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
# The suffix(es) of source filenames.
source_suffix = '.rst'
# The master toctree document.
master_doc = 'index'
# General information about the project.
project = u'EasyFleet'
author = u'Intelligent Robotics Lab, Universidad Rey Juan Carlos'
copyright = f'{time.strftime("%Y")}, {author}'
version = release = "1.0.0"
language = 'en'
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ['_build', '_themes', 'scripts']
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = False
# -- Options for HTML output ----------------------------------------------
try:
import sphinx_rtd_theme
except ImportError:
html_theme = 'alabaster'
html_sidebars = {
'**': [
'relations.html',
'searchbox.html',
]
}
sys.stderr.write('Warning: sphinx_rtd_theme missing. Use pip to install it.\n')
else:
html_theme = "sphinx_rtd_theme"
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
html_theme_options = {
'canonical_url': '',
'analytics_id': '',
'logo_only': False,
'display_version': True,
'prev_next_buttons_location': 'None',
'style_nav_header_background': 'orange',
# Toc options
'collapse_navigation': False,
'sticky_navigation': True,
'navigation_depth': 4,
}
html_theme_path = ['_themes']
html_theme = 'otc_tcs_sphinx_theme'
# Here's where we (manually) list the document versions maintained on
# the published doc website. On a daily basis we publish to the
# /latest folder but when releases are made, we publish to a /<relnum>
# folder (specified via RELEASE=name on the make command).
if tags.has('release'):
current_version = version
else:
version = current_version = "latest"
html_context = {
'current_version': current_version,
'versions': ( ("latest", "/latest/"),
)
}
html_logo = 'images/easyfleet_logo.png'
html_favicon = 'images/favicon.png'
numfig = True
numfig_format = {'figure': 'Figure %s', 'table': 'Table %s', 'code-block': 'Code Block %s'}
# If true, "Created using Sphinx" is shown in the HTML footer.
html_show_sphinx = False
# If true, links to the reST sources are added to the pages.
html_show_sourcelink = False
html_last_updated_fmt = None
# -- Options for HTMLHelp output ------------------------------------------
rst_epilog = """
.. include:: /substitutions.txt
"""
extlinks = {'projectfile':
('https://github.com/EasyNavigation/EasyFleet/blob/rolling/%s', 'filepath ')}