summaryrefslogtreecommitdiff
path: root/closed.skb
blob: 8d28dfcbedcc61e1fd977c07d43569e7111b7ed7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
(use-modules (srfi srfi-1)
             (srfi srfi-19)
             (srfi srfi-28)
             (tissue issue)
             (tissue web))

(define (numbered-issue-listing title-format issues)
  (section :title (format title-format (length issues))
           :number #f
    (issue-listing (reverse issues))))

(document :title "GeneNetwork issue tracker"
  (ref :url "https://github.com/genenetwork/gn-gemtext-threads/new/main/issues"
       :text "Create new issue")
  " | "
  (ref :url "team.html" :text "Team agenda view")
  " | "
  (ref :url "topics.html" :text "Topics")
  " | "
  (ref :url "https://ci.genenetwork.org" :text "Continuous Integration")
  " | "
  (ref :url "/topics/links.html" :text "Links")
  (numbered-issue-listing "~a closed issues"
                          (remove issue-open? (issues))))