Everett Hildenbrandt
16200908e8
Shake, tools/pandoc-site.{hs => lua}: switch to building site with Lua filter
2018-05-21 08:35:49 -07:00
Everett Hildenbrandt
f3d81631e9
tools/pandoc-site: avoid calling HTML writer directly
2018-05-21 08:35:49 -07:00
Everett Hildenbrandt
1c561c2270
tools/pandoc-site: switch to using Pandoc builtin function hierarchicalize
2018-05-21 08:35:49 -07:00
Everett Hildenbrandt
78e10f7663
tools/pandoc-site: remove unused datastructure TOCAlignment and function ignoreTOC
2018-05-21 08:35:49 -07:00
Everett Hildenbrandt
946fa1d498
tools/pandoc-{site,drop-toc}, Shake, site/, doc/: switch from bulletlist to metainline toc marker
...
Files `site/doc/{1.0,1.1}/hledger-ui.md` had to be treated specially because
thay had some other elements inside the same `BulletList` that the `toc` lived
inside. Because only the first element of the `BulletList` is compared, these
extra HTML elements were either dropped or replaced with a TOC at compile time.
By switching to the meta-inline `\$toc\$`, they started to persist into the
resulting HTML. The fix was to drop them from the source markdown.
2018-05-21 08:35:49 -07:00
Everett Hildenbrandt
ae987b236b
tools/pandoc-site: pass in generated toc from top-level filter
2018-05-21 08:35:49 -07:00
Everett Hildenbrandt
e2a322283a
tools/pandoc-site: remove attribution
2018-05-21 08:35:49 -07:00
Simon Michael
f5e28ee8ce
site: deploy: be sure main repo is pulled
...
[ci skip]
2018-05-16 18:33:23 -07:00
Simon Michael
38e7e378bd
make deploy: also do a push if we updated wiki links, to allow pulls
2018-05-16 11:58:08 -07:00
Simon Michael
e1230d9929
site: home: also commit when updating wiki links
...
[ci skip]
2018-05-14 18:07:53 -07:00
Simon Michael
e0c6a18199
tools: deploy tweaks
...
[ci skip]
2018-05-14 17:57:25 -07:00
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