@@ -362,7 +362,7 @@ def update_or_create_item(
362362 # Copy source directories to target directories, if target already has the directory, archive previous version
363363 item_yaml = yaml .full_load (open (item_dir / "item.yaml" , "r" ))
364364 source_version = item_yaml ["version" ]
365- relative_path = "../../"
365+ relative_path = "../../../ "
366366
367367 marketplace_item = marketplace_dir / item_dir .stem
368368 target_latest = marketplace_item / "latest"
@@ -469,13 +469,13 @@ def update_or_create_item(
469469 with open (asset_yaml_path , "r" ) as f :
470470 source_code = f .read ()
471471 render_jinja (
472- templates / "python .html" ,
473- latest_static / "source .html" ,
472+ templates / "yaml .html" ,
473+ latest_static / f" { asset_name } .html" ,
474474 {"source_code" : source_code },
475475 )
476476 render_jinja (
477- templates / "python .html" ,
478- version_static / "source .html" ,
477+ templates / "yaml .html" ,
478+ version_static / f" { asset_name } .html" ,
479479 {"source_code" : source_code },
480480 )
481481 ASSETS [asset_name ] = f"src/{ asset_name } .yaml"
0 commit comments