Commit Graph

78 Commits

Author SHA1 Message Date
Simon Michael
d710bfc7f9 tools: deploy.sh site update script
[ci skip]
2018-05-14 10:52:33 -07:00
Everett Hildenbrandt
bac12543df tools/pandoc-site.hs, Shake.hs: pandoc filter version of hakyll-std website builder 2018-05-09 10:13:02 -07:00
Everett Hildenbrandt
563d78df66 tools/pandoc-*.hs, doc/.gitignore: remove haskell pandoc filters and references to them 2018-04-25 17:25:09 -07:00
Everett Hildenbrandt
ddaea7cffc Shake.hs, tools/pandoc-drop-toc: switch to lua script filter 2018-04-25 17:25:09 -07:00
Everett Hildenbrandt
95c9af5664 Shake.hs, tools/pandoc-drop-notes: remove unused filter 2018-04-25 17:25:09 -07:00
Everett Hildenbrandt
fbc9c63c62 Shake.hs, tools/pandoc-drop-notes: switch to lua script filter 2018-04-25 17:25:09 -07:00
Everett Hildenbrandt
364d3dc756 Shake.hs, tools/pandoc-drop-links: switch to lua script filter 2018-04-25 17:25:09 -07:00
Everett Hildenbrandt
79e46bb0fb Shake.hs, tools/pandoc-drop-html-inlines: switch to lua script filter 2018-04-25 17:25:09 -07:00
Everett Hildenbrandt
b83240ab6d Shake.hs, tools/pandoc-drop-html-blocks: switch to lua script filter 2018-04-25 17:25:09 -07:00
Everett Hildenbrandt
33e08a7d86 Shake.hs, tools/pandoc-demote-headers: switch to lua script filter 2018-04-25 17:25:09 -07:00
Simon Michael
8ce5c84f35 tools: misc Shake, pandoc filter fixes 2018-03-31 02:43:28 +01:00
Simon Michael
84579bb1b4 silence redundant import warnings with ghc 8.4 2018-03-24 22:51:56 +00:00
Simon Michael
6aa35b5cb8 lib: move easytest tests to lib, depend on released version 2018-03-05 17:27:13 -08:00
Simon Michael
e92130228b tools: easytest: some sample tests
[ci skip]
2018-03-04 12:31:16 -08:00
Simon Michael
9a5d9c6235 tools: add easytest (github) as an extra dep, for experiments 2018-02-15 16:30:50 -08:00
Simon Michael
b3ab3b392d tools: remove outdated pandoc-types version from pandoc filters 2017-03-29 21:06:07 -07:00
Simon Michael
aae61f46e2 tools: some pandoc filter fixes
[ci skip]
2017-01-10 12:36:15 -08:00
Simon Michael
ad34e4aa42 tools: remove accidentally committed pandoc executables
[ci skip]
2017-01-10 12:35:58 -08:00
Simon Michael
e881a29b0e tools: move pandoc filters out of docs/
[ci skip]
2017-01-10 08:49:05 -08:00
Simon Michael
792c807f2c tools readme 2017-01-08 07:28:23 -08:00
Simon Michael
843c417079 tools: simplebench is now quickbench 2016-10-21 11:46:50 -07:00
Simon Michael
588f36d662 rename timelog format to timeclock 2016-04-12 21:13:19 -07:00
Simon Michael
bba7909165 doc: m4-based man pages pt 2, missing files 2016-04-06 09:03:01 -07:00
Simon Michael
9b492325da tools: rename pandoc filters 2016-04-05 16:17:08 -07:00
Simon Michael
099870e96a tools: shake file requires pandoc, filters use current snapshot 2016-04-05 16:17:08 -07:00
Simon Michael
df3cb6d334 tools: use latest pandoc, avoiding SoftBreak error
Require a recent snapshot with the latest pandoc-types for the pandoc
filters (may be different from the snapshot used to build hledger).
2016-04-05 16:17:08 -07:00
Simon Michael
e1c9e51775 tools: new build system for man/web docs
Goal:

Generate man pages and web docs from one source.

