From 608735a4bd0811fe2a76365409238c2aad5958a9 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 26 Jan 2024 13:52:18 +0000 Subject: README: Hard-code releases. * README.org (Download): Replace releases dynamic block with hard-coded list of releases. * build-aux/build-website.el (org-dblock-write:releases): Delete function. (build-website): Do not call org-update-all-dblocks. --- README.org | 3 +-- build-aux/build-home-page.el | 12 ------------ 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/README.org b/README.org index ec99fbc..df5120e 100644 --- a/README.org +++ b/README.org @@ -12,8 +12,7 @@ HTTP handler to implement a HTTP GraphQL endpoint. Download release tarballs. -#+BEGIN: releases -#+END: +- 2022-01-05 [[./releases/kolam-0.1.0.tar.lz][kolam-0.1.0.tar.lz]] [[./releases/kolam-0.1.0.tar.lz.asc][GPG Signature]] Download [[https://systemreboot.net/about/arunisaac.pub][public signing key]]. diff --git a/build-aux/build-home-page.el b/build-aux/build-home-page.el index 0f5ef9d..aa4f483 100644 --- a/build-aux/build-home-page.el +++ b/build-aux/build-home-page.el @@ -35,18 +35,6 @@ org-html-head-include-scripts nil org-html-postamble nil) -(defun org-dblock-write:releases (params) - "Dynamically write releases block." - (dolist (release '(("2022-01-05" "v0.1.0"))) - (pcase release - (`(,date ,version) - (insert (format "- %s [[./releases/kolam-%s.tar.lz][kolam-%s.tar.lz]] [[./releases/kolam-%s.tar.lz.asc][GPG Signature]]\n" - date - version - version - version)))))) - (defun build-website () (with-current-buffer (find-file "README.org") - (org-update-all-dblocks) (org-export-to-file 'html "website/index.html"))) -- cgit v1.2.3