diff --git a/.gitignore b/.gitignore index c59bf1d1..6eac2458 100644 --- a/.gitignore +++ b/.gitignore @@ -30,7 +30,7 @@ doc/pySVModel/**/*.* # BuildTheDocs doc/_theme/**/*.* -# IntelliJ project files +# PyCharm project files /.idea/workspace.xml # Git files diff --git a/doc/conf.py b/doc/conf.py index 0b60a156..3ab6da63 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -7,6 +7,17 @@ from pyTooling.Packaging import extractVersionInformation +# ============================================================================== +# Project configuration +# ============================================================================== +githubNamespace = "edaa-org" +project = "pySVModel" +directoryName = project.replace('.', '/') + + +# ============================================================================== +# Project paths +# ============================================================================== ROOT = Path(__file__).resolve().parent sys_path.insert(0, abspath(".")) @@ -20,10 +31,7 @@ # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. -githubNamespace = "edaa-org" -project = "pySVModel" - -packageInformationFile = Path(f"../{project.replace('.', '/')}/__init__.py") +packageInformationFile = Path(f"../{directoryName}/__init__.py") versionInformation = extractVersionInformation(packageInformationFile) author = versionInformation.Author diff --git a/doc/requirements.txt b/doc/requirements.txt index 2d35335e..bfb8bf1d 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -15,5 +15,3 @@ sphinx_design ~= 0.6.1 sphinx-copybutton >= 0.5.2 sphinx_autodoc_typehints ~= 2.5 sphinx_reports ~= 0.7 - -# BuildTheDocs Extensions (mostly patched Sphinx extensions) diff --git a/pySVModel/__init__.py b/pySVModel/__init__.py index 17da83a1..ec5bdde7 100644 --- a/pySVModel/__init__.py +++ b/pySVModel/__init__.py @@ -52,7 +52,7 @@ __email__ = "Paebbels@gmail.com" __copyright__ = "2021-2024, Patrick Lehmann" __license__ = "Apache License, Version 2.0" -__version__ = "0.5.1" +__version__ = "0.5.2" @export