diff extensions/kwarchive.py @ 87:a9b532915ce0

Document the "reST" marker within patterns
author Franz Glasner <hg@dom66.de>
date Fri, 23 Feb 2018 13:53:51 +0100
parents 46198968dc5a
children a40cf98f7f8d
line wrap: on
line diff
--- a/extensions/kwarchive.py	Fri Feb 23 13:34:35 2018 +0100
+++ b/extensions/kwarchive.py	Fri Feb 23 13:53:51 2018 +0100
@@ -20,6 +20,8 @@
     # expand keywords in every python file except those matching "x*"
     **.py =
     x*    = NO
+    # this file has reStructuredText style keyword expansion "|VCS<kw>|"
+    path:VERSION = reST
 
 A non-existing ``.hgkwarchive`` file deactivates keyword expansion as does
 an empty ``[patterns]`` section.