Fix documents renderings, except for the missing changelog in the Seafile forum render

This commit is contained in:
flow.gunso
2024-05-26 20:00:49 +00:00
committed by Florian Anceau
parent 5230067d82
commit 772b8ca89d
3 changed files with 5 additions and 2 deletions

View File

@@ -44,6 +44,7 @@ for line in buffer:
versions.append(blocks)
# Render
# TODO: read and adapt the CHANGELOG and insert into the render.
content = template.render(versions=versions)
#content = template.render() # When version/ is unavailable.
filename = Path(args.template).with_suffix("")