From 4d91013182d9e44b10d9414fdff4dfa026d58c3e Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Thu, 26 Jan 2017 09:27:31 -0800 Subject: [PATCH] doc: add main heading to combined manual & cookbook [ci skip] --- Shake.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shake.hs b/Shake.hs index 30d95f0e5..d1d56a996 100755 --- a/Shake.hs +++ b/Shake.hs @@ -265,7 +265,7 @@ main = do webmanall %> \out -> do need webmanpages - liftIO $ writeFile webmanall "* toc\n\n" + liftIO $ writeFile webmanall "# Big Manual\n\n* toc\n\n" forM_ webmanpages $ \f -> do -- site/hledger.md, site/journal.md cmd Shell ("printf '\\n\\n' >>") webmanall :: Action ExitCode cmd Shell "pandoc" f "-t markdown --atx-headers" @@ -280,7 +280,7 @@ main = do cookbookall %> \out -> do need cookbookpages - liftIO $ writeFile cookbookall "* toc\n\n" + liftIO $ writeFile cookbookall "# User Cookbook\n\n* toc\n\n" forM_ cookbookpages $ \f -> do -- site/csv-import.md, site/account-aliases.md, ... cmd Shell ("printf '\\n\\n' >>") cookbookall :: Action ExitCode cmd Shell "pandoc" f "-t markdown --atx-headers"