diff --git a/DOCS.md b/DOCS.md index 512694a33..a8e7c0016 100644 --- a/DOCS.md +++ b/DOCS.md @@ -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))\ diff --git a/Makefile b/Makefile index b21ed78b5..c918f6e7c 100644 --- a/Makefile +++ b/Makefile @@ -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 - diff --git a/site/site.hs b/site/site.hs index b10e8c01d..28d194d29 100755 --- a/site/site.hs +++ b/site/site.hs @@ -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