Skip to content

Commit e6cdd18

Browse files
committed
Update documents to init submodule.
1 parent 4823075 commit e6cdd18

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

doc/getstarted/build_and_install/build_from_source.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ You can download PaddlePaddle from the [github source](https://github.com/Paddle
1111
```bash
1212
git clone https://github.com/PaddlePaddle/Paddle paddle
1313
cd paddle
14+
git submodule update --init --recursive
1415
```
1516

1617
## <span id="requirements">Requirements</span>

doc/getstarted/build_and_install/docker_install.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ source code:
7979
cd ~
8080
git clone github.com/PaddlePaddle/Paddle
8181
cd Paddle
82+
git submodule update --init --recursive
8283
docker build --build-arg WITH_AVX=OFF -t paddle:cpu-noavx -f paddle/scripts/docker/Dockerfile .
8384
docker build --build-arg WITH_AVX=OFF -t paddle:gpu-noavx -f paddle/scripts/docker/Dockerfile.gpu .
8485

doc/howto/contribute_to_paddle.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ If your repository doesn't contain **develop** branch, just create it by your ow
3636
git clone https://github.com/USERNAME/Paddle.git Paddle
3737
cd Paddle
3838
git checkout -b develop # create develop branch.
39-
git remote add upstream https://github.com/baidu/Paddle.git # add upstream to baidu/Paddle
39+
git remote add upstream https://github.com/PaddlePaddle/Paddle.git # add upstream to baidu/Paddle
4040
git pull upstream develop # update to upstream
41+
git submodule update --init --recursive
4142
```
4243

4344
Then you can start to develop by making a local developement branch
@@ -69,7 +70,7 @@ To do this, you'll need to add a remote at first:
6970
# see the current configured remote repository
7071
git remote -v
7172
# add upstream repository
72-
git remote add upstream https://github.com/baidu/Paddle.git
73+
git remote add upstream https://github.com/PaddlePaddle/Paddle.git
7374
# verify the new upstream
7475
git remote -v
7576
```

0 commit comments

Comments
 (0)