172 |
172 |
173 def internalshelp(ui): |
173 def internalshelp(ui): |
174 """Generate the index for the "internals" topic.""" |
174 """Generate the index for the "internals" topic.""" |
175 lines = [] |
175 lines = [] |
176 for names, header, doc in internalstable: |
176 for names, header, doc in internalstable: |
177 lines.append(' :%s: %s' % (names[0], header)) |
177 lines.append(' :%s: %s\n' % (names[0], header)) |
178 |
178 |
179 return '\n'.join(lines) |
179 return ''.join(lines) |
180 |
180 |
181 helptable = sorted([ |
181 helptable = sorted([ |
182 (["config", "hgrc"], _("Configuration Files"), loaddoc('config')), |
182 (["config", "hgrc"], _("Configuration Files"), loaddoc('config')), |
183 (["dates"], _("Date Formats"), loaddoc('dates')), |
183 (["dates"], _("Date Formats"), loaddoc('dates')), |
184 (["patterns"], _("File Name Patterns"), loaddoc('patterns')), |
184 (["patterns"], _("File Name Patterns"), loaddoc('patterns')), |