summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2023-01-23 00:29:15 +0000
committerArun Isaac2023-01-23 00:29:15 +0000
commit46031e97ef5c68ae822ff2a7d66a4ce14a47214c (patch)
tree63c2eadf8d74f1778e92e1a4031a8472d1409f00
parent18da70e31aa4da81673191d539c98784f9cfb7f4 (diff)
downloadtissue-46031e97ef5c68ae822ff2a7d66a4ce14a47214c.tar.gz
tissue-46031e97ef5c68ae822ff2a7d66a4ce14a47214c.tar.lz
tissue-46031e97ef5c68ae822ff2a7d66a4ce14a47214c.zip
tissue.scm: Index the manual.
* tissue.scm: Import (tissue skribilo). (#:indexed-documents): Add manual.
-rw-r--r--tissue.scm14
1 files changed, 13 insertions, 1 deletions
diff --git a/tissue.scm b/tissue.scm
index a922eb3..3dc35e7 100644
--- a/tissue.scm
+++ b/tissue.scm
@@ -1,4 +1,5 @@
-(use-modules (tissue web themes default))
+(use-modules (tissue skribilo)
+ (tissue web themes default))
(define %css
"/style.css")
@@ -12,6 +13,17 @@
'web-uri
(string-append "/" (string-remove-suffix ".gmi" filename))))
(gemtext-files-in-directory "issues"))
+ (map (lambda (identifier)
+ (slot-set (document-fragment "doc/tissue.skb" identifier)
+ 'web-uri
+ (string-append "/manual/dev/en/#"
+ identifier)))
+ (list "chapter-introduction"
+ "chapter-gemtext-markup"
+ "section-constructors"
+ "section-reader-functions"
+ "section-writer-functions"
+ "section-utility-functions"))
(map (lambda (commit)
(slot-set commit
'web-uri