Simon Michael
da6718806a
;doc: don't add page TOCs any more, sphinx has it covered
...
[ci skip]
2019-08-26 09:37:03 -07:00
Simon Michael
d04a5a03f0
tools: generatejournal: vary amount, make reports with fewer zeroes
2019-04-24 07:56:45 -07:00
Simon Michael
2ca2466297
tools: generatejournal: start from a fixed year, not last year
...
So regenerating sample journals doesn't require updating tests.
[ci skip]
2019-04-20 08:30:56 -07:00
Simon Michael
9dd0b510dd
tools: generatejournal: also generate P records ( #999 )
2019-04-19 15:44:25 -07:00
Simon Michael
7af5ee4863
tools: move site.sh into shake; stop running just-pushed shakefile
...
Running the just pushed Shake.hs was too insecure.
[ci skip]
2019-03-06 09:30:54 -08:00
Simon Michael
61e053bd8e
tools: make site.sh mac compatible
2019-03-06 08:48:48 -08:00
Simon Michael
51d3395564
make: rename sub-makefiles; start moving site script to make/shake
...
[ci skip
2019-03-05 18:43:04 -08:00
Simon Michael
1062331f7e
tools: commit missing pandoc filters ( #981 )
...
[ci skip]
2019-03-04 08:07:01 -08:00
Simon Michael
2530d9b853
site: fix TOC in contributing, manuals
...
[ci skip]
2019-02-12 09:58:22 -08:00
Simon Michael
2364a53f49
site: add table of contents to all wiki pages with 2+ headings
...
[ci skip]
2019-02-11 14:12:48 -08:00
Simon Michael
b3dd667feb
site: update deploy script
2019-02-09 19:48:01 -08:00
Simon Michael
7dfd921992
tools: drop old alternate hunit runner
2018-09-04 13:54:22 -07:00
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