Skip to content
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

Travis-CI for mdbook and gh-pages #82

Merged
merged 2 commits into from
Apr 16, 2020
Merged
Show file tree
Hide file tree
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
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
os: linux
language: shell
install:
- wget https://github.com/rust-lang/mdBook/releases/download/v0.3.7/mdbook-v0.3.7-x86_64-unknown-linux-gnu.tar.gz
- tar -xzvf mdbook-*.tar.gz
script:
./mdbook build
deploy:
edge: true # use Travis-CI dpl v2
provider: pages
local_dir: book
deploy_key: $GITHUB_REPO_DEPLOY_KEY # Set in the settings page of your repository, as a secure variable
6 changes: 6 additions & 0 deletions book.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[book]
authors = ["Phil Freeman"]
language = "en"
multilingual = false
src = "text"
title = "PureScript by Example"
16 changes: 16 additions & 0 deletions text/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Summary

* [Introduction](chapter1.md)
* [Getting Started](chapter2.md)
* [Functions and Records](chapter3.md)
* [Recursion, Maps And Folds](chapter4.md)
* [Pattern Matching](chapter5.md)
* [Type Classes](chapter6.md)
* [Applicative Validation](chapter7.md)
* [The Effect and Aff Monads](chapter8.md)
* [Canvas Graphics](chapter9.md)
* [The Foreign Function Interface](chapter10.md)
* [Monadic Adventures](chapter11.md)
* [Callback Hell](chapter12.md)
* [Generative Testing](chapter13.md)
* [Domain-Specific Languages](chapter14.md)