diff --git a/recipes/recipe_publish_html.py b/recipes/recipe_publish_html.py index 82cc734..7e1f78f 100644 --- a/recipes/recipe_publish_html.py +++ b/recipes/recipe_publish_html.py @@ -62,5 +62,10 @@ def publish_html(utdate, config_file="recipe.config"): template = env.get_template('index.html') sources = make_html(utdate, dirname) + from libs.json_helper import json_dump + json_dump(dict(utdate=utdate, + sources=sources), + open(os.path.join(dirname, "summary.json"), "w")) + s = template.render(utdate=utdate, sources=sources) open(os.path.join(dirname, "index.html"), "w").write(s)