41 lines
1.1 KiB
Python
41 lines
1.1 KiB
Python
# Configuration file for the Sphinx documentation builder.
|
|
#
|
|
# For the full list of built-in configuration values, see the documentation:
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html
|
|
|
|
# -- Project information -----------------------------------------------------
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
|
|
|
|
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('\'')]
|
|
release = _src
|
|
|
|
# -- General configuration ---------------------------------------------------
|
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
|
|
|
extensions = [
|
|
'sphinx.ext.autodoc',
|
|
]
|
|
|
|
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_static_path = ['_static']
|
|
|
|
|
|
import sys
|
|
import os.path
|
|
|
|
sys.path.insert(0, os.path.abspath('../..'))
|