travis for check broken links#946
Merged
luotao1 merged 6 commits intoPaddlePaddle:developfrom Dec 21, 2016
luotao1:checker
Merged
travis for check broken links#946luotao1 merged 6 commits intoPaddlePaddle:developfrom luotao1:checker
luotao1 merged 6 commits intoPaddlePaddle:developfrom
luotao1:checker
Conversation
reyoung
requested changes
Dec 20, 2016
| exit 1 | ||
| fi | ||
| done | ||
|
|
reyoung
requested changes
Dec 21, 2016
| cmake .. -DCMAKE_BUILD_TYPE=Debug -DWITH_GPU=OFF -DWITH_DOC=ON | ||
| make paddle_docs paddle_docs_cn | ||
|
|
||
| # check websites for broken links |
Collaborator
There was a problem hiding this comment.
把下面的代码,改成
linkchecker doc/cn/html/index.html
linkchecker doc/en/html/index.html本来如果开启set -e就是在对返回值做判断,不需要在if判断一下了。
同时,就两个目录,写个循环的行数都大于直接写两个的行数了。没啥必要写循环。
Collaborator
|
赞! 除了Travis,我们在本地运行 |
Collaborator
不会,只会在Travis-CI的持续集成服务器上检查。这个检查也够了,因为相当于每次合入的版本都是正确的就行了。 |
Closed
zhhsplendid
pushed a commit
to zhhsplendid/Paddle
that referenced
this pull request
Sep 25, 2019
* test=develop, update install doc * add setuptools dependency * Update compile_Ubuntu.md update cudnn version * Update install_Ubuntu.md update cudnn version * Update install_CentOS.md update cudnn version * test=develop, refine ubuntu cuda support * test=develop, refine ubuntu cuda support * test=develop, refine python support on python3.5 * fix python2 in ubuntu16.04 need gcc 5.4 * add nccl related doc * refine doc * add gpu fast install doc * refine command of pip * add avx off for mac complie * refine code * refine doc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
在travis中增加失效链接的检查,等#945 merge后能过travis ci。