Skip to content

Commit ba9d71c

Browse files
committed
Fix docs conf
1 parent 18b89ae commit ba9d71c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# pylint: disable=W,C,R
1414
import os
1515
import sys
16-
from pathlib import Path
1716

17+
from pathlib import Path
1818
from sphinx.ext.apidoc import main
1919

2020
try:
@@ -24,7 +24,7 @@
2424

2525
# -- Variable setup --------------------------------------------------------------
2626

27-
ROOT_DIR = Path(__file__).parent.parent.parent.parent.parent.parent
27+
ROOT_DIR = Path(__file__).parent.parent.parent
2828
CURR_DIR = f"{ROOT_DIR}/docs/source"
2929
PYPROJECT_CONFIG = toml.load(f"{ROOT_DIR}/pyproject.toml")
3030
TOOL_CONFIG = PYPROJECT_CONFIG["tool"]["poetry"]

0 commit comments

Comments
 (0)