comparison 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
comparison
equal deleted inserted replaced
27577:f9e755736b0e 27578:d35ff0b0d0da
1785 </a> 1785 </a>
1786 </td><td> 1786 </td><td>
1787 This is the topic to test omit indicating. 1787 This is the topic to test omit indicating.
1788 </td></tr> 1788 </td></tr>
1789 1789
1790
1790 <tr><td colspan="2"><h2><a name="main" href="#main">Main Commands</a></h2></td></tr> 1791 <tr><td colspan="2"><h2><a name="main" href="#main">Main Commands</a></h2></td></tr>
1791 1792
1792 <tr><td> 1793 <tr><td>
1793 <a href="/help/add"> 1794 <a href="/help/add">
1794 add 1795 add
1907 </a> 1908 </a>
1908 </td><td> 1909 </td><td>
1909 update working directory (or switch revisions) 1910 update working directory (or switch revisions)
1910 </td></tr> 1911 </td></tr>
1911 1912
1913
1914
1912 <tr><td colspan="2"><h2><a name="other" href="#other">Other Commands</a></h2></td></tr> 1915 <tr><td colspan="2"><h2><a name="other" href="#other">Other Commands</a></h2></td></tr>
1913 1916
1914 <tr><td> 1917 <tr><td>
1915 <a href="/help/addremove"> 1918 <a href="/help/addremove">
1916 addremove 1919 addremove
2147 version 2150 version
2148 </a> 2151 </a>
2149 </td><td> 2152 </td><td>
2150 output version and copyright information 2153 output version and copyright information
2151 </td></tr> 2154 </td></tr>
2155
2156
2152 </table> 2157 </table>
2153 </div> 2158 </div>
2154 </div> 2159 </div>
2155 2160
2156 <script type="text/javascript">process_dates()</script> 2161 <script type="text/javascript">process_dates()</script>