mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-11-25 09:02:46 +03:00
Merge pull request #454 from alexcrichton/api
Build documentation for master branch on gh-pages
This commit is contained in:
commit
3578a83fe2
@ -114,8 +114,8 @@ matrix:
|
|||||||
env: JOB=check-nightly-cli
|
env: JOB=check-nightly-cli
|
||||||
script: cargo check --manifest-path crates/cli/Cargo.toml
|
script: cargo check --manifest-path crates/cli/Cargo.toml
|
||||||
|
|
||||||
# Build the guide.
|
# Build documentation for the gh-pages branch
|
||||||
- rust: stable
|
- rust: nightly
|
||||||
env: JOB=guide-build-and-deploy
|
env: JOB=guide-build-and-deploy
|
||||||
cache:
|
cache:
|
||||||
- cargo
|
- cargo
|
||||||
@ -125,6 +125,9 @@ matrix:
|
|||||||
- cargo install-update -a
|
- cargo install-update -a
|
||||||
script:
|
script:
|
||||||
- (cd guide && mdbook build)
|
- (cd guide && mdbook build)
|
||||||
|
- cargo doc -p wasm-bindgen --no-deps
|
||||||
|
- cargo doc -p web-sys --no-deps
|
||||||
|
- mv target/doc guide/book/api
|
||||||
deploy:
|
deploy:
|
||||||
provider: pages
|
provider: pages
|
||||||
skip-cleanup: true
|
skip-cleanup: true
|
||||||
|
Loading…
Reference in New Issue
Block a user