Skip to content

Commit dc34986

Browse files
committed
[conf] Try fix ci
1 parent f78aceb commit dc34986

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

conf.py

+9-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,19 @@
44
# list see the documentation:
55
# https://www.sphinx-doc.org/en/master/usage/configuration.html
66

7-
# -- Path setup --------------------------------------------------------------
8-
97
from __future__ import annotations
8+
import os
9+
import sys
1010
from datetime import datetime
1111
import yaml
1212

13+
# -- Path setup --------------------------------------------------------------
14+
# If extensions (or modules to document with autodoc) are in another directory,
15+
# add these directories to sys.path here. If the directory is relative to the
16+
# documentation root, use os.path.abspath to make it absolute, like shown here.
17+
sys.path.insert(0, os.path.abspath('.'))
18+
19+
1320
# -- Split configurations ----------------------------------------------------
1421

1522
from _conf.schemas import _schemas

0 commit comments

Comments
 (0)