From 0551c0bb0b58df92d79fa995bf2d8e7a81878fb5 Mon Sep 17 00:00:00 2001 From: timofey Date: Mon, 2 Oct 2023 16:55:33 +0000 Subject: [PATCH] formatting --- docs/source/conf.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 17933c3..107c7a7 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -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("../.."))