doc: remove old manual. No more duplication! #292
This commit is contained in:
parent
aecbcf9461
commit
5ef67e0d4d
7
Shake.hs
7
Shake.hs
@ -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
2
site/.gitignore
vendored
@ -11,5 +11,3 @@ csv.md
|
|||||||
journal.md
|
journal.md
|
||||||
timedot.md
|
timedot.md
|
||||||
timelog.md
|
timelog.md
|
||||||
manual2.md
|
|
||||||
m4-hledger.md
|
|
||||||
@ -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">
|
||||||
|
|
||||||
|
|||||||
2804
site/manual.md
2804
site/manual.md
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user