Fix code-block being rendered as quotes 53/42653/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 27 Jul 2016 18:50:28 +0000 (14:50 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 27 Jul 2016 18:50:33 +0000 (14:50 -0400)
Using code-block to declare the YAML fixes formatting issues where rest
was rendering it as quotes.

Change-Id: I76a2062736ab567c45ab55aeb3820827ad5fd374
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
docs/jenkins.rst

index d4b7eff6932909fd07251e0c97a9e34df6807df6..73f87f584fbf9f3d3f566cb70af5878e5e941424 100644 (file)
@@ -36,6 +36,8 @@ Gerrit. So if your project is called "aaa" then create a new jjb/aaa directory.
 
 Next we will create <new-project>.yaml as follows:
 
+.. code-block:: yaml
+
     - project:
         name: <NEW_PROJECT>-carbon
         jobs:
@@ -81,8 +83,11 @@ your project is participating in the simultanious-release and ultimately will
 be included in the final distribution. We recommend adding the following job
 types into the job list for the release you are participating.
 
-    '{project-name}-distribution-check-{stream}'
-    '{project-name}-validate-autorelease-{stream}'
+
+.. code-block:: yaml
+
+    - '{project-name}-distribution-check-{stream}'
+    - '{project-name}-validate-autorelease-{stream}'
 
 If you'd like to explore the additional tweaking options available
 please refer to the `Jenkins Job Templates`_ section.