Current plan:

The master docs for each package are now the pandoc-style
manpage-markdown files in the package directories -
hledger/hledger.1.md, hledger-lib/hledger_journal.5.md, etc.

Parts of these will be marked as web-only, and parts as man-only, using
divs recognisable by custom pandoc filters.

When generating man pages we strip the web-only parts, and all html
blocks, inline html and hyperlinks.

When generating web docs we strip the man-only parts and apply any other
tweaks needed for easy presentation, perhaps combining them into a
single web page similar to the old user manual.

Shake:

This was hard to do with GNU Make, and so I've introduced Shake, which
is working very well. Both coexist for now but it's probably time to
switch.
2016-02-21 02:21:41 -08:00
Simon Michael
3762ae8f70 tools: pandoc filters used when making man pages 2015-10-26 06:56:33 -07:00
Simon Michael
e6d8a9d1bc tools: add sample journals with wide characters
generatejournal now has --chinese and --mixed options, which are used to
generate some additional small sample journals.
2015-10-10 11:51:07 -07:00
Simon Michael
523ab4331a tools: update profiling rules
A bunch of cleanups to make profiling possible again, and easier.

"make quickprof-CMD" generates a profile for CMD, which must be one
word and runs against one of the sample journals (the usual
quickprof-"SOME WORDS" quoting trick isn't working here for some
reason)

Also,

"make hledgerprof" builds the hledgerprof executable (in stack's bin dir) for profiling.

"make hledgercov" builds the hledgercov executable (in ./bin) for coverage reports
(renamed from hledgerhpc to remind me that HPC is nothing to do with heap coverage)
2015-07-22 08:52:30 -07:00
Simon Michael
c4e2c4e56c tools: generatetimelog 2015-07-12 12:32:53 -07:00
Simon Michael
f4842726e0 tools: fix warnings in simplebench 2014-10-19 09:34:46 -07:00
gwern
d1618aaca8 strip trailing whitespace from all Haskell files 2014-10-14 18:48:24 -07:00
Simon Michael
edf0d1053b tools: make tools/* executable 2014-05-01 08:14:04 -07:00
Simon Michael
8139528e83 tools: clarify tools/simplebench.hs's required libs 2013-05-04 09:07:00 -07:00
Simon Michael
7e753e13b5 tools: dayssincerelease.hs -> dayssincetag.hs 2011-09-25 18:29:23 +00:00
Simon Michael
c8e84b3a3a tools: clean up coverage report scripts 2011-04-22 18:47:12 +00:00
Simon Michael
d0efde5429 tools: fix up the releasestats make rule 2011-04-22 18:47:57 +00:00
Simon Michael
7d7159609b refactor: much renaming of ledger -> journal, hopefully the right amount 2010-07-13 06:30:06 +00:00
Simon Michael
8ed15c2e99 tools: update simplebench for current tabular 2010-05-22 21:13:11 +00:00
Simon Michael
38665bd1bc tools: fix coverage script and stats make rule 2010-05-23 22:46:40 +00:00
Simon Michael
aaa8b369fa tools: benchmarking updates, add experimental criterion/progression runners 2010-02-13 18:39:49 +00:00
gwern0
357f56d0f4 de-haskell98 2010-03-09 01:51:21 +00:00
Simon Michael
d6ef9f3436 tools: update hledgermac rule 2009-12-12 15:58:52 +00:00
Simon Michael
9ff4a23492 note doctest.hs issue 2009-06-22 19:46:31 +00:00
marko.kocic
3341ad197f Hlint: Error: Use . 2009-09-22 12:19:38 +00:00
marko.kocic
efa31c05b9 Hlint: Error: Use mapM 2009-09-22 12:30:17 +00:00
marko.kocic
d0baf650f2 Hlint: Error: Use mapMaybe 2009-09-22 12:35:31 +00:00
marko.kocic
8414f06416 Hlint: Warning: Use liftM 2009-09-23 09:35:50 +00:00
marko.kocic
d6393f5f63 Hlint: Warning: Use list comprehension 2009-09-23 09:45:39 +00:00