doc: various little improvements for rst export stable
authorBoris Feld <boris.feld@octobus.net>
Thu, 27 Jul 2017 17:22:44 +0200
branchstable
changeset 2826 93588d219f2f
parent 2825 7608f1e04205
child 2827 498409c72dd2
doc: various little improvements for rst export
tests/test-topic-tutorial.t
tests/test-tutorial.t
--- a/tests/test-topic-tutorial.t	Thu Jul 27 17:16:02 2017 +0200
+++ b/tests/test-topic-tutorial.t	Thu Jul 27 17:22:44 2017 +0200
@@ -2,18 +2,20 @@
 Topic Tutorial
 ==============
 
-.. This test file is also supposed to be able to compile as a rest file.
+This Mercurial configuration example is used for testing.
 
-
-.. Some Setup::
+.. Various setup
 
   $ . "$TESTDIR/testlib/topic_setup.sh"
   $ hg init server
+
   $ cd server
+
   $ cat >> .hg/hgrc << EOF
   > [ui]
   > user= Shopping Master
   > EOF
+
   $ cat >> shopping << EOF
   > Spam
   > Whizzo butter
@@ -23,8 +25,10 @@
   > Blancmange
   > Salmon mousse
   > EOF
+
   $ hg commit -A -m "Shopping list"
   adding shopping
+
   $ cd ..
   $ hg clone server client
   updating to branch default
--- a/tests/test-tutorial.t	Thu Jul 27 17:16:02 2017 +0200
+++ b/tests/test-tutorial.t	Thu Jul 27 17:22:44 2017 +0200
@@ -3,6 +3,7 @@
 -------------
 
 This Mercurial configuration example is used for testing.
+
 .. Various setup
 
   $ cat >> $HGRCPATH << EOF