Fix formatting of example blocks With the new stylesheet example blocks (delimited with ====) are rendered as rather intrusive boxes with large padding in yellow and grey. This patch replaces the example blocks with simple code blocks (delimited with ----) that better match the overall style of the documentation. Change-Id: Id95387cdb153332c2066e2d5e378697647dbca52 Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
diff --git a/Documentation/cmd-create-project.txt b/Documentation/cmd-create-project.txt index 72c7d57..503bd12 100644 --- a/Documentation/cmd-create-project.txt +++ b/Documentation/cmd-create-project.txt
@@ -171,15 +171,15 @@ == EXAMPLES Create a new project called `tools/gerrit`: -==== +---- $ ssh -p 29418 review.example.com gerrit create-project tools/gerrit.git -==== +---- Create a new project with a description: -==== +---- $ ssh -p 29418 review.example.com gerrit create-project tool.git --description "'Tools used by build system'" -==== +---- Note that it is necessary to quote the description twice. The local shell needs double quotes around the value to ensure the single quotes @@ -190,9 +190,9 @@ If the replication plugin is installed, the plugin will attempt to perform remote repository creation by a Bourne shell script: -==== +---- mkdir -p '/base/project.git' && cd '/base/project.git' && git init --bare && git update-ref HEAD refs/heads/master -==== +---- For this to work successfully the remote system must be able to run arbitrary shell scripts, and must have `git` in the user's PATH