Mercurial > hg
diff tests/test-help.t @ 27578:d35ff0b0d0da
templates: make earlycommands and othercommands optional
We now have sub-topics in the help system. The "helptopics" template
serves as a mechanism for displaying an index of help topics.
Previously, it was only used to show the top-level list of help topics,
which includes special groupings of topics.
In the near future, we'll adapt "helptopics" for showing the index
of sub-topics. In this patch, we optionally render {earlycommands} and
{othercommands} since they aren't present on sub-topics.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 30 Dec 2015 17:12:59 -0700 |
parents | 51aff98d2861 |
children | 3aa6a8135557 |
line wrap: on
line diff
--- a/tests/test-help.t Tue Dec 29 15:32:12 2015 -0800 +++ b/tests/test-help.t Wed Dec 30 17:12:59 2015 -0700 @@ -1787,6 +1787,7 @@ This is the topic to test omit indicating. </td></tr> + <tr><td colspan="2"><h2><a name="main" href="#main">Main Commands</a></h2></td></tr> <tr><td> @@ -1909,6 +1910,8 @@ update working directory (or switch revisions) </td></tr> + + <tr><td colspan="2"><h2><a name="other" href="#other">Other Commands</a></h2></td></tr> <tr><td> @@ -2149,6 +2152,8 @@ </td><td> output version and copyright information </td></tr> + + </table> </div> </div>