Skip to content

Commit 155d698

Browse files
Add default gallery image
1 parent 3e627f1 commit 155d698

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

doc/images/PyTensor.png

25.9 KB
Loading

scripts/generate_gallery.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,9 @@
2121

2222
logger = sphinx.util.logging.getLogger(__name__)
2323

24-
# DOC_SRC = Path(__file__).resolve().parent
25-
#
26-
# DEFAULT_IMG_LOC = os.path.join(os.path.dirname(DOC_SRC), "_static", "PyMC.png")
24+
DOC_SRC = Path(__file__).resolve().parent
25+
DEFAULT_IMG_LOC = DOC_SRC / "doc" / "images" / "PyTensor_logo.png"
2726

28-
DEFAULT_IMG_LOC = None
2927
external_nbs = {}
3028

3129
HEAD = """

0 commit comments

Comments
 (0)