Commit Graph

60 Commits

Author SHA1 Message Date
Simon Michael
4104334eff tools: shake: requires GHC 8.0/lts-9 for now
[ci skip]
2017-09-08 10:47:35 -07:00
Simon Michael
f4e1d5aaec tools: shake: docs -> manuals 2017-07-31 15:53:34 -07:00
Christian G. Warden
659b9c9d32 Use pandoc From Stackage Snapshot (#558)
Use pandoc from stackage snapshot when building documentation to ensure
that pandoc and the pandoc filters are built against the same version of
pandoc-types; otherwise, the filters can fail with an obtuse error (see
https://github.com/jgm/pandoc/issues/3217).
2017-05-30 07:26:24 -07:00
Simon Michael
f7c7b70a70 tools: shake: note a warnings issue 2017-03-27 05:09:42 -07:00
Simon Michael
cdece768ae tools: shake: fix cleaning of pandoc filters 2017-03-27 04:39:00 -07:00
Simon Michael
39e0601446 tools: shake: don't remove old manuals when cleaning 2017-03-27 04:38:17 -07:00
Simon Michael
046b443da5 doc: cookbook: prices example 2017-02-02 11:46:25 -08:00
Simon Michael
761d912324 doc: docs page, cookbook tweaks 2017-02-01 16:24:37 -08:00
Simon Michael
7c5b97816e doc: cookbook: journal starting and version control recipes 2017-01-26 14:19:59 -08:00
Simon Michael
d4654d46af doc: cookbook tweaks, simpler titles
Also drop the main heading from the big manual again,
it disrupted the TOC style.

[ci skip]
2017-01-26 09:51:14 -08:00
Simon Michael
4d91013182 doc: add main heading to combined manual & cookbook
[ci skip]
2017-01-26 09:51:08 -08:00
Simon Michael
2afc955f45 doc: cookbook: fix combined order
[ci skip]
2017-01-26 09:22:57 -08:00
Simon Michael
98d8909bfa site: cookbook: start collecting journal entries
[ci skip]
2017-01-26 09:15:03 -08:00
Simon Michael
e7d459a368 site: begin organising a cookbook 2017-01-26 06:40:50 -08:00
Simon Michael
e881a29b0e tools: move pandoc filters out of docs/
[ci skip]
2017-01-10 08:49:05 -08:00
Simon Michael
99f52f719a site: new system for generating versioned docs 2017-01-04 17:02:22 -08:00
Simon Michael
04557613b1 fix Shake.hs 2016-12-30 15:43:47 -08:00
Simon Michael
3bfc5f7743 tools: build shake threaded for entr 2016-12-30 14:36:27 -08:00
Simon Michael
1930213407 tools: just run Shake.hs to compile it 2016-12-29 11:33:34 -08:00
Simon Michael
eaf8853a9f tools: hakyll isn't in lts 7, use nightly for hakyll-std
Also compile it when run interpreted.
2016-12-29 11:33:34 -08:00
Simon Michael
08244f0747 shake: workaround for a weird error running hakyll-std 2016-10-29 10:51:43 -07:00
Simon Michael
91686b400b shake: comments 2016-10-29 10:23:28 -07:00
Simon Michael
79dfa308fc shake: compile now installs required libs 2016-10-29 09:42:48 -07:00
Simon Michael
d4844b621e shake: don't Clean generated man files
It caused hpack to omit them from cabal files.
2016-10-29 09:41:50 -07:00
Simon Michael
7d4a1f2399 tools: make/shake cleanups 2016-10-28 11:15:10 -07:00
Simon Michael
1953f20136 shake: small comment fix 2016-10-17 08:53:38 -07:00
Simon Michael
5a58298ee3 shake: ensure hakyll-std's required libs are up to date 2016-08-09 18:28:25 -07:00
Simon Michael
1a29d9cc02 doc: better doc version indicator, on 0.27 manual too #385, #387 2016-08-07 08:44:06 -07:00
Simon Michael
68a1a8687a doc: generate really plain text manuals
Drop the nice ansi highlighting that won't work everywhere,
the unpredictable unicode hyphens, etc.
2016-06-11 21:34:20 -07:00
Simon Michael
2f130fe10b shake: rename site target to website
Fixes a new shake error, perhaps related to
https://github.com/ndmitchell/shake/issues/440
2016-05-28 12:10:51 -07:00
Simon Michael
3d129f6d31 shake: also generate info manuals 2016-04-18 17:54:55 -07:00
Simon Michael
4c291dc54e doc: use macros not divs to select web/man content
Use slightly clearer m4 macros instead of special divs to mark content
as web only/man only. The temporary doc/*.md files are no longer needed,
slightly more redundant work is done.
2016-04-16 10:09:51 -07:00
Simon Michael
6529daf20c site: ensure 0.27 manual is in place for links
Stripping hledger- from the link fragment with patsubst isn't working.
2016-04-16 05:55:16 -07:00
Simon Michael
778b78e0b9 site: consistent toc styling 2016-04-16 05:52:20 -07:00
Simon Michael
6a97a246dd doc: use m4 for all manuals, shake cleanup 2016-04-16 03:50:30 -07:00
Simon Michael
8a98e0af20 shake: comments 2016-04-15 16:08:02 -07:00
Simon Michael
c773a81447 shake: update txt man pages when man pages change 2016-04-13 22:47:19 -07:00
Simon Michael
bfa5e14373 doc: generate (and commit) text-rendred man pages
Intended for embedding in executables. Quick implementation,
hopefully these are fixed-width and compatible with all terminals.
2016-04-13 22:29:16 -07:00
Simon Michael
588f36d662 rename timelog format to timeclock 2016-04-12 21:13:19 -07:00
Simon Michael
bf4e6c314c shake: use default build dir 2016-04-12 20:32:01 -07:00
Simon Michael
5ef67e0d4d doc: remove old manual. No more duplication! #292 2016-04-12 20:29:29 -07:00
Simon Michael
db96d54ec0 doc: separate docs target that skips the site 2016-04-10 12:11:19 -07:00
Simon Michael
6a019eedc6 shake: also build/clean hakyll-std and website 2016-04-09 14:24:33 -07:00
Simon Michael
fa9105f658 doc: heading/combined manual tweaks 2016-04-09 14:02:37 -07:00
Simon Michael
e4aaa302ce doc: use m4 just to assemble main hledger man page
I was about to drop the m4 experiment, but.. not yet. I want to split up
the big man pages into chunks that are easier to deal with, so now using
m4 for that (only. Pandoc is taking care of selective content stripping
and other rendering adjustments.)

I've switched the suffix of m4-enabled files from .md.m4 to .m4.md -
less correct but activates more useful editor highlighting.
2016-04-09 13:30:21 -07:00
Simon Michael
88eb113f7b doc: generate atx-style headers in markdown 2016-04-09 12:06:45 -07:00
Simon Michael
775ab2fd4e site: simplify man page uris; shake cleanups 2016-04-08 07:01:40 -07:00
Simon Michael
33e2ca927f doc: improve new combined manual, cleanups 2016-04-07 21:58:42 -07:00
Simon Michael
443b870481 site: fix man page TOCs, add combined man page 2016-04-07 08:55:21 -07:00
Simon Michael
1aa1a92f96 doc: m4manpages should also depend on m4 includes 2016-04-06 08:51:14 -07:00