diff --git a/doc/lib.m4 b/doc/lib.m4 index 2c20e86b4..db185e7f3 100644 --- a/doc/lib.m4 +++ b/doc/lib.m4 @@ -20,3 +20,10 @@ m4_define({{_col3_}}, m4_define({{_shell_}}, {{```{.shell .clear}$1```}})m4_dnl m4_define({{_shellbold_}}, {{```{.shell .bold .clear}$1```}})m4_dnl m4_define({{_journal_}}, {{```{.journal .clear}$1```}})m4_dnl +m4_define({{_currentrelease_}}, {{0.27}})m4_dnl +m4_define({{_versions_}}, +{{
+version: +dev +| _currentrelease_() +
}})m4_dnl diff --git a/hledger-api/doc/hledger-api.1.m4.md b/hledger-api/doc/hledger-api.1.m4.md index 97429c9aa..609008ac5 100644 --- a/hledger-api/doc/hledger-api.1.m4.md +++ b/hledger-api/doc/hledger-api.1.m4.md @@ -3,6 +3,8 @@ % January 2016
+_versions_({{hledger-api}}) + * toc
diff --git a/hledger-lib/doc/hledger_csv.5.m4.md b/hledger-lib/doc/hledger_csv.5.m4.md index 25b4f9292..09d2d3112 100644 --- a/hledger-lib/doc/hledger_csv.5.m4.md +++ b/hledger-lib/doc/hledger_csv.5.m4.md @@ -3,6 +3,8 @@ % April 2016
+_versions_({{csv}}) + * toc
diff --git a/hledger-lib/doc/hledger_journal.5.m4.md b/hledger-lib/doc/hledger_journal.5.m4.md index 613c79fa5..be35b970e 100644 --- a/hledger-lib/doc/hledger_journal.5.m4.md +++ b/hledger-lib/doc/hledger_journal.5.m4.md @@ -3,6 +3,8 @@ % April 2016
+_versions_({{journal}}) + * toc
diff --git a/hledger-lib/doc/hledger_timeclock.5.m4.md b/hledger-lib/doc/hledger_timeclock.5.m4.md index 4bda18317..f6f41d92f 100644 --- a/hledger-lib/doc/hledger_timeclock.5.m4.md +++ b/hledger-lib/doc/hledger_timeclock.5.m4.md @@ -3,6 +3,8 @@ % April 2016
+_versions_({{timeclock}}) + * toc
diff --git a/hledger-lib/doc/hledger_timedot.5.m4.md b/hledger-lib/doc/hledger_timedot.5.m4.md index b8e890ccf..55e83d5a0 100644 --- a/hledger-lib/doc/hledger_timedot.5.m4.md +++ b/hledger-lib/doc/hledger_timedot.5.m4.md @@ -3,6 +3,8 @@ % April 2016
+_versions_({{timedot}}) + * toc
diff --git a/hledger-ui/doc/hledger-ui.1.m4.md b/hledger-ui/doc/hledger-ui.1.m4.md index c930cb3af..23975e66b 100644 --- a/hledger-ui/doc/hledger-ui.1.m4.md +++ b/hledger-ui/doc/hledger-ui.1.m4.md @@ -3,6 +3,8 @@ % October 2015
+_versions_({{hledger-ui}}) + * toc