help: explain how to access subtopics in internals

This commit is contained in:
Matt DeVore 2017-04-19 17:04:22 -07:00
parent 2eace305ec
commit 212fc81929
2 changed files with 4 additions and 1 deletions

View File

@ -203,7 +203,8 @@ internalstable = sorted([
def internalshelp(ui):
"""Generate the index for the "internals" topic."""
lines = []
lines = ['To access a subtopic, use "hg help internals.{subtopic-name}"\n',
'\n']
for names, header, doc in internalstable:
lines.append(' :%s: %s\n' % (names[0], header))

View File

@ -943,6 +943,8 @@ internals topic renders index of available sub-topics
Technical implementation topics
"""""""""""""""""""""""""""""""
To access a subtopic, use "hg help internals.{subtopic-name}"
bundles Bundles
censor Censor
changegroups Changegroups