Add cross-ref for bucket and year.

On top of @node, @xref{} can also be linked to @anchor.
[ci skip]
This commit is contained in:
thdox 2015-01-20 12:49:58 +01:00
parent dbf1574ab7
commit c066156f09

View file

@ -2262,6 +2262,7 @@ assert <VALUE EXPRESSION BOOLEAN RESULT>
@end smallexample @end smallexample
@item bucket @item bucket
@anchor{bucket}
@c instance_t::default_account_directive @c instance_t::default_account_directive
Defines the default account to use for balancing transactions. Defines the default account to use for balancing transactions.
Normally, each transaction has at least two postings, which must Normally, each transaction has at least two postings, which must
@ -2540,6 +2541,7 @@ This is a synonym for @code{comment} and must be closed by an
@code{end} tag. @code{end} tag.
@item year @item year
@anchor{year}
@c instance_t::year_directive in textual.cc @c instance_t::year_directive in textual.cc
Denotes the year used for all subsequent transactions that give a date Denotes the year used for all subsequent transactions that give a date
without a year. The year should appear immediately after the without a year. The year should appear immediately after the
@ -2556,11 +2558,11 @@ alone, for backwards compatibility with older Ledger versions.
@item A @item A
@findex A @findex A
See @code{bucket}. @xref{bucket}.
@item Y @item Y
@findex Y @findex Y
See @code{year}. @xref{year}.
@item N SYMBOL @item N SYMBOL
@findex N @findex N