changeset 2826:93588d219f2f stable

doc: various little improvements for rst export
author Boris Feld <boris.feld@octobus.net>
date Thu, 27 Jul 2017 17:22:44 +0200
parents 7608f1e04205
children 498409c72dd2
files tests/test-topic-tutorial.t tests/test-tutorial.t
diffstat 2 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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