Browse Source

update formatting

Oz N Tiram 9 years ago
parent
commit
cc7175618e
1 changed files with 16 additions and 17 deletions
  1. 16 17
      docs/frank.rst

+ 16 - 17
docs/frank.rst

@@ -10,17 +10,17 @@ Frank can be configured using the following yaml::
          - python:
          - python:
            - frank.actions:detect_new_tag
            - frank.actions:detect_new_tag
 
 
-        deploy:
-         - cmd
-         - runif
-           - test
-           - newtag
-
-        publish:
-          - shell:
-            - cd docs; make html
-          - python:
-           - frank.actions:recursive_copy
+    deploy:
+     - cmd
+     - runif
+       - test
+       - newtag
+
+    publish:
+     - shell:
+       - cd docs; make html
+     - python:
+       - frank.actions:recursive_copy
 
 
 The sections commands is a simple list of command you would
 The sections commands is a simple list of command you would
 like to define.
 like to define.
@@ -92,16 +92,15 @@ If this function will return True the shell command will execute.
 If the methods takes some arguments, they could also be given.
 If the methods takes some arguments, they could also be given.
 Suppose the function is called `detect_changes_in` and this function
 Suppose the function is called `detect_changes_in` and this function
 takes a single paramter called path we can configure the
 takes a single paramter called path we can configure the
-build_docs command in the following way:
+build_docs command in the following way::
 
 
    build_docs:
    build_docs:
     - cmd
     - cmd
     - runif:
     - runif:
-      - python:
-        - function: frank.githubparsers:detect_changes_in
-        - args:
-          - path: docs
-
+     - python:
+      - function: frank.githubparsers:detect_changes_in
+      - args:
+       - path: docs
 
 
 note::
 note::