Skip to content

Commit 13950bf

Browse files
committed
Fix doc format
1 parent 28b60cf commit 13950bf

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

docs/deploy.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ server 支持以下几种:
7272

7373
所以,只要你安装了相应的服务器软件,就可以使用 ``werobot.run`` 直接跑在生产环境下。
7474

75-
.. note:: server 的默认值为 ``auto``。
76-
.. attention:: `WSGIRef <http://docs.python.org/library/wsgiref.html#module-wsgiref.simple_server>_` 的性能非常差, 仅能用于开发环境。 如果你要在生产环境下部署 WeRoBot , 请确保你在使用其他 server 。
75+
.. note:: server 的默认值为 ``auto``
76+
.. attention:: `WSGIRef <http://docs.python.org/library/wsgiref.html#module-wsgiref.simple_server>`_ 的性能非常差, 仅能用于开发环境。 如果你要在生产环境下部署 WeRoBot , 请确保你在使用其他 server 。
7777

7878
通过 WSGI HTTP Server 运行 WeRoBot
7979
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -85,7 +85,11 @@ server 支持以下几种:
8585
from werobot import WeRoBot
8686
robot = WeRoBot()
8787

88-
那么你只需要运行 `gunicorn robot:robot.wsgi` 就可以了。
88+
那么你只需要在 Shell 下运行 ::
89+
90+
gunicorn robot:robot.wsgi
91+
92+
就可以了。
8993

9094
使用 Supervisor 管理守护进程
9195
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)