doc: remove old manual. No more duplication! #292

This commit is contained in:
Simon Michael 2016-04-12 20:23:53 -07:00
parent aecbcf9461
commit 5ef67e0d4d
4 changed files with 6 additions and 2815 deletions

View File

@ -84,10 +84,12 @@ main = do
"manpages" "manpages"
] ]
let webmanual = "site/manual.md"
phony "site" $ do phony "site" $ do
need [ need [
"webmanpages" "webmanpages"
,"site/manual2.md" ,webmanual
,hakyllstd ,hakyllstd
] ]
cmd Shell (Cwd "site") "hakyll-std/hakyll-std" "build" cmd Shell (Cwd "site") "hakyll-std/hakyll-std" "build"
@ -177,9 +179,8 @@ main = do
-- adjust and combine man page mds for single-page web output, using pandoc -- adjust and combine man page mds for single-page web output, using pandoc
let webmanual = "site/manual2.md"
phony "webmanual" $ need [ webmanual ] phony "webmanual" $ need [ webmanual ]
"site/manual2.md" %> \out -> do webmanual %> \out -> do
need webmanpages need webmanpages
liftIO $ writeFile webmanual [i| liftIO $ writeFile webmanual [i|
<style> <style>

2
site/.gitignore vendored
View File

@ -11,5 +11,3 @@ csv.md
journal.md journal.md
timedot.md timedot.md
timelog.md timelog.md
manual2.md
m4-hledger.md

View File

@ -82,16 +82,12 @@ A JSON API server.
<!-- Timedot format, an alternative time logging format. --> <!-- Timedot format, an alternative time logging format. -->
File formats. File formats.
or: \
#### [Combined manual](manual2.html) #### [Combined manual](manual2.html)
All on one page. All on one page.
\
or:
#### [Old manual](manual.html)
</div> </div>
<div class="col-sm-3"> <div class="col-sm-3">

File diff suppressed because it is too large Load Diff