浏览代码

update formatting

Oz N Tiram 9 年之前
父节点
当前提交
cc7175618e
共有 1 个文件被更改,包括 16 次插入17 次删除
  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::