Commit Graph

7234 Commits

Author SHA1 Message Date
Simon Michael
d6e075dacd refactor journalModifyTransactions, modifyTransactions
API changes:

Hledger.Data.TransactionModifier
-transactionModifierToFunction
+modifyTransactions

Hledger.Read.Common.applyTransactionModifiers -> Hledger.Data.Journal.journalModifyTransactions
2019-02-01 11:31:04 -08:00
Simon Michael
4a9fa5cd38 internals: append rather than prepend forecasted txns 2019-02-01 11:29:22 -08:00
Simon Michael
f1d4b39146 shake: update help, clean/Clean output
[ci skip]
2019-02-01 10:38:14 -08:00
Simon Michael
89bb4816c6 shake: move changelog scripts to Shake, enhance
New shake targets:
./Shake changelogs
./Shake CHANGES.md
./Shake CHANGES.md-dry
./Shake PKG/CHANGES.md
./Shake PKG/CHANGES.md-dry

Enhancements:
- removes the changelog's previous top heading
- ignores commits like "changelog", "doc: update changelogs"..
- does not write temporary files
- dry run mode

[ci skip]
2019-02-01 10:36:49 -08:00
Simon Michael
29c41dc84b make: avoid sed-related error message, mostly
[ci skip]
2019-01-31 15:55:28 -08:00
Simon Michael
9955f53b9b doc: changelogs cleanup
[ci skip]
2019-01-31 15:43:08 -08:00
Dmitry Astapov
afd7cae169 install: fix "stack" installation when .local/bin is not in PATH 2019-01-31 12:46:03 -08:00
Dmitry Astapov
26624ef94c package: added helper scripts in docker/ 2019-01-31 12:44:12 -08:00
Simon Michael
5435150d39 doc: don't use sed; fix accidental dedenting of some lists (#961)
The sed code was showing an error message, not too precise.
Pandoc's lua filters to the rescue!

[ci skip]
2019-01-31 08:34:49 -08:00
Simon Michael
3474cb08bd cli: commands list: mention budgets
[ci skip]
2019-01-31 08:33:40 -08:00
Simon Michael
59739d1cd3 doc: command docs readme -> .md
[ci skip]
2019-01-30 17:59:42 -08:00
Simon Michael
5eb887781b doc: regen hledger manual
[ci skip]
2019-01-30 17:58:51 -08:00
Simon Michael
845fdf8302 doc: update command docs readme 2019-01-30 17:58:23 -08:00
Simon Michael
c8246e7323 cli: command help: reduce width, line wrapping
cmdargs wraps any lines longer than 78 characters.  To (mostly) avoid
this, we now display verbatim blocks unindented, and some of
register's examples have been altered to make them fit.
2019-01-30 17:58:13 -08:00
Simon Michael
36246e4976 cli: commands list: reorder help lines
[ci skip]
2019-01-30 12:54:22 -08:00
Simon Michael
fa996828b1 shake: fix build's doc deps; cleanup
[ci skip]
2019-01-30 12:45:09 -08:00
Simon Michael
4c5ac4dd06 cli: fix command help, really render as plain text
pandoc thinks .txt is a markdown file apparently
2019-01-30 12:44:10 -08:00
Simon Michael
fa82cbcf6e doc: regen hledger manual
[ci skip]
2019-01-30 10:41:39 -08:00
Simon Michael
0628b648f3 shake: Shake PKG (or Shake build) builds packages plus their docs
"stack build hledger" will not notice changes in documentation source
files (like hledger/Hledger/Cli/Commands/Add.md or
hledger-lib/hledger_journal.m4.md), but "./Shake hledger" will.

"./Shake build" builds all the packages, like a doc-aware "stack build".
2019-01-30 10:41:39 -08:00
Simon Michael
3baad5d729 cli: render command help as plain text, hiding markup
This means committing a bunch more generated files, but it's probably
worthwhile, so we can have both rich hyperlinked/styled command docs
and clean readable command help.
2019-01-30 10:41:39 -08:00
Simon Michael
c8b0c9accd make: ghci-shake
[ci skip]
2019-01-30 09:09:52 -08:00
Simon Michael
88ef2abfff refactor: Commands 2019-01-30 09:09:52 -08:00
Simon Michael
8d6b5cc4f3 cli: commands list: fix addons being shown twice 2019-01-30 09:09:52 -08:00
Simon Michael
2442b4f46f refactor: hledgerCommandMode 2019-01-30 09:09:52 -08:00
Dmitry Astapov
c719eb7c67 package: added Dockerfile 2019-01-29 16:14:03 -08:00
Simon Michael
5bb20fcdec site: download: link adept's & other docker images
[ci skip]
2019-01-29 15:31:17 -08:00
Simon Michael
ce82a9867c site: download: link sandstorm
[ci skip]
2019-01-29 15:31:01 -08:00
Simon Michael
6db709da91 site: download: platform headings
[ci skip]
2019-01-29 15:30:01 -08:00
Simon Michael
462eb4cf26 site: download: fix the TOC links
[ci skip]
2019-01-29 13:50:44 -08:00
Simon Michael
929f85729d site: home: update from wiki
[ci skip]
2019-01-29 13:40:38 -08:00
Simon Michael
553eee31c0 site: home: link download page
I accidentally the link.

[ci skip]
2019-01-29 13:34:33 -08:00
Simon Michael
6416ad9e54 fix functional test breakage 2019-01-28 20:25:59 -08:00
Simon Michael
a23f391d7e cli: commands list: reorganise
[ci skip]
2019-01-28 12:48:15 -08:00
Simon Michael
9fe3212940 changelogs
[ci skip]
2019-01-28 10:45:25 -08:00
Simon Michael
469b715352 cli: commands list: update command descriptions 2019-01-28 10:23:39 -08:00
Simon Michael
a9eb84a451 cli: commands list: show addons prefixed with + 2019-01-28 10:07:18 -08:00
Simon Michael
b92aa4b89e refactor: Commands 2019-01-28 09:33:21 -08:00
Simon Michael
4ee39e039b doc: integrate CLI help & manual for remaining commands
& rename HelpTemplate -> CommandDoc
2019-01-28 05:43:49 -08:00
Simon Michael
6566ef5fa2 add: fix breakage when creating file, ignore backslash in names line 2019-01-26 20:57:44 -08:00
Simon Michael
157ec857d4 refactor hledgerCommandMode 2019-01-26 20:57:00 -08:00
Simon Michael
6947f29f17 bal: integrate CLI help & manual 2019-01-26 17:22:48 -08:00
Simon Michael
64d78f1644 add: integrate CLI help & manual 2019-01-26 17:13:44 -08:00
Simon Michael
53620d0df2 act: integrate CLI help & manual 2019-01-26 17:07:30 -08:00
Simon Michael
f68309b106 acc: integrate CLI help & manual 2019-01-26 17:01:55 -08:00
Simon Michael
d1411fbd8d embedded files comment
[ci skip]
2019-01-26 16:39:36 -08:00
Simon Michael
817497f30b doc: force a line break after command names in new command docs
[ci skip]
2019-01-26 16:33:51 -08:00
Simon Michael
a37c18e5c7 make: include Shake.hs in tags 2019-01-26 16:33:51 -08:00
Simon Michael
5b6c441698 shake: manuals: also depend on new command doc files 2019-01-26 16:33:35 -08:00
Simon Michael
2df8a6c4de doc: regen manuals 2019-01-26 15:56:43 -08:00
Simon Michael
550aa408eb lib: refactor, add embedFileRelative 2019-01-26 15:52:58 -08:00