Commit Graph

326 Commits

Author SHA1 Message Date
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