Mercurial > public > mercurial-scm > hg-stable
comparison 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 |
comparison
equal
deleted
inserted
replaced
20531:01a75c9d5b5e | 20532:f1a3ae7c15df |
---|---|
309 txtfilters = [] | 309 txtfilters = [] |
310 | 310 |
311 txtpats = [ | 311 txtpats = [ |
312 [ | 312 [ |
313 ('\s$', 'trailing whitespace'), | 313 ('\s$', 'trailing whitespace'), |
314 ('.. note::[ \n][^\n]', 'add two newlines after note::') | |
314 ], | 315 ], |
315 [] | 316 [] |
316 ] | 317 ] |
317 | 318 |
318 cpats = [ | 319 cpats = [ |