Skip to content

Commit 3578a83

Browse files
authored
Merge pull request #454 from alexcrichton/api
Build documentation for master branch on gh-pages
2 parents f8949ac + 128dad3 commit 3578a83

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.travis.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ matrix:
114114
env: JOB=check-nightly-cli
115115
script: cargo check --manifest-path crates/cli/Cargo.toml
116116

117-
# Build the guide.
118-
- rust: stable
117+
# Build documentation for the gh-pages branch
118+
- rust: nightly
119119
env: JOB=guide-build-and-deploy
120120
cache:
121121
- cargo
@@ -125,6 +125,9 @@ matrix:
125125
- cargo install-update -a
126126
script:
127127
- (cd guide && mdbook build)
128+
- cargo doc -p wasm-bindgen --no-deps
129+
- cargo doc -p web-sys --no-deps
130+
- mv target/doc guide/book/api
128131
deploy:
129132
provider: pages
130133
skip-cleanup: true

0 commit comments

Comments
 (0)