diff mercurial/help.py @ 40642:419d703115b0

help: add internals.extensions topic I think it's better to include the API overview in core as we now have the internals section in our help system. Retrieved from the wiki, and formatted as reST. Several wiki links are removed since they are invalid in the help. The sections about example extension are removed at all as they seemed too verbose. https://www.mercurial-scm.org/wiki/WritingExtensions
author Yuya Nishihara <yuya@tcha.org>
date Mon, 12 Nov 2018 21:28:54 +0900
parents 4fe63b573791
children 05abb5fb146a
line wrap: on
line diff
--- a/mercurial/help.py	Sun Nov 04 12:51:14 2018 +0900
+++ b/mercurial/help.py	Mon Nov 12 21:28:54 2018 +0900
@@ -311,6 +311,8 @@
      loaddoc('changegroups', subdir='internals')),
     (['config'], _('Config Registrar'),
      loaddoc('config', subdir='internals')),
+    (['extensions', 'extension'], _('Extension API'),
+     loaddoc('extensions', subdir='internals')),
     (['requirements'], _('Repository Requirements'),
      loaddoc('requirements', subdir='internals')),
     (['revlogs'], _('Revision Logs'),