Skip to content

Commit 329ee2f

Browse files
committed
Use 'cargo doc'
1 parent 918bae6 commit 329ee2f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
*-test
1010
Makefile
1111
/target
12-
/doc
12+
/Cargo.lock

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ install:
1010
script:
1111
- cargo build
1212
- cargo test
13-
- rustdoc lib.rs -L target/deps
13+
- cargo doc
1414

1515
after_success: |
1616
[ $TRAVIS_BRANCH = master ] &&
1717
[ $TRAVIS_PULL_REQUEST = false ] &&
18-
echo '<meta http-equiv=refresh content=0;url=cssparser/index.html>' > doc/index.html &&
18+
echo '<meta http-equiv=refresh content=0;url=cssparser/index.html>' > target/doc/index.html &&
1919
sudo pip install ghp-import &&
20-
ghp-import -n doc &&
21-
git push -fq https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
20+
ghp-import -n target/doc &&
21+
git push -f https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
2222
2323
env:
2424
- secure: TDTC2q5Trv22R1pXcMyi2mWToc201aJpCJgLlnwNzkT2bjpQj+0KQvBpI1gIoeQvSL9ud85187C0tdmR7zQmZjBt6mnNCs7EM7QDIPcUcrH0vz8v/RQ+VNxhRAeCwUP4uLEHtnvbi9Q0KXCI1cQivZuMspxVMwvajx/ylcPwb4k=

0 commit comments

Comments
 (0)