diff --git a/doc/images/PyTensor.png b/doc/images/PyTensor.png new file mode 100644 index 0000000000..e6097693af Binary files /dev/null and b/doc/images/PyTensor.png differ diff --git a/scripts/generate_gallery.py b/scripts/generate_gallery.py index 0a36d4e755..254a89f67e 100644 --- a/scripts/generate_gallery.py +++ b/scripts/generate_gallery.py @@ -21,11 +21,9 @@ logger = sphinx.util.logging.getLogger(__name__) -# DOC_SRC = Path(__file__).resolve().parent -# -# DEFAULT_IMG_LOC = os.path.join(os.path.dirname(DOC_SRC), "_static", "PyMC.png") +DOC_SRC = Path(__file__).resolve().parent +DEFAULT_IMG_LOC = DOC_SRC / "doc" / "images" / "PyTensor_logo.png" -DEFAULT_IMG_LOC = None external_nbs = {} HEAD = """