Commit Graph

395 Commits

Author SHA1 Message Date
Brian Scott
8fdea5d11a Anon feature (#412)
* Add anon flag to cli

* Implement anonymisation for accounts

* document the --anon option
2016-10-26 10:39:13 -07:00
Simon Michael
aec7d2fa3c doc: release notes cleanup 2016-10-25 12:00:54 -07:00
Simon Michael
647e559db6 doc: catch release notes up with latest commits 2016-10-21 17:50:47 -07:00
Simon Michael
38ad1e9309 doc: 0.27 manual version indicator fixes #385 2016-08-07 08:55:43 -07:00
Simon Michael
e0f11e7341 doc: display latest doc version as 0.28dev in doc version indicator
The package versions, displayed in man page footer eg, are still (wrongly) 0.28.
2016-08-07 08:47:15 -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
ef7621d30f doc: start managing release notes in org, 0.28 WIP 2016-07-13 09:21:42 -07:00
Simon Michael
d5799d0ac5 doc: README 2016-07-13 09:21:14 -07:00
Simon Michael
1953748972 cli: clarify --debug flag's help 2016-07-06 15:11:10 -07:00
Simon Michael
0b465f61e7 cli: make -I short for --ignore-assertions
Differs from Ledger, but will be useful for hledger-ui.
2016-07-06 14:56:29 -07:00
Simon Michael
e6769b26fc doc: more macros, less redundancy, cleanups 2016-06-09 18:07:08 -07:00
Simon Michael
8986a8d3a0 doc: fix pivot option formatting, whitespace 2016-06-03 09:50:01 -07:00
Simon Michael
f21e9d1c25 doc: more deduplication of options help
Help for reporting options is now also defined once in lib.m4
(in addition to CliOptions.hs). Also fixed some duplication of general
options in docs. hledger-* manuals now include the full list of general
and reporting options; we assume that any inapplicable options get
harmlessly ignored and that this will not surprise users.
2016-06-03 09:38:06 -07:00
Simon Michael
f0baa30db0 doc: another help flag consistency fix 2016-05-28 23:51:14 -07:00
Simon Michael
656734ccd3 doc: define general options once
Well, twice: in lib.m4 and in CliOptions.hs. But no longer in every man page.
2016-05-28 23:50:37 -07:00
Simon Michael
df07ad0109 doc: parameterise and bump docs version to 0.28 2016-05-28 23:31:44 -07:00
Simon Michael
0c74dcde67 doc: macro cleanups 2016-04-17 15:27:56 -07:00
Simon Michael
82f35dddd0 doc: m4 macro for web table of contents 2016-04-16 11:00:39 -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
130d259cb1 site: show version links on manuals 2016-04-16 04:44:33 -07:00
Simon Michael
588f36d662 rename timelog format to timeclock 2016-04-12 21:13:19 -07:00
Simon Michael
8ee0c7fa76 doc: update man pages 2016-04-12 20:31:17 -07:00
Simon Michael
3c7e1a7399 doc: some convenient m4 macros for docs 2016-04-10 12:09:39 -07:00
Simon Michael
4b9d30dac3 doc: man page template tweaks 2016-04-09 14:02:37 -07:00
Simon Michael
33e2ca927f doc: improve new combined manual, cleanups 2016-04-07 21:58:42 -07:00
Simon Michael
0982aca223 tools: missing file, git ignore 2016-04-07 09:05:16 -07:00
Simon Michael
443b870481 site: fix man page TOCs, add combined man page 2016-04-07 08:55:21 -07:00
Simon Michael
bba7909165 doc: m4-based man pages pt 2, missing files 2016-04-06 09:03:01 -07:00
Simon Michael
eab6b110bc tools: simplify doc filtering class names 2016-04-05 16:17:08 -07:00
Simon Michael
9b492325da tools: rename pandoc filters 2016-04-05 16:17:08 -07:00
Simon Michael
5acb82e627 notes 2016-02-21 02:37:03 -08: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
2b4cb6b970 cli: shorter help mockup updates 2016-02-19 22:48:59 -08:00
Simon Michael
ea6636d967 hcar entry updates 2015-11-16 15:14:49 -08:00
Simon Michael
293146269f doc: shorter command-line help mockups 2015-11-08 17:42:55 -08:00
Simon Michael
1f05d1c9bf doc: add a project-level changelog 2015-11-05 20:19:49 -08:00
Simon Michael
18f3e723ec site: move manual, devguide here; move out of doc/ 2015-11-05 19:32:17 -08:00
Simon Michael
dea1bc5ab3 doc: manual: clarify accounts command 2015-11-05 19:05:36 -08:00
Simon Michael
6d84a19aa2 site: home: add hledger-ui, cleanups 2015-11-04 17:00:12 -08:00
Simon Michael
2be7ffc563 doc: manual: timelog cleanups 2015-11-04 16:33:27 -08:00
Simon Michael
6ea5ad9fbb site: download page cleanups 2015-11-03 18:59:12 -08:00
Simon Michael
d401c7839f site: relnotes, devguide updates 2015-11-03 18:58:52 -08:00
Simon Michael
ba89e58389 site: faq updates 2015-11-03 18:58:17 -08:00
Simon Michael
87a9e77d60 ui: add some screenshots to the user manual 2015-11-01 11:58:50 -08:00
Simon Michael
b2038b3997 doc: 0.27 announcement 2015-10-31 15:49:12 -07:00
Simon Michael
e6747c9530 site: relnotes: yet another fix 2015-10-30 14:28:01 -07:00
Simon Michael
fd5185a8e4 site: relnotes, devguide updates 2015-10-30 14:23:43 -07:00
Simon Michael
f858b85ddd site: download: clarify stack snapshot status 2015-10-30 14:02:45 -07:00
Simon Michael
3d5e65a238 site: download, devguide updates 2015-10-30 13:56:13 -07:00
Simon Michael
fbfa725197 site: download: update recommended stack snapshot 2015-10-30 13:23:22 -07:00
Simon Michael
a5fd56223c bump version to 0.27 2015-10-30 13:21:51 -07:00
Simon Michael
e061eabe2c ui: C toggles --cleared; f -> F; UI tweaks
You can now toggle showing only cleared items in the accounts and
register screens, with C (like the command-line flag).

The f key has been changed to F for consistency (we don't have this as a
command-line flag, though we could, though Ledger uses it for something
different).

Screen titles have been tweaked, eg switching the cyan and yellow.

Screen help has been squeezed to fit better in 80 columns.
2015-10-30 10:42:44 -07:00
Simon Michael
4691454908 ui: txn: up/down steps through txns in the account 2015-10-29 20:19:18 -07:00
Simon Michael
68cd35c965 ui: txn: add a transaction-viewing screen 2015-10-29 17:45:57 -07:00
Simon Michael
f6a7070167 ui: reg: document the balance/total column better 2015-10-29 17:15:13 -07:00
Simon Michael
6f85e02f1a ui: show an error screen when reloading fails 2015-10-26 07:41:45 -07:00
Simon Michael
13b6d142c6 doc: add hledger-ui to combined user manual 2015-10-26 07:13:43 -07:00
Simon Michael
5a0c1b03f4 doc: stop symlinking changelogs to doc/ 2015-10-26 06:57:28 -07:00
Simon Michael
844e04812c tools: simplify stack preamble in hakyll-std.hs
This doesn't yet quite install its deps when you run it from the
makefile, you may have to run the script directly to get the deps
(hakyll, pandoc) installed.
2015-10-26 06:54:29 -07:00
Simon Michael
60df129c7b doc: changelog updates, combined release notes 2015-10-26 06:37:33 -07:00
Simon Michael
191c2e533f doc: generate man pages for each package (#282)
There are now six man pages, one for each main executable and file
format, generated from markdown by the mighty pandoc. They are basically
the content of the user manual, split up and moved into the appropriate
package directory.  I've also committed the generated man files.

The man pages' markdown source (hledger/hledger.1.md,
hledger-lib/hledger_journal.5.md etc.) are now the master documentation
files. The plan is to concatenate them (with a little munging) to form
the all-in-one user manual for the website, at release time.  This also
separates the hledger.org user manual from the latest doc commits, which
should simplify website management.
2015-10-20 06:26:09 -07:00
Simon Michael
77cf3a83da doc: lower-case hcar dir, part 2
in two parts to avoid any issues with git/osx
2015-10-19 08:56:21 -07:00
Simon Michael
2c170f63a6 doc: lower-case hcar dir, part 1
in two parts to avoid any issues with git/osx
2015-10-19 08:55:15 -07:00
Simon Michael
e2618210d2 doc: HCAR tweaks 2015-10-19 08:42:06 -07:00
Simon Michael
cbb076c224 doc: distinguish mockups from docs 2015-10-19 08:41:24 -07:00
Simon Michael
ef2dd9651d doc: a new HCAR entry 2015-10-18 16:09:23 -07:00
Simon Michael
bf532948f6 doc: clean up HCAR files 2015-10-18 14:50:14 -07:00
Simon Michael
2e38aec410 doc: link to dev sprint #2 2015-10-11 17:47:04 -07:00
Simon Michael
1d944ac1a9 doc: balance --format does not support - any more 2015-10-10 15:07:49 -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
939f7184c9 journal: make "end comment" optional, like ledger
The "comment" directive longer requires an "end comment", and will
extend to the end of the file(s) without it.
2015-10-07 16:41:49 -07:00
Simon Michael
921a874e72 doc: front page: add gpl badge 2015-09-02 11:49:33 -07:00
Simon Michael
9647d350b1 doc: more download/devguide tweaks 2015-08-24 09:34:26 -07:00
Simon Michael
ee8161dd1c doc: download: update instructions for stack LTS 3 2015-08-24 09:23:07 -07:00
Simon Michael
edd1d4268b doc: devguide: rewrite setup docs 2015-08-24 07:42:49 -07:00
Simon Michael
62f0b879e5 doc: devguide: sample journals (#197) 2015-08-23 21:42:58 -07:00
Simon Michael
94e7d026d6 doc: dev guide: benchmarking 2015-08-23 10:23:20 -07:00
Simon Michael
cc98ee39f7 balance, lib: --format/StringFormat improvements
The balance command's --format option (in single-column mode) can now
adjust the rendering of multi-line strings, such as amounts with multiple
commodities. To control this, begin the format string with one of:

 %_  - renders on multiple lines, bottom-aligned (the default)
 %^  - renders on multiple lines, top-aligned
 %,  - render on one line, comma-separated

Also the final total (and the line above it) now adapt themselves to a
custom format.
2015-08-19 20:53:51 -07:00
Simon Michael
c158779212 doc: dev guide: more tweaks
[ci skip]
2015-08-13 12:32:30 -07:00
Simon Michael
9536db384d bump stack resolver to lts-3.0 2015-08-13 08:16:54 -07:00
Simon Michael
48e31d4f8c bump version to 0.26.98 2015-08-12 22:49:04 -07:00
Simon Michael
930628805b doc: dev guide, readme: clean up badges, links 2015-08-11 15:48:59 -07:00
Simon Michael
cae3c756ed doc: dev guide: fix table layout, link updates 2015-08-11 15:36:38 -07:00
Simon Michael
51873fde19 doc: readme, dev guide: more badges 2015-08-11 15:25:38 -07:00
Simon Michael
69818f0ca5 doc: manual: typo, clarifications 2015-08-09 21:09:50 -07:00
Simon Michael
a47ba50e8a doc: manual: clarify transaction vs market prices 2015-08-09 21:02:36 -07:00
Simon Michael
2dc9926fd4 doc: manual: document balance -V/--value 2015-08-09 16:45:43 -07:00
Simon Michael
94094252be rename historical prices to market prices
Simpler and clearer. We now have "transaction prices" (recorded as part
of transaction amounts) and "market prices" (recorded with P
directives). Both are matters of historical record, also this avoids
confusion with the balance command's "historical balances".
2015-08-09 16:20:02 -07:00
Simon Michael
bf4c9221be doc: download: don't mention hledger-web on fedora 2015-08-05 06:52:32 -07:00
Simon Michael
ee81005796 doc: update fedora links/download info 2015-08-02 16:58:34 -07:00
Simon Michael
9f2cce6928 docs: manual: clarify real: 2015-08-02 16:58:08 -07:00
Simon Michael
72f080bc16 docs: manual: mention stack, cleanups 2015-07-28 17:30:50 -07:00
Simon Michael
dee282d8cf docs: download: more cleanups 2015-07-28 17:30:17 -07:00
Simon Michael
0a0ef2c213 site: add travis badge to front page and dev guide 2015-07-28 17:29:06 -07:00
Simon Michael
31fe0e9243 doc: devguide: link to travis 2015-07-28 15:06:58 -07:00
Simon Michael
2c16dded6e docs: simplify download page 2015-07-23 07:05:28 -07:00
Simon Michael
fba4e126fe docs: download: equalise column widths 2015-07-22 15:34:09 -07:00
Simon Michael
6998de1036 docs: download: 0.26 binaries for windows
and drop the donations-for-binaries policy
2015-07-22 15:20:24 -07:00
Simon Michael
6ca4a35a6d docs: download: stack build tips for windows 2015-07-22 13:58:10 -07:00
Simon Michael
10163f698a doc: devguide: how to run ghci (#274) 2015-07-19 09:34:34 -07:00
Simon Michael
7c02959944 doc: devguide: how to run tests 2015-07-19 09:34:23 -07:00
Simon Michael
53eb580b48 doc: devguide: undeprecate trello 2015-07-19 09:33:51 -07:00
Simon Michael
d94cf3c726 doc: re-order devguide topics 2015-07-19 09:33:36 -07:00
Simon Michael
892b0b226a doc: devguide: how to suggest enhancements 2015-07-18 12:40:54 -07:00
Simon Michael
78018cc24d tools: yaml definitions for the hledger cabal files
Here are hpack package.yaml files for the other hledger cabal files.
These remove a lot of human-error-prone duplication.
They are not used yet as hpack isn't quite mature enough -
when it supports flags and benchmarks we will probably switch.
2015-07-14 17:32:49 -07:00
Simon Michael
4a3b09e1ed tools: start generating cabal files with hpack
hakyll-std's cabal file is now generated by hpack from an easier yaml
config file, which looks like a valuable timesaver. "make gencabalfiles"
will regenerate this cabal file (and soon the others) when needed.
2015-07-14 15:19:05 -07:00
Simon Michael
9a93a2b5f5 site: make hakyll-std's stack config work on osx 2015-07-14 15:16:01 -07:00
Simon Michael
852c4115fa doc: update build instructions 2015-07-13 21:56:39 -07:00
Simon Michael
b993716222 doc: release notes: hide contact info 2015-07-13 21:06:00 -07:00
Simon Michael
f788c53217 site: commit and use hakyll-std, a generic site builder 2015-07-13 20:47:53 -07:00
Simon Michael
7d81ca0e8f doc: dev guide updates 2015-07-13 20:24:58 -07:00
Simon Michael
6e84bf3510 doc: update ANNOUNCe 2015-07-13 20:24:35 -07:00
Simon Michael
cbda57d6e2 site: fix rendering of pipe tables with latest pandoc 2015-07-13 11:45:09 -07:00
Simon Michael
0b2ccdd298 0.26 changelogs/release notes 2015-07-12 17:58:02 -07:00
Simon Michael
e5c0d75117 bump version to 0.26 2015-07-12 15:29:10 -07:00
Simon Michael
cd93da6829 docs: devguide: release process updates 2015-07-12 15:09:35 -07:00
Simon Michael
89513fc256 stats: support -o/--outputfile, useful for benchmarks 2015-06-25 16:31:57 -07:00
Simon Michael
976e34cd7c doc: mention postingless transactions 2015-06-12 13:54:31 -07:00
Simon Michael
b9883d9eb1 query: make real: equivalent to real:1 2015-06-12 06:23:34 -07:00
Simon Michael
892718a5d9 doc: faq: ui surprises 2015-06-05 17:23:06 -07:00
Simon Michael
b9b0417e41 doc: manual: more width-setting examples 2015-06-02 14:12:54 -07:00
Simon Michael
2b30ed91a6 doc: manual: virtual postings, and with assertions 2015-06-01 13:05:47 -07:00
Imuli
5fd5d77685 doc: manual: read multiple files 2015-05-28 10:40:49 -07:00
Simon Michael
77280676d4 doc: manual: change journal screenshot 2015-05-25 18:25:31 -07:00
Simon Michael
4b33ad81e0 site: a few front page screenshots 2015-05-25 18:15:02 -07:00
Simon Michael
6d0343817c doc: style devguide, howtos 2015-05-25 17:56:45 -07:00
Simon Michael
5e7fd191f2 doc: update/style tutorial 2015-05-25 17:55:39 -07:00
Simon Michael
5df44c711e doc: web rewrites/screenshots, add-on examples 2015-05-25 08:44:00 -07:00
Simon Michael
96343bf615 site: enable highslide for image thumbnails 2015-05-25 08:42:00 -07:00
Simon Michael
28175a456c site: fix styles and js when browsing on localhost 2015-05-25 08:40:27 -07:00
Simon Michael
35fb60d773 site: some hledger-web/sample.journal screenshots 2015-05-25 08:38:40 -07:00
Simon Michael
74268f6624 doc: manual: float-clearing tweaks 2015-05-22 17:53:16 -07:00
Simon Michael
ef5c7f5471 doc: manual: adjust register examples to 80 columns 2015-05-22 17:42:08 -07:00
Simon Michael
68409eca7b doc: manual: clarify secondary & posting dates 2015-05-22 17:41:36 -07:00
Simon Michael
be56a140f6 site: bigger main heading 2015-05-22 16:48:52 -07:00
Simon Michael
1d78b4ee9c site, doc:manual: pre/code styling
- less styling on inline and block pre and code elements by default

- different styles for journal (green), timelog (yellow), csv
  rules (blue), and shell examples (black/bordered/bold)

- shrink pre blocks to fit their content. I used display:inline-block
  for this, so some care is needed when you want a line break between
  adjacent pre's.
2015-05-22 16:41:41 -07:00
Simon Michael
6ec38b56b5 doc: manual: lots of examples, rewrites, cleanups 2015-05-22 16:40:18 -07:00
Simon Michael
7ab2380fd2 doc: manual: promote some amount subtopics 2015-05-21 17:23:52 -07:00
Simon Michael
87d5ddfb71 query: drop the empty: query term
This seems to be equivalent to the --empty option, and overlaps
a bit confusingly with amt:0. I think we can drop it.
2015-05-21 16:44:11 -07:00
Simon Michael
131259105d doc: manual: clarify date: 2015-05-21 16:25:29 -07:00
Simon Michael
fdc507bd13 match tag names with a regexp, like everything else 2015-05-21 16:25:19 -07:00
Simon Michael
92aaeb1109 doc: manual: rewrites & cleanups
Conflicts:
	doc/manual.md
2015-05-21 15:42:06 -07:00
Simon Michael
e23f61b771 doc: manual: de-emphasize troubleshooting subtopics 2015-05-21 15:38:11 -07:00
Simon Michael
cdc4abb497 doc: manual: reorganise the intro
Try to provide a smoother and shorter path for getting started,
and expose the interesting stuff (what commands are available) early.
2015-05-21 07:11:51 -07:00
Simon Michael
915ab1a0c9 doc: manual: commands cleanups 2015-05-19 22:04:21 -07:00
Simon Michael
797c900256 doc: devguide: link new hackage builder, other updates 2015-05-19 16:26:10 -07:00
Simon Michael
4aef02a722 doc: manual: mention hledger-diff 2015-05-19 16:26:09 -07:00
Simon Michael
7c2ebe6c7a doc: manual: document our regular expressions (#224) 2015-05-17 16:46:47 -07:00
Simon Michael
e63ca9766d doc: manual: demote final sections to appendices 2015-05-17 16:44:35 -07:00
Simon Michael
d1f63334ee handle pending status correctly, add --pending (#250)
A transaction/posting status of ! (pending) was effectively equivalent
to * (cleared). Now it's a separate state, not matched by --cleared.
The new Ledger-compatible --pending flag matches it, and so does
--uncleared. The equivalent search queries are now status:*, status:!
and status: (the old status:1 and status:0 spellings are deprecated).

Since we interpret --uncleared and status: as "any state except cleared",
it's not currently possible to match things which are neither cleared
nor pending.
2015-05-16 11:51:35 -07:00