提交 891dadff 编写于 作者: 王益

Update code indentation in rst files

上级 3afbd1c9
...@@ -41,6 +41,7 @@ Windows -- in a consistent way. ...@@ -41,6 +41,7 @@ Windows -- in a consistent way.
runs the image: runs the image:
.. code-block:: bash .. code-block:: bash
docker run -d -p 2202:22 -v $PWD:/paddle paddle:dev docker run -d -p 2202:22 -v $PWD:/paddle paddle:dev
This runs a container of the development environment Docker image This runs a container of the development environment Docker image
...@@ -53,12 +54,14 @@ Windows -- in a consistent way. ...@@ -53,12 +54,14 @@ Windows -- in a consistent way.
this container with: this container with:
.. code-block:: bash .. code-block:: bash
ssh root@localhost -p 2202 ssh root@localhost -p 2202
Usually, I run above commands on my Mac. I can also run them on a Usually, I run above commands on my Mac. I can also run them on a
GPU server :code:`xxx.yyy.zzz.www` and ssh from my Mac to it: GPU server :code:`xxx.yyy.zzz.www` and ssh from my Mac to it:
.. code-block:: bash .. code-block:: bash
my-mac$ ssh root@xxx.yyy.zzz.www -p 2202 my-mac$ ssh root@xxx.yyy.zzz.www -p 2202
1. Build and Install Using the Development Environment 1. Build and Install Using the Development Environment
...@@ -68,12 +71,14 @@ Windows -- in a consistent way. ...@@ -68,12 +71,14 @@ Windows -- in a consistent way.
Paddle: Paddle:
.. code-block:: bash .. code-block:: bash
/paddle/paddle/scripts/docker/build.sh /paddle/paddle/scripts/docker/build.sh
This builds everything about Paddle in :code:`/paddle/build`. And This builds everything about Paddle in :code:`/paddle/build`. And
we can run unit tests there: we can run unit tests there:
.. code-block:: bash .. code-block:: bash
cd /paddle/build cd /paddle/build
ctest ctest
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册