Fix template argument order in build_gallery calls

This commit is contained in:
Kylian Schmidt
2026-04-23 12:56:59 +02:00
parent e044b4ce60
commit a30149e5da
3 changed files with 2 additions and 6 deletions
+1 -1
View File
@@ -188,9 +188,9 @@ def generate(
# Directory of plots
build_gallery(
config,
template,
source_path,
source_web_dir,
template,
Path(source.name)
)
else:
+1 -1
View File
@@ -115,9 +115,9 @@ def build_gallery(
subdir_relative = relative_path / subdir.name
build_gallery(
config,
template,
subdir,
subdir_web,
template,
subdir_relative,
current_metadata if config.inherit_from_parent else {}
)