Commit Graph

4223 Commits

Author SHA1 Message Date
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
Simon Michael
176f27a884 doc: manual: begin "timelog" -> "timeclock" rename 2016-02-19 19:55:15 -08:00
Simon Michael
8badaf3b87 doc: timedot doc fixes 2016-02-19 18:04:33 -08:00
Simon Michael
06b54bf05e lib: timedot format, convenient for time logging
Timedot is a plain text format for logging dated, categorised
quantities (eg time), supported by hledger.  It is convenient for
approximate and retroactive time logging, eg when the real-time
clock-in/out required with a timeclock file is too precise or too
interruptive.  It can be formatted like a bar chart, making clear at a
glance where time was spent.
2016-02-19 17:55:57 -08:00
Simon Michael
36970f7b19 lib: fix balance assertion test 2016-02-19 17:52:40 -08:00
Simon Michael
b744033a28 tools: make ghci-api 2016-02-19 17:52:40 -08:00
Simon Michael
5697fbbd43 api: drop redundant imports 2016-02-19 17:52:40 -08:00
Simon Michael
f36c4a2a91 mark todo 2016-02-19 17:52:40 -08:00
Simon Michael
01abf4a56d typo 2016-02-19 17:52:40 -08:00
Simon Michael
bd84942349 site: faq: history: cleanup 2016-02-18 10:09:14 -08:00
Simon Michael
8370d2ec63 site: faq: history: yet another cleanup/cheer-up 2016-02-18 09:43:20 -08:00
Simon Michael
aa1fc3f2f2 site: faq: history: clean up, cheer up 2016-02-17 15:25:21 -08:00