diff --git a/.readthedocs.yml b/.readthedocs.yml index b3423e0..7582d17 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -3,8 +3,12 @@ version: 2 sphinx: configuration: docs/conf.py +build: + os: ubuntu-22.04 + tools: + python: "3.9" + python: - version: 3.7 install: - method: pip path: . diff --git a/docs/conf.py b/docs/conf.py index 23e0441..29724fd 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -8,9 +8,10 @@ # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. # -# import os -# import sys -# sys.path.insert(0, os.path.abspath('.')) +import os +import sys + +sys.path.insert(0, os.path.abspath("..")) import datetime from pathlib import Path