From e99af9b539e386ec0a4f0b25a01ee9be63212051 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sun, 31 Mar 2013 14:58:32 +0000 Subject: [PATCH] docs: also link to 0.19 and 0.18 manual --- site/DOCS.md | 12 ++++++++++-- site/site.hs | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/site/DOCS.md b/site/DOCS.md index 79b2a8a46..f2990a7eb 100644 --- a/site/DOCS.md +++ b/site/DOCS.md @@ -4,11 +4,19 @@ title: hledger docs # Docs -[Release Notes](NEWS.html) +Docs for the latest developer version: [User Manual](MANUAL.html) -[Developer How-tos](DEVELOPMENT.html) +[Release Notes](NEWS.html) + +[Contributor Guide](DEVELOPMENT.html) [FAQ](FAQ.html) +Docs for past releases: + +[0.19 User Manual](0.19/MANUAL.html) + +[0.18 User Manual](0.18/MANUAL.html) + diff --git a/site/site.hs b/site/site.hs index e655c0f9c..ed20659e2 100644 --- a/site/site.hs +++ b/site/site.hs @@ -23,7 +23,7 @@ main = do route idRoute compile compressCssCompiler match "templates/*" $ compile templateCompiler - match "*.md" $ do + match ("*.md" .||. "0.19/*.md" .||. "0.18/*.md") $ do route $ setExtension "html" compile $ pandocCompilerWith