diff options
| author | Arun Isaac | 2025-11-24 18:44:48 +0000 |
|---|---|---|
| committer | Arun Isaac | 2025-11-24 18:46:22 +0000 |
| commit | 43d4d96f8de9fabaa889eae62e86e7ed49cf6575 (patch) | |
| tree | 6394856bf71f49bc0928f48a0d005a1fe85152e3 | |
| parent | 5676b0ac98ea74fcfcd3bf15388af64d33cc9e2a (diff) | |
| download | ravanan-43d4d96f8de9fabaa889eae62e86e7ed49cf6575.tar.gz ravanan-43d4d96f8de9fabaa889eae62e86e7ed49cf6575.tar.lz ravanan-43d4d96f8de9fabaa889eae62e86e7ed49cf6575.zip | |
guix: Add Download section to website.
| -rw-r--r-- | .guix/ravanan-website.scm | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/.guix/ravanan-website.scm b/.guix/ravanan-website.scm index cc505d5..1fe2ee8 100644 --- a/.guix/ravanan-website.scm +++ b/.guix/ravanan-website.scm @@ -30,6 +30,26 @@ #~(begin (use-modules (guix build utils)) + (copy-file #$(file-append (package-source ravanan) + "/README.md") + "README.md") + ;; Add Download section. + (substitute* "README.md" + (("^- \\[Building from source\\]\\(#building-from-source\\)" all) + (string-append "- [Download](#download)\n" + all)) + (("^# Building from source" all) + (string-append "# Download + +Download release tarballs. + +- 2025-01-28 [ravanan-0.1.0.tar.lz](releases/ravanan-0.1.0.tar.lz) [GPG Signature](releases/ravanan-0.1.0.tar.lz.asc) + +Download [public signing key](https://systemreboot.net/about/arunisaac.pub). + +Browse the development version on [cgit](https://git.systemreboot.net/ravanan) or on [GitHub](https://github.com/arunisaac/ravanan/). +" + all))) (invoke #$(file-append pandoc "/bin/pandoc") "--standalone" "--metadata" "title=ravanan" @@ -37,8 +57,7 @@ "--css=style.css" "--from=gfm" (string-append "--output=" #$output) - #$(file-append (package-source ravanan) - "/README.md"))))) + "README.md")))) (define-public ravanan-website (file-union "ravanan-website" |
