docs: add 0.21.3's manual to past manuals

This commit is contained in:
Simon Michael 2013-09-09 16:10:43 -07:00
parent 7e3e68906a
commit b72d2b17b6
3 changed files with 6 additions and 2 deletions

View File

@ -9,6 +9,7 @@ title: hledger docs
[Installation Guide](INSTALL.html)\
[Release Notes](NEWS.html)\
**[User Manual](MANUAL.html)** (and past versions:
[0.21](0.21/MANUAL.html),
[0.20](0.20/MANUAL.html),
[0.19](0.19/MANUAL.html),
[0.18](0.18/MANUAL.html))\

View File

@ -572,7 +572,10 @@ viewsite: site
# ensure some old doc versions are in place:
oldsource: site/0.20 site/0.19 site/0.18
oldsource: site/0.21 site/0.20 site/0.19 site/0.18
site/0.21:
git archive --prefix site/0.21/ tags/0.21.3 '*.md' | tar xf -
site/0.20:
git archive --prefix site/0.20/ tags/0.20 '*.md' | tar xf -

View File

@ -23,7 +23,7 @@ main = do
route idRoute
compile compressCssCompiler
match "templates/*" $ compile templateCompiler
match ("*.md" .||. "0.20/*.md" .||. "0.19/*.md" .||. "0.18/*.md") $ do
match ("*.md" .||. "0.21/*.md" .||. "0.20/*.md" .||. "0.19/*.md" .||. "0.18/*.md") $ do
route $ setExtension "html"
compile $
pandocCompilerWith