Skip to content

Commit 5b87984

Browse files
Add end of file newline
1 parent 8af8784 commit 5b87984

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/conf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@
22
import inspect
33
import sys
44
import pytensor
5+
from pathlib import Path
56

6-
sys.path.insert(0, os.path.abspath(os.path.join("..", "scripts")))
7+
sys.path.insert(0, str(Path("..").resolve() / "scripts"))
78

89
# General configuration
910
# ---------------------
10-
11-
# Add any Sphinx extension module names here, as strings. They can be
12-
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
1311
extensions = [
1412
"sphinx.ext.autodoc",
1513
"sphinx.ext.todo",
@@ -19,6 +17,8 @@
1917
"sphinx.ext.mathjax",
2018
"sphinx_design",
2119
"sphinx.ext.intersphinx",
20+
"sphinx.ext.autosummary",
21+
"sphinx.ext.autosectionlabel",
2222
"ablog",
2323
"myst_nb",
2424
"generate_gallery",

0 commit comments

Comments
 (0)