Skip to content

Commit

Permalink
manuals: fix account types links [#126]
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichael committed Jan 22, 2025
1 parent 14c5657 commit 55eb132
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions src/1.23/hledger.md
Original file line number Diff line number Diff line change
Expand Up @@ -5616,11 +5616,11 @@ expressions](#regular-expressions):
^expenses?(:|$) | Expense

For people using standard english account names, this feature helps
hledger's [high-level reports](#declaring-account-types) work out of the
hledger's [high-level reports](#account-types) work out of the
box with minimal configuration.

If you use non-english account names, you should [declare account
types](#declaring-account-types) to make these reports work. And more
types](#account-types) to make these reports work. And more
generally, declaring accounts and types is usually a good idea, for
increased clarity and predictability (and for the other benefits of
account directives: error checking, display order, etc).
Expand Down
2 changes: 1 addition & 1 deletion src/1.24/hledger.md
Original file line number Diff line number Diff line change
Expand Up @@ -5308,7 +5308,7 @@ And here are all the directives and their precise effects:

| directive | effects | ends at file end? |
|------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------|
| **[`account`](#declaring-accounts)** | Declares an account, for [checking](#check) all entries in all files; <br>and its [display order](#account-display-order) and [type](#declaring-account-types), for reports. <br>Subdirectives: any text, ignored. | |
| **[`account`](#declaring-accounts)** | Declares an account, for [checking](#check) all entries in all files; <br>and its [display order](#account-display-order) and [type](#account-types), for reports. <br>Subdirectives: any text, ignored. | |
| **[`alias`](#rewriting-accounts)** | Rewrites account names, in following entries until end of current file or [`end aliases`](#end-aliases). | Y |
| **[`apply account`](#default-parent-account)** | Prepends a common parent account to all account names, in following entries until end of current file or [`end apply account`](#end-apply-account). | Y |
| **[`comment`](#comment-blocks)** | Ignores part of the journal file, until end of current file or [`end comment`](#end-comment). | Y |
Expand Down
2 changes: 1 addition & 1 deletion src/1.25/hledger.md
Original file line number Diff line number Diff line change
Expand Up @@ -5589,7 +5589,7 @@ And here are all the directives and their precise effects:

| directive | effects | ends at file end? |
|------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------|
| **[`account`](#declaring-accounts)** | Declares an account, for [checking](#check) all entries in all files; <br>and its [display order](#account-display-order) and [type](#declaring-account-types), for reports. <br>Subdirectives: any text, ignored. | |
| **[`account`](#declaring-accounts)** | Declares an account, for [checking](#check) all entries in all files; <br>and its [display order](#account-display-order) and [type](#account-types), for reports. <br>Subdirectives: any text, ignored. | |
| **[`alias`](#rewriting-accounts)** | Rewrites account names, in following entries until end of current file or [`end aliases`](#end-aliases). | Y |
| **[`apply account`](#default-parent-account)** | Prepends a common parent account to all account names, in following entries until end of current file or [`end apply account`](#end-apply-account). | Y |
| **[`comment`](#comment-blocks)** | Ignores part of the journal file, until end of current file or [`end comment`](#end-comment). | Y |
Expand Down
2 changes: 1 addition & 1 deletion src/1.26/hledger.md
Original file line number Diff line number Diff line change
Expand Up @@ -5668,7 +5668,7 @@ And here are all the directives and their precise effects:

| directive | effects | ends at file end? |
|------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------|
| **[`account`](#declaring-accounts)** | Declares an account, for [checking](#check) all entries in all files; <br>and its [display order](#account-display-order) and [type](#declaring-account-types), for reports. <br>Subdirectives: any text, ignored. | |
| **[`account`](#declaring-accounts)** | Declares an account, for [checking](#check) all entries in all files; <br>and its [display order](#account-display-order) and [type](#account-types), for reports. <br>Subdirectives: any text, ignored. | |
| **[`alias`](#rewriting-accounts)** | Rewrites account names, in following entries until end of current file or [`end aliases`](#end-aliases). | Y |
| **[`apply account`](#default-parent-account)** | Prepends a common parent account to all account names, in following entries until end of current file or [`end apply account`](#end-apply-account). | Y |
| **[`comment`](#comment-blocks)** | Ignores part of the journal file, until end of current file or [`end comment`](#end-comment). | Y |
Expand Down
2 changes: 1 addition & 1 deletion src/1.27/hledger.md
Original file line number Diff line number Diff line change
Expand Up @@ -5856,7 +5856,7 @@ And here are all the directives and their precise effects:

| directive | effects | ends at file end? |
|------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------|
| **[`account`](#declaring-accounts)** | Declares an account, for [checking](#check) all entries in all files; <br>and its [display order](#account-display-order) and [type](#declaring-account-types), for reports. <br>Subdirectives: any text, ignored. | |
| **[`account`](#declaring-accounts)** | Declares an account, for [checking](#check) all entries in all files; <br>and its [display order](#account-display-order) and [type](#account-types), for reports. <br>Subdirectives: any text, ignored. | |
| **[`alias`](#rewriting-accounts)** | Rewrites account names, in following entries until end of current file or [`end aliases`](#end-aliases). | Y |
| **[`apply account`](#default-parent-account)** | Prepends a common parent account to all account names, in following entries until end of current file or [`end apply account`](#end-apply-account). | Y |
| **[`comment`](#comment-blocks)** | Ignores part of the journal file, until end of current file or [`end comment`](#end-comment). | Y |
Expand Down
2 changes: 1 addition & 1 deletion src/1.28/hledger.md
Original file line number Diff line number Diff line change
Expand Up @@ -5895,7 +5895,7 @@ And here are all the directives and their precise effects:

| directive | effects | ends at file end? |
|------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------|
| **[`account`](#declaring-accounts)** | Declares an account, for [checking](#check) all entries in all files; <br>and its [display order](#account-display-order) and [type](#declaring-account-types), for reports. <br>Subdirectives: any text, ignored. | |
| **[`account`](#declaring-accounts)** | Declares an account, for [checking](#check) all entries in all files; <br>and its [display order](#account-display-order) and [type](#account-types), for reports. <br>Subdirectives: any text, ignored. | |
| **[`alias`](#rewriting-accounts)** | Rewrites account names, in following entries until end of current file or [`end aliases`](#end-aliases). | Y |
| **[`apply account`](#default-parent-account)** | Prepends a common parent account to all account names, in following entries until end of current file or [`end apply account`](#end-apply-account). | Y |
| **[`comment`](#comment-blocks)** | Ignores part of the journal file, until end of current file or [`end comment`](#end-comment). | Y |
Expand Down
2 changes: 1 addition & 1 deletion src/1.29/hledger.md
Original file line number Diff line number Diff line change
Expand Up @@ -1922,7 +1922,7 @@ entries (transactions) it affects:

| directive | what it does | ends at file end? |
|-----|----------------------------------------------------------------|----|
| **[`account`](#accounts)** | Declares an account, for [checking](#check) all entries in all files; <br>and its [display order](#account-display-order) and [type](#declaring-account-types). <br>Subdirectives: any text, ignored. | N |
| **[`account`](#accounts)** | Declares an account, for [checking](#check) all entries in all files; <br>and its [display order](#account-display-order) and [type](#account-types). <br>Subdirectives: any text, ignored. | N |
| **[`alias`](#account-aliases)** | Rewrites account names, in following entries until end of current file or [`end aliases`](#end-aliases). <br>Command line equivalent: [`--alias`](#account-aliases) | Y |
| **[`comment`](#file-comment)** | Ignores part of the journal file, until end of current file or `end comment`. | Y |
| **[`commodity`](#commodities)** | Declares up to four things: <br>1. a commodity symbol, for checking all amounts in all files <br>2. the decimal mark for parsing amounts of this commodity, in the following entries until end of current file (if there is no `decimal-mark` directive) <br>3. and the display style for amounts of this commodity <br>4. which is also the precision to use for balanced-transaction checking in this commodity.<br> Takes precedence over `D`. <br>Subdirectives: `format` (Ledger-compatible syntax). <br>Command line equivalent: [`-c/--commodity-style`](#commodity-styles) | N,<br>Y,<br>N,<br>N |
Expand Down
Loading

0 comments on commit 55eb132

Please sign in to comment.