Commit Graph

4234 Commits

Author SHA1 Message Date
Sergei Trofimovich
6f65aa20f8 hledger-ui.cabal: allow brick-0.5
Signed-off-by: Sergei Trofimovich <siarheit@google.com>
2016-04-04 17:20:22 -07:00
Simon Michael
31a754544a journal: parse account directives
We now parse account directives, like Ledger's. We don't do anything
with them yet. The default parent account feature must now be spelled
"apply account"/"end apply account".
2016-04-04 11:35:39 -07:00
Simon Michael
25cd65442a cli: fix opts parsing regressions from feb
Since commit 7aab544, "-f -" before the command broke command
detection, causing spurious "no such option" errors (and breaking
about 70 functional tests which neither I nor travis noticed).
2016-04-04 11:35:39 -07:00
Simon Michael
c6f1371251 home: fix twitter widget id, exclude #TheJoker 2016-04-04 07:39:57 -07:00
Simon Michael
664d5923e4 update windows download links to UPX-compressed EXEs 2016-03-21 08:45:02 -07:00
Simon Michael
a93f478792 devguide: update twitter links 2016-03-21 08:44:20 -07:00
Simon Michael
b1af0daf95 twitter widget: add #plaintextaccounting, #hledger 2016-03-21 08:20:58 -07:00
Simon Michael
19fe724b56 docs: link to new how-to (#331) 2016-03-09 07:17:02 -08:00
Simon Michael
8b2ddbc38b docs: clarify dotted account name example (#331) 2016-03-09 07:16:04 -08:00
Simon Michael
99444388af site: download: fix gentoo command 2016-03-02 18:07:13 -08:00
Simon Michael
6c02515bb1 site: download: better gentoo command 2016-03-02 17:41:32 -08:00
Simon Michael
a13910f70f fix compilation 2016-03-02 17:05:56 -08:00
Simon Michael
238545e5df site: devguide: clean up status "shields"
Eg drop the flaky github ones, and reduce layout popping by moving them
to the end of lines/sections and specifying image dimensions (requires
pandoc 1.16). The image widths can change, hopefully I've specified the
max width in each case.
2016-02-22 09:12:25 -08:00
Simon Michael
35b58d31b0 site: devguide: whitespace 2016-02-22 09:12:12 -08:00
Simon Michael
c700a5524f tools: require pandoc 1.16 for the site
For the {width=100 height=20} image attribute syntax.
Also give it a stack.yaml of its own for now, since hledger
is stuck at lts 4.2 for hledger-api.
2016-02-22 09:09:02 -08:00
Simon Michael
0912d5ebbe tools: git ignore 2016-02-21 12:43:53 -08:00
Simon Michael
671ade5062 site: simplify, clean up, refresh
- Docs are now collected on a single page
- Lots of copy updates
- The front page is less cluttered
- More whitespace at the sides
- The (still WIP) man pages are now linked
- Describe and link to plaintextaccounting.org
2016-02-21 12:39:32 -08:00
Simon Michael
848309c3f9 site: home: normal font size, remove screencast 2016-02-21 07:11:41 -08:00
Simon Michael
9354687f4f doc: commit a missing nroff file 2016-02-21 02:42:11 -08:00
Simon Michael
a1340b6515 doc: fixup for web manual 2016-02-21 02:38:58 -08:00
Simon Michael
931a1d5b9e hlint 2016-02-21 02:37:59 -08:00
Simon Michael
5acb82e627 notes 2016-02-21 02:37:03 -08:00
Simon Michael
8fe2cd7ece whitespace 2016-02-21 02:34:36 -08:00
Simon Michael
2dbe07a666 doc: mark up man pages for man/web rendering
And commit the latest nroff output. It'll need retesting.
2016-02-21 02:32:40 -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
ed0ec6d849 Revert "doc: try making hledger-ui web manual from man page"
This wasn't right, leave the UI doc in the manual as it was for now.
2016-02-20 23:58:07 -08:00
Simon Michael
6259701842 prettify/hlint 2016-02-20 20:12:02 -08:00
Simon Michael
494c74f81b tools: hide package.yaml files to fix travis
The latest stack runs a buggy hpack that generates invalid
cabal files. Rename them to future-package.yaml for now.
2016-02-20 19:07:49 -08:00
Simon Michael
cc445a24a1 Merge pull request #325 from jungle-boogie/patch-1
minor copyedits
2016-02-20 17:41:21 -08:00
jungle-boogie
a2289dc196 Update step-by-step.md 2016-02-20 17:38:11 -08:00
Simon Michael
87e9421abe site: download: move vagrant, drop old screencast 2016-02-20 16:59:56 -08:00
jungle-boogie
71ce7e3a08 minor copyedits
some small edits
2016-02-20 16:59:42 -08:00
Simon Michael
c97d2cfe6b doc: timedot: link to account aliases 2016-02-20 10:30:09 -08:00
Simon Michael
e5adaff188 doc: timedot: add sample reports 2016-02-20 10:26:42 -08:00
Simon Michael
a9afd7bcbe lib: slightly better journal/time format detection
The Journal, Timelog and Timedot readers' detectors now check
each line in the sample data, not just the first one. I think
the sample data is only about 30 chars right now, but even so
this fixed a format detection issue I was seeing.
2016-02-19 23:02:10 -08:00
Simon Michael
70863ae40b lib: timedot allow indenting 2016-02-19 22:58:08 -08:00
Simon Michael
4b4a4bacf7 lib: timedot parse order fix 2016-02-19 22:57:43 -08:00
Simon Michael
0adcdf21f8 lib: timedot parsing fix 2016-02-19 22:57:06 -08:00
Simon Michael
b26dd3d9b0 lib: fix timedot comments 2016-02-19 22:55:30 -08:00
Simon Michael
dd77ac4c0a lib: note debugLevel gotcha in GHCI 2016-02-19 22:54:38 -08:00
Simon Michael
7aab544cf6 cli: make argument-less --debug more robust 2016-02-19 22:53:25 -08:00
Simon Michael
baeca07440 doc: note include does not support * 2016-02-19 22:51:18 -08:00
Simon Michael
269f7afe33 doc: try making hledger-ui web manual from man page 2016-02-19 22:49:45 -08:00
Simon Michael
2b4cb6b970 cli: shorter help mockup updates 2016-02-19 22:48:59 -08:00
Simon Michael
c9937db10e lib: show txn's file position in assertion errors 2016-02-19 22:48:59 -08:00
Simon Michael
92d5b0ab3d tools: try making web manual from man pages, WIP 2016-02-19 22:39:13 -08:00
Simon Michael
8677d01024 tools: exclude some js files from LOC count 2016-02-19 22:05:41 -08:00
Simon Michael
0a7fb17635 fix two failing tests 2016-02-19 21:45:39 -08:00
Simon Michael
1cf223a2db lib: finish move of reading utils, useful for 320
It seems this already began in today's timedot commit.
2016-02-19 21:37:12 -08:00
Simon Michael
00656e62bf site: faq: history: today's cleanup/brighten-up 2016-02-19 19:55:37 -08:00