diff contrib/check-code.py @ 20532:f1a3ae7c15df

help: remove last occurrences of ".. note::" without two newlines When we add two newlines after ".. note::" translators will not see this entry. And all versions of docutils interpret this paragraph correctly (details in de16c673455b).
author Simon Heimberg <simohe@besonet.ch>
date Wed, 19 Feb 2014 13:25:28 +0100
parents ea005e754c9c
children e57e2da803aa
line wrap: on
line diff
--- a/contrib/check-code.py	Tue Feb 18 14:48:56 2014 -0800
+++ b/contrib/check-code.py	Wed Feb 19 13:25:28 2014 +0100
@@ -311,6 +311,7 @@
 txtpats = [
   [
     ('\s$', 'trailing whitespace'),
+    ('.. note::[ \n][^\n]', 'add two newlines after note::')
   ],
   []
 ]