From 941574423a7b1bb7f86720323cfc8fa54e6344f5 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Thu, 18 Mar 2021 06:48:07 -0700 Subject: [PATCH] ;shake: drop ".webmanuals" from website markdown filenames --- Shake.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Shake.hs b/Shake.hs index 4d840e59c..95a230083 100755 --- a/Shake.hs +++ b/Shake.hs @@ -215,8 +215,8 @@ main = do -- manuals as info, ready for info (hledger/hledger.info) infomanuals = [manualDir m m <.> "info" | m <- manualNames] - -- manuals as sphinx-ready markdown, to be rendered as part of the website (hledger/hledger.webmanual.md) - webmanuals = [manualDir m m <.> "webmanual.md" | m <- manualNames] + -- manuals as sphinx-ready markdown, to be rendered as part of the website (hledger/hledger.md) + webmanuals = [manualDir m m <.> "md" | m <- manualNames] -- -- old versions of the manuals rendered to html (site/_site/doc/1.14/hledger.html) -- oldhtmlmanuals = map (normalise . ("site/_site/doc" ) . (<.> "html")) $ @@ -464,7 +464,7 @@ main = do -- Generate the individual web manuals' markdown source, using m4 -- and pandoc to tweak content. phony "webmanuals" $ need webmanuals - webmanuals |%> \out -> do -- hledger/hledger.webmanual.md, hledger-lib/journal.webmanual.md + webmanuals |%> \out -> do -- hledger/hledger.md, hledger/hledger-ui.md .. let dir = takeDirectory out -- hledger, hledger-lib manpage = webManualNameToManpageName $ dropExtension $ dropExtension $ takeFileName out -- hledger, journal