site: updates

This commit is contained in:
Simon Michael 2010-07-13 23:27:31 +00:00
parent 85802a4328
commit a920fa62f0
5 changed files with 29 additions and 24 deletions

View File

@ -124,13 +124,15 @@ on:
You'll find more examples below.
### File format
<a name="file-format" />
hledger's data file, aka the journal, is a plain text representation of a
standard accounting
[general journal](http://en.wikipedia.org/wiki/General_journal). It
contains a number of transactions, each describing a transfer of money (or
another commodity) between two or more named accounts. Here's an example:
### Journal file
hledger's data file, aka the journal, is a standard accounting
[general journal](http://en.wikipedia.org/wiki/General_journal) in a plain
text format. It contains a number of transactions, each describing a
transfer of money (or another commodity) between two or more named
accounts. Here's an example:
; A sample journal file. This is a comment.
@ -739,9 +741,9 @@ You can pull in the content of additional journal files, by writing lines like t
The `!include` directive may only be used in journal files, and currently
it may only include other journal files (eg, not timelog files.)
#### Set parent account
#### Default parent account
You can specify a default parent account in a section of the journal with
You can specify a default parent account within a section of the journal with
the `!account` directive:
!account home

View File

@ -20,14 +20,14 @@ I use it every day to:
Here is a demo_ of the web interface.
Here are ready-to-run binaries_ for mac, windows and gnu/linux.
They are not always the `latest release`_, sorry about that.
They are not the `current release`_, sorry about that.
Here is the manual_.
For support and more technical info, see `hledger for techies`_ or `email me`_.
For support and more technical info, see `development`_ or `email me`_.
.. (If you're reading this in plain text, see also README2, MANUAL etc., or http://hledger.org)
.. _hledger for techies: README2.html
.. _development: README2.html
.. _manual: MANUAL.html
.. _demo: http://demo.hledger.org
.. _binaries: http://hledger.org/binaries/
@ -36,4 +36,4 @@ For support and more technical info, see `hledger for techies`_ or `email me`_.
.. _32 bit intel: http://hledger.org/binaries/hledger-0.6.1+9-linux-i386.gz
.. _64 bit intel: http://hledger.org/binaries/hledger-0.6-linux-x86_64.gz
.. _email me: mailto:simon@joyful.com
.. _latest release: http://hledger.org/MANUAL.html#installing
.. _current release: http://hledger.org/MANUAL.html#installing

View File

@ -1,12 +1,14 @@
---
title: hledger for techies
title: hledger development
---
hledger for techies
hledger development
===================
**Techie intro**
hledger_ is a remix, in haskell_, of John Wiegley's excellent ledger_ accounting tool.
It reads a plain text `ledger file`_ or timelog_ describing your transactions
and displays reports via `command line`_, curses_ or `web interface`_ (click for a demo).
It reads a plain text journal_ or timelog_ file describing your transactions
and displays reports via command line, curses or web interfaces.
The hledger project aims to produce:
@ -43,7 +45,7 @@ hledger is free software by `Simon Michael`_ & `co.`_, released under GNU GPLv3.
- chat Simon (sm) on the `#ledger`_ irc channel which we share, or `email me`_
- report problems at `bugs.hledger.org <http://bugs.hledger.org>`_
- share and test ledger snippets at paste . hledger.org
- share and test journal snippets at paste . hledger.org
- .. raw:: html
<form action="http://groups.google.com/group/hledger/boxsubscribe" >
@ -53,7 +55,7 @@ hledger is free software by `Simon Michael`_ & `co.`_, released under GNU GPLv3.
**Related projects**
- John Wiegley's ledger_ inspired hledger, and we try to stay compatible. You can often use both tools on the same ledger file.
- John Wiegley's ledger_ inspired hledger, and we try to stay compatible. You can often use both tools on the same journal file.
- Uwe Hollerbach's umm_ is another haskell tool inspired by h/ledger.
- Tim Docker's ledger-reports_ uses hledger as a library to generate `html reports`_.
- I have a few older bits and pieces `here <http://joyful.com/Ledger>`_.
@ -65,7 +67,7 @@ hledger is free software by `Simon Michael`_ & `co.`_, released under GNU GPLv3.
.. _hledger: README.html
.. _`ledger file`: http://joyful.com/repos/hledger/sample.ledger
.. _journal: http://joyful.com/repos/hledger/sample.journal
.. _timelog: http://joyful.com/repos/hledger/sample.timelog
.. _command line: SCREENSHOTS.html#hledger-screen-1
.. _curses: SCREENSHOTS.html#sshot

View File

@ -66,6 +66,7 @@ cfg = (defaultHakyllConfiguration baseurl) {
-- stateIndentedCodeClasses = [] -- ^ Classes to use for indented code blocks
},
pandocWriterOptions = defaultWriterOptions {
-- so we can have a TOC:
writerStandalone = True, -- ^ Include header and footer
writerTemplate = pandocTemplate, -- ^ Template to use in standalone mode
-- writerVariables = [], -- ^ Variables to set in template
@ -88,7 +89,7 @@ cfg = (defaultHakyllConfiguration baseurl) {
}
}
-- the body part of pandoc 1.5.1.1's html output template, so we can have a TOC
-- the body part of pandoc 1.5.1.1's html output template
pandocTemplate = "\
\$if(title)$\
\<h1 class=\"title\">$title$</h1>\

View File

@ -12,12 +12,12 @@
<!-- <a href="$root/"><img src="$root/logo.jpg" border="0" ALT="" /></a> -->
</div>
<div id="navigation">
<a href="$root/README.html">Intro</a>
<a href="$root/README2.html">Techie Intro</a>
<a href="$root/README.html">Home</a>
<a href="$root/README2.html">Development</a>
<a href="$root/MANUAL.html">Manual</a>
<a href="http://demo.hledger.org">Demo</a>
<a href="$root/SCREENSHOTS.html">Screenshots</a>
<a href="$root/NEWS.html">News</a>
<a href="$root/SCREENSHOTS.html">Screenshots</a>
<a href="http://demo.hledger.org">Demo</a>
</div>
$body