Skip to content

Commit 1085d93

Browse files
Fix typo in generate_gallery.py
1 parent 886ba77 commit 1085d93

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/generate_gallery.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121

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

24-
DOC_SRC = Path(__file__).resolve().parent
24+
# DOC_SRC = Path(__file__).resolve().parent
25+
#
2526
# DEFAULT_IMG_LOC = os.path.join(os.path.dirname(DOC_SRC), "_static", "PyMC.png")
2627

2728
DEFAULT_IMG_LOC = None
@@ -157,7 +158,7 @@ def main(app):
157158
for descr in external_nbs[folder]
158159
]
159160

160-
nb_paths = sorted(Path("gallery", "folder").glob("*.ipynb"))
161+
nb_paths = sorted(Path("gallery", folder).glob("*.ipynb"))
161162

162163
for nb_path in nb_paths:
163164
nbg = NotebookGenerator(

0 commit comments

Comments
 (0)