From 6f58cb6b9e9a74290e71dc2ec40480306f87c1ea Mon Sep 17 00:00:00 2001 From: Dnomd343 Date: Mon, 27 Mar 2023 21:49:53 +0800 Subject: [PATCH] update: download links style of static html --- src/release/utils/release.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/release/utils/release.py b/src/release/utils/release.py index 81b30db..1a6ab79 100644 --- a/src/release/utils/release.py +++ b/src/release/utils/release.py @@ -61,10 +61,10 @@ def staticDepends(workDir: str, metadata: dict, content: dict) -> None: cover = '---\ndescription: %s\n---\n\n' % onlineDesc cover += gitbookMetadata(metadata) + '
\n' + cover += '\n{% hint style="none" %}\n' for (resName, resUrls) in resourceInfo.items(): - cover += '\n{% hint style="none" %}\n' \ - + '#### [%s](%s)([备用地址](%s))\n' % (resName, resUrls[1], resUrls[0]) \ - + '{% endhint %}\n' + cover += '##### [%s](%s)([备用地址](%s))\n' % (resName, resUrls[1], resUrls[0]) + cover += '{% endhint %}\n' bookInfo = json.dumps({ 'title': metadata['name'],