formatting

This commit is contained in:
AF 2023-10-02 16:55:33 +00:00
parent 3ffd0adc21
commit 0551c0bb0b

View File

@ -9,34 +9,34 @@
import os.path
import sys
project = 'ptvp35'
copyright = '2022, PARRRATE TNV'
author = 'PARRRATE TNV'
with open('../../setup.py') as f:
project = "ptvp35"
copyright = "2022, PARRRATE TNV"
author = "PARRRATE TNV"
with open("../../setup.py") as f:
_src = f.read()
_src = _src[_src.index('version=\"') + 9:]
_src = _src[:_src.index('\"')]
_src = _src[_src.index('version="') + 9 :]
_src = _src[: _src.index('"')]
release = _src
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = [
'sphinx.ext.autodoc',
"sphinx.ext.autodoc",
]
templates_path = ['_templates']
templates_path = ["_templates"]
exclude_patterns = []
# -- 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 = {
"navbar_center": [],
}
html_static_path = ['_static']
html_static_path = ["_static"]
sys.path.insert(0, os.path.abspath('../..'))
sys.path.insert(0, os.path.abspath("../.."))