mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-07-17 16:21:07 +00:00
build: fix import paths for rtd
This commit is contained in:
@@ -10,6 +10,9 @@ build:
|
||||
python:
|
||||
install:
|
||||
- requirements: docs/requirements.txt
|
||||
- path: ahriman-core
|
||||
- path: ahriman-triggers
|
||||
- path: ahriman-web
|
||||
|
||||
formats:
|
||||
- pdf
|
||||
|
||||
@@ -11,14 +11,6 @@
|
||||
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
||||
#
|
||||
import datetime
|
||||
import sys
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
# support package imports
|
||||
basedir = Path(__file__).resolve().parent.parent / "src"
|
||||
sys.path.insert(0, str(basedir))
|
||||
|
||||
|
||||
# -- Project information -----------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user