From 8c9300cb9afc98be50111d10608fe5a4f10a905c Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Sun, 17 Sep 2023 19:45:18 +0200 Subject: ref: Use newer apkdoc cli params --- build.yml | 6 +- docs/bamboo.min.css | 369 ----------------------------------- docs/index.html | 551 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 554 insertions(+), 372 deletions(-) delete mode 100644 docs/bamboo.min.css create mode 100644 docs/index.html diff --git a/build.yml b/build.yml index 4326a8f..8754b9e 100644 --- a/build.yml +++ b/build.yml @@ -8,7 +8,7 @@ packages: - openssl - rsync - alpine-sdk - - pandoc + - minify - apkdoc environment: remote: builds@gabrielgio.me @@ -33,7 +33,7 @@ tasks: - doc: | cd apkbuilds sshopts="ssh -o StrictHostKeyChecking=no" - apkdoc -url "https://artifacts.gabrielgio.me/repo/v3.18/x86_64/APKINDEX.tar.gz" - pandoc -s --include-in-header=docs/bamboo.min.css -s index.md --metadata title="Gabriel's apk repo" -o index.html + apkdoc -u "https://artifacts.gabrielgio.me/repo/v3.18/x86_64/APKINDEX.tar.gz" -f docs/index.html -o index.html + minify -o index.html index.html rsync --rsh="$sshopts" -rP index.html $remote:/var/www/apkdoc.gabrielgio.me/ diff --git a/docs/bamboo.min.css b/docs/bamboo.min.css deleted file mode 100644 index 1baa6d7..0000000 --- a/docs/bamboo.min.css +++ /dev/null @@ -1,369 +0,0 @@ - diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..7663e98 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,551 @@ + + + + + + + + Gabriel's apk repo + + + + +
+

Gabriel's apk repo

+
+

Apks Alpine 3.18

+{{ range $e := . }} +

{{ $e.Name }}

+ {{ range $name, $value := ($e.Properties) }} + {{ if eq $name "commit" }} +
  • commit: 0b58e2bbe81290d43b0fa75d7d515d4155f4f139-dirty
  • + {{ else if eq $name "url" }} +
  • url: {{ $value }}
  • + {{ else }} +
  • {{$name}}: {{ $value }}
  • + {{ end }} + {{ end }} +{{ end }} + + -- cgit v1.2.3