Browse Source

update formatting

Oz N Tiram 10 năm trước cách đây
mục cha
commit
cc7175618e
1 tập tin đã thay đổi với 16 bổ sung17 xóa
  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::