Commit fcda2d7d authored by Ludovic Courtès's avatar Ludovic Courtès

activity-report-2018: Add link to the PDF.

* posts/activity-report-2018.md: Add link to the PDF.
* doc/build.scm (markdown->lout): Strip it.
parent cdc00ca9
......@@ -61,9 +61,14 @@ directory containing Lout files."
(values headers
(commonmark->sxml port))))))
(define (also-as-pdf? str)
(string-prefix? "This document is also available" str))
(define (sxml->skribilo sxml)
;; Convert SXML to Skribilo nodes.
(match sxml
(('p ('em (? also-as-pdf? str) . _))
#t) ;discard
(('p . body)
(paragraph (map sxml->skribilo body)))
(('h1 title) ;start on a new page
......
......@@ -4,6 +4,11 @@ date: 2019-01-31 12:00
slug: guix-hpc-activity-report-2018
---
_This document is also available as a
[PDF](https://guix-hpc.bordeaux.inria.fr/static/doc/activity-report-2018.pdf)
([printable
booklet](https://guix-hpc.bordeaux.inria.fr/static/doc/activity-report-2018-booklet.pdf)).
Guix-HPC is a collaborative effort to bring reproducible software
deployment to scientific workflows and high-performance computing (HPC).
Guix-HPC builds upon the [GNU Guix](https://www.gnu.org/software/guix/)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment