Commit graph

5772 commits

Author SHA1 Message Date
Alexis Hildebrandt
bc487be14b [doc] Improve example for environment variable options
[ci skip]
2015-01-29 16:23:48 +01:00
Alexis Hildebrandt
2547096dc5 Merge pull request #384 from thdox/add-to-doc5
[doc] Improve documentation about "balance assertions" and --permissive

[ci skip]
2015-01-29 13:13:11 +01:00
thdox
7c9750edca Remove back-link from option to section "balance assertions".
Add forward-link from section to option.
Add option to @findex
2015-01-28 23:13:05 +01:00
Alexis Hildebrandt
11a01f1b5a [doc] Report undocumented value expression functions
in the manpage and texinfo manual.
2015-01-27 22:02:59 +01:00
Alexis Hildebrandt
19f4f587f0 [doc] Add some expression documentation to manpage
Comment undocumented expressions, so the are reported
by test/CheckManpage.py.
2015-01-27 22:02:59 +01:00
Alexis Hildebrandt
370e44d61e [doc] Change wording in manpage
[ci skip]
2015-01-27 22:02:59 +01:00
Alexis Hildebrandt
690e6b6cbe [doc] Add documentation of some expressions
to manpage.

[ci skip]
2015-01-27 22:02:59 +01:00
Alexis Hildebrandt
8c48ca879b [doc] Change wording in manpage
[ci skip]
2015-01-27 22:02:58 +01:00
Alexis Hildebrandt
eca8ffc016 [doc] Improve examples in manpage
[ci skip]
2015-01-27 22:02:58 +01:00
Alexis Hildebrandt
2664343b15 [doc] Fix typo in manpage
[ci skip]
2015-01-27 22:02:58 +01:00
Alexis Hildebrandt
bc16de720e [doc] Improve documentation for option aliases
in mapnpage.

[ci skip]
2015-01-27 22:02:58 +01:00
Alexis Hildebrandt
141e7787f5 [doc] Minor typographical changes in manpage
[ci skip]
2015-01-27 22:02:58 +01:00
Alexis Hildebrandt
fccb300044 [doc] Comment empty items in manpage
[ci skip]
2015-01-27 22:02:58 +01:00
Alexis Hildebrandt
f9f2440451 [doc] Change wording in manpage
[ci skip]
2015-01-27 22:02:33 +01:00
Alexis Hildebrandt
217193608a [doc] Use specific example to explain environment vars
[ci skip]
2015-01-27 22:02:33 +01:00
Alexis Hildebrandt
6a96a4e68a [doc] Use Tn for HTTP and XML in manpage
[ci skip]
2015-01-27 22:02:33 +01:00
Alexis Hildebrandt
d8bbc40005 [doc] Use .Nm instead of [Ll]edger in manpage
[ci skip]
2015-01-27 22:02:33 +01:00
Alexis Hildebrandt
ce4511a220 [doc] Replace Nm with Sy, Cm, Pa in manpage
[ci skip]
2015-01-27 22:02:33 +01:00
Alexis Hildebrandt
37777c284c [doc] Correct Ar placholders in manpage
[ci skip]
2015-01-27 22:02:33 +01:00
Alexis Hildebrandt
7634086465 [doc] Replace Nm with more appropriate macros
in manpage such as Fl, Ar, Ev, Em, etc.

[ci skip]
2015-01-27 22:01:57 +01:00
Alexis Hildebrandt
0f04246e43 [doc] Improve quoting in manpage
[ci skip]
2015-01-27 22:01:57 +01:00
Alexis Hildebrandt
91862091c0 [doc] Replace .Nm with .Ic where appropriate
According to mdoc (7) "The `.Nm' macro is used for the document title or
subject name.  It has the peculiarity of remembering the first argument
it was called with, which should always be the subject name of the page."

Therefore it should only be used the print `ledger` in the manpage

For the Ledger commands register, balance, etc The .Ic (internal
command) is much better suited.
[ci skip]
2015-01-27 22:01:57 +01:00
Alexis Hildebrandt
2d33ddf12f [doc] Use ASCII single quote as apostrophe
[ci skip]
2015-01-27 22:01:57 +01:00
Alexis Hildebrandt
18e5fa969f [doc] Change FILES section into a Pathname list
[ci skip]
2015-01-27 22:01:57 +01:00
Alexis Hildebrandt
185656e191 [doc] Add tests to value and format expressions
and change formatting for value expressions using @defun, @defvar.
2015-01-27 22:01:57 +01:00
Alexis Hildebrandt
3d7eb24151 [doc] Improve @smallexample command line parsing
by using Python shlex.
2015-01-27 22:01:09 +01:00
Alexis Hildebrandt
3b74b20edd [doc] Add texinfo reference for permissive option
to related balance assertions section.

[ci skip]
2015-01-27 21:58:41 +01:00
Alexis Hildebrandt
c637bdded0 Merge pull request #382 from thdox/add-to-doc
Add documentation for --no-pager option.
2015-01-27 21:53:01 +01:00
Alexis Hildebrandt
fcb040f643 Merge pull request #383 from thdox/add-to-doc2
Add documentation for option --permissive.

[ci skip]
2015-01-27 21:52:35 +01:00
Alexis Hildebrandt
f6fa4de9c5 [tests] Grep for option alternates during checks 2015-01-25 11:51:50 +01:00
Alexis Hildebrandt
d94d164b65 [tests] Ignore comment lines when checking texinfo
so that "empty" options are also reported as undocumented.
2015-01-23 16:36:07 +01:00
Alexis Hildebrandt
2d45bd8c25 [tools] Improve prepare git commit message hook
by ignoring merge commits and commits with a message
already containing `[ci skip]`.
2015-01-23 16:20:39 +01:00
Alexis Hildebrandt
2030240849 [tests] Move untested_options to CheckBaselineTests 2015-01-22 07:25:49 +01:00
thdox
991b3f25b1 Rename file from test/regress/634AA589.test to
test/baseline/opt-permissive.test. Actually 634AA589 is the initial
commit that created permissive option.
2015-01-22 02:00:40 +01:00
thdox
97a6761ca7 Add documentation for option --permissive. 2015-01-22 01:35:14 +01:00
thdox
6b5ff2aebf Add documentation for --no-pager option.
Minor updates to --pager documentation.
[ci skip]
2015-01-22 00:57:20 +01:00
Craig Earls
bec52e3221 Merge pull request #381 from thdox/bugzilla-1105-2
Bugzilla 1105

Thanks.
2015-01-21 06:27:33 -07:00
thdox
c278e91346 Add prefix ledger-reconcile- to s-functions to not conflict with
original s.el
2015-01-21 10:50:27 +01:00
thdox
12c563614c Add documentation for bugzilla #1105, and align documentation between
ledger-reconcile.el and ledger-mode.texi.
2015-01-21 10:50:24 +01:00
thdox
37f10ab75c Minor documentation fixes 2015-01-21 10:50:22 +01:00
thdox
eb9672c550 Fix for bugzilla #1105.
You can now maximize the number of characters displayed for payee name
and account name in the reconcile buffer.
2015-01-21 10:50:20 +01:00
Alexis Hildebrandt
47dbddf5af [tests] Capture stderr when running DocTests 2015-01-21 10:32:50 +01:00
Alexis Hildebrandt
ba46240921 [tests] Improve option parsing in CheckTexinfo.py
* Replace @ftable @code argument with @option of @command depending
  on the documented items

* Remove @c option comment from @items documenting options
2015-01-21 08:03:53 +01:00
Alexis Hildebrandt
c7a30bf7d8 [tests] Refactor CheckTests.py into custom scripts 2015-01-21 08:03:53 +01:00
Alexis Hildebrandt
213f0341c1 [doc] Comment undocumented options in manpage
so that they are reported properly by test/CheckTests.py
2015-01-21 08:03:35 +01:00
John Wiegley
7690a1b587 Merge pull request #379 from afh/pull/trim
[fix] Make trim function trim trailing whitespace
2015-01-20 15:40:40 -06:00
Alexis Hildebrandt
17189b8106 [fix] Make trim function trim trailing whitespace
std::isspace(*e) returns false for the end of c-string null-byte.

Bugzilla: 1106
2015-01-20 22:18:32 +01:00
Alexis Hildebrandt
4ec3c93829 [doc] Remove unsupported value expressions
The following value expressions result in an error: A, B, g, G, I, v, V

Tested using:
% for o in A B g G I v V; do
  ledger -f test/input/sample.dat -F "%(${o}(amount))\n" reg
done
While handling posting from "test/input/sample.dat", line 17:
>     Assets:Bank:Checking                           $1,000.00
Error: The A value expression variable is no longer supported
...

[ci skip]
2015-01-20 17:20:14 +01:00
Alexis Hildebrandt
197fb6d9b6 [doc] Add more tests 2015-01-20 17:18:29 +01:00
Alexis Hildebrandt
9032f49bef [doc] Document some value expressions in manpage
[ci skip]
2015-01-20 17:18:13 +01:00