Fix documents renderings, except for the missing changelog in the Seafile forum render
This commit is contained in:
committed by
Florian Anceau
parent
5230067d82
commit
772b8ca89d
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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("")
|
||||
|
||||
Reference in New Issue
Block a user