dotfiles/sbcl/.quicklisp/dists/quicklisp/software/yason-v0.7.8/render-doc.sh
2020-01-20 14:13:08 -05:00

5 lines
268 B
Bash

#!/bin/sh
xmllint --noout doc.xml
[ -f clixdoc.xsl ] || wget -q https://raw.github.com/hanshuebner/clixdoc/master/clixdoc.xsl
xsltproc --stringparam current-release `perl -ne 'if (/^ *:version +"(.*)"/) { print "$1\n" }' yason.asd` -o index.html clixdoc.xsl doc.xml