Skip to content

Build documentation for master branch on gh-pages #454

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 11, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ matrix:
env: JOB=check-nightly-cli
script: cargo check --manifest-path crates/cli/Cargo.toml

# Build the guide.
- rust: stable
# Build documentation for the gh-pages branch
- rust: nightly
env: JOB=guide-build-and-deploy
cache:
- cargo
Expand All @@ -125,6 +125,9 @@ matrix:
- cargo install-update -a
script:
- (cd guide && mdbook build)
- cargo doc -p wasm-bindgen --no-deps
- cargo doc -p web-sys --no-deps
- mv target/doc guide/book/api
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So will the API docs be used be used?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not directly by the book, but I'd find them useful at least to browser a git version of the documentation to checkup on things like the web-sys crate and its APIs

deploy:
provider: pages
skip-cleanup: true
Expand Down