Skip to content

Commit

Permalink
Insert repo root dir into path.
Browse files Browse the repository at this point in the history
  • Loading branch information
zuckerruebe committed Jan 29, 2024
1 parent 6548ade commit e55755c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

import pathlib as pl
import sys

_REPO_ROOT_DIR_PATH_STRING = str(pl.Path(__file__).parents[1])
if _REPO_ROOT_DIR_PATH_STRING not in sys.path:
sys.path.insert(0, _REPO_ROOT_DIR_PATH_STRING)

project = "pytrnsys_process"
copyright = "2024, SPF Institute of Solar Technology, OST University of Applied Sciences"
author = "SPF Institute of Solar Technology, OST University of Applied Sciences"
Expand Down

0 comments on commit e55755c

Please sign in to comment.