Fix template argument order in build_gallery calls
This commit is contained in:
+1
-1
@@ -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
@@ -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 {}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user