changeset 16510:c7c9473fcc46 stable

docs: don't use :hg: at the beginning of lines in notes (issue3397) It seem like docutils 0.8 interpret ':hg:`command`' roles at the beginning of indented lines in '.. note::' directives as a field that is an invalid argument to the directive. It fails with 'Error in "note" directive: invalid option block.' Docutils 0.7 accepted this arguably incorrect markup. Reflowing the text makes the problem go away. A leading '\ ' could perhaps also be used to mask the problem.
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 25 Apr 2012 23:28:54 +0200
parents eab9119c5dee
children ecd2fbe68b25
files mercurial/help/patterns.txt
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/help/patterns.txt	Sun Apr 22 20:06:36 2012 +0200
+++ b/mercurial/help/patterns.txt	Wed Apr 25 23:28:54 2012 +0200
@@ -7,8 +7,8 @@
 Alternate pattern notations must be specified explicitly.
 
 .. note::
-  Patterns specified in ``.hgignore`` are not rooted. Please see
-  :hg:`help hgignore` for details.
+  Patterns specified in ``.hgignore`` are not rooted. 
+  Please see :hg:`help hgignore` for details.
 
 To use a plain path name without any pattern matching, start it with
 ``path:``. These path names must completely match starting at the