Skip to content

Commit 590dcca

Browse files
committed
formatted
1 parent e558ec7 commit 590dcca

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

docs/source/conf.py

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@
1515
# Defined relative to configuration directory which is where this file conf.py lives
1616
sys.path.append(os.path.abspath("exts"))
1717

18-
# -------- Project information ----------------------------------------------------------
18+
# -------- Project information -------------------------------------------------------#
1919

2020
project = "Robotics Toolbox for Python"
21-
copyright = "2022, Jesse Haviland and Peter Corke"
21+
copyright = "2023, Jesse Haviland and Peter Corke"
2222
author = "Jesse Haviland and Peter Corke"
2323

2424
# Parse version number out of setup.py
2525
with open("../../setup.py", encoding="utf-8") as f:
2626
setup_py = f.read()
2727
m = re.search(r"version='([0-9\.]*)',", setup_py, re.MULTILINE)
2828

29-
# -------- General configuration --------------------------------------------------------
29+
# -------- General configuration -----------------------------------------------------#
3030

3131
# Add any Sphinx extension module names here, as strings. They can be
3232
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
@@ -74,7 +74,7 @@
7474
ANSITable._color = False
7575
"""
7676

77-
# -------- Options for HTML output ------------------------------------------------------
77+
# -------- Options for HTML output ---------------------------------------------------#
7878

7979
html_theme = "sphinx_rtd_theme"
8080

@@ -102,7 +102,7 @@
102102
]
103103
default_role = "py:obj"
104104

105-
# -------- Options for LaTeX/PDF output -------------------------------------------------
105+
# -------- Options for LaTeX/PDF output ----------------------------------------------#
106106

107107
latex_engine = "xelatex"
108108

@@ -114,7 +114,8 @@
114114
}
115115

116116
# Use RVC book notation for maths
117-
# see https://stackoverflow.com/questions/9728292/creating-latex-math-macros-within-sphinx
117+
# see
118+
# https://stackoverflow.com/questions/9728292/creating-latex-math-macros-within-sphinx
118119
mathjax3_config = {
119120
"tex": {
120121
"macros": {
@@ -151,7 +152,7 @@
151152
}
152153
}
153154

154-
# -------- Options InterSphinx ----------------------------------------------------------
155+
# -------- Options InterSphinx -------------------------------------------------------#
155156

156157
intersphinx_mapping = {
157158
"python": ("https://docs.python.org/3", None),
@@ -161,15 +162,15 @@
161162
}
162163

163164

164-
# -------- Options Napoleon -------------------------------------------------------------
165+
# -------- Options Napoleon ----------------------------------------------------------#
165166

166167
# Include special members (like __membername__) with docstrings in
167168
# the documentation
168169
napoleon_include_special_with_doc = True
169170

170171
napoleon_custom_sections = ["Synopsis"]
171172

172-
# -------- Options AutoSummary ----------------------------------------------------------
173+
# -------- Options AutoSummary -------------------------------------------------------#
173174

174175
# autodoc_default_flags = ["members"]
175176
autosummary_generate = True

0 commit comments

Comments
 (0)