Re-render archives on file changes.

This commit is contained in:
Sergio Martínez Portela 2023-10-03 00:08:39 +02:00
parent c588187ae3
commit 600e737767

View File

@ -578,6 +578,7 @@ def main(source_top, dest_top):
with open(doc_full_path + '/index.html', 'wt') as f: with open(doc_full_path + '/index.html', 'wt') as f:
try: try:
render_article(doc, front_matter, f, out_path) render_article(doc, front_matter, f, out_path)
render_archive(docs, dest_top)
except: except:
logging.error(traceback.format_exc()) logging.error(traceback.format_exc())
logging.error("Rendering failed 😿") logging.error("Rendering failed 😿")