extdiff: fix reST syntax in module docstring
authorMartin Geisler <mg@lazybytes.net>
Mon, 17 May 2010 23:11:27 +0200
changeset 11191 c45a47bc4114
parent 11190 43337076ba92
child 11192 babf9a5f5528
extdiff: fix reST syntax in module docstring
hgext/extdiff.py
--- a/hgext/extdiff.py	Tue May 11 12:06:30 2010 +0200
+++ b/hgext/extdiff.py	Mon May 17 23:11:27 2010 +0200
@@ -14,7 +14,7 @@
 files to compare.
 
 The extdiff extension also allows to configure new diff commands, so
-you do not need to type "hg extdiff -p kdiff3" always. ::
+you do not need to type :hg:`extdiff -p kdiff3` always. ::
 
   [extdiff]
   # add new command that runs GNU diff(1) in 'context diff' mode
@@ -35,7 +35,7 @@
   # your .vimrc
   vimdiff = gvim -f '+next' '+execute "DirDiff" argv(0) argv(1)'
 
-Tool arguments can include variables that are expanded at runtime:
+Tool arguments can include variables that are expanded at runtime::
 
   $parent1, $plabel1 - filename, descriptive label of first parent
   $child,   $clabel  - filename, descriptive label of child revision
@@ -45,16 +45,18 @@
 The extdiff extension will look in your [diff-tools] and [merge-tools]
 sections for diff tool arguments, when none are specified in [extdiff].
 
+::
+
   [extdiff]
-  kdiff3 = 
+  kdiff3 =
 
   [diff-tools]
   kdiff3.diffargs=--L1 '$plabel1' --L2 '$clabel' $parent $child
 
-You can use -I/-X and list of file or directory names like normal "hg
-diff" command. The extdiff extension makes snapshots of only needed
-files, so running the external diff program will actually be pretty
-fast (at least faster than having to compare the entire tree).
+You can use -I/-X and list of file or directory names like normal
+:hg:`diff` command. The extdiff extension makes snapshots of only
+needed files, so running the external diff program will actually be
+pretty fast (at least faster than having to compare the entire tree).
 '''
 
 from mercurial.i18n import _