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

@@ -2,7 +2,7 @@
[![][badge-image-size]][url-docker]
[![][badge-pulls]][url-docker]
[![][badge-release]][url-sources]
![][badge-license]
[![][badge-license]][url-sources]
[![][badge-sponsoring]][url-sponsoring]
[url-pipelines]: https://gitlab.com/flwgns-docker/seafile-client/-/pipelines

View File

@@ -1,7 +1,9 @@
# Supported tags
The versions match Seafile versions.
{% for version in versions %}
[{{ version | join(", ")}}][Dockerfile]
{% endfor %}
[Dockerfile]: https://gitlab.com/flwgns-docker/seafile-client/-/blob/master/Dockerfile
[Dockerfile]: https://gitlab.com/flwgns-docker/seafile-client/-/blob/master/seafile-client/Dockerfile

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("")