formatting
This commit is contained in:
parent
3ffd0adc21
commit
0551c0bb0b
@ -9,34 +9,34 @@
|
|||||||
import os.path
|
import os.path
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
project = 'ptvp35'
|
project = "ptvp35"
|
||||||
copyright = '2022, PARRRATE TNV'
|
copyright = "2022, PARRRATE TNV"
|
||||||
author = 'PARRRATE TNV'
|
author = "PARRRATE TNV"
|
||||||
with open('../../setup.py') as f:
|
with open("../../setup.py") as f:
|
||||||
_src = f.read()
|
_src = f.read()
|
||||||
_src = _src[_src.index('version=\"') + 9:]
|
_src = _src[_src.index('version="') + 9 :]
|
||||||
_src = _src[:_src.index('\"')]
|
_src = _src[: _src.index('"')]
|
||||||
release = _src
|
release = _src
|
||||||
|
|
||||||
# -- General configuration ---------------------------------------------------
|
# -- General configuration ---------------------------------------------------
|
||||||
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
||||||
|
|
||||||
extensions = [
|
extensions = [
|
||||||
'sphinx.ext.autodoc',
|
"sphinx.ext.autodoc",
|
||||||
]
|
]
|
||||||
|
|
||||||
templates_path = ['_templates']
|
templates_path = ["_templates"]
|
||||||
exclude_patterns = []
|
exclude_patterns = []
|
||||||
|
|
||||||
|
|
||||||
# -- Options for HTML output -------------------------------------------------
|
# -- Options for HTML output -------------------------------------------------
|
||||||
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
|
||||||
|
|
||||||
html_theme = 'pydata_sphinx_theme'
|
html_theme = "pydata_sphinx_theme"
|
||||||
html_theme_options = {
|
html_theme_options = {
|
||||||
"navbar_center": [],
|
"navbar_center": [],
|
||||||
}
|
}
|
||||||
html_static_path = ['_static']
|
html_static_path = ["_static"]
|
||||||
|
|
||||||
|
|
||||||
sys.path.insert(0, os.path.abspath('../..'))
|
sys.path.insert(0, os.path.abspath("../.."))
|
||||||
|
Loading…
Reference in New Issue
Block a user