Skip to content

Commit

Permalink
Merge #321
Browse files Browse the repository at this point in the history
321: Replace specs_website with just the book r=torkleyy a=torkleyy

Fixes #318

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/slide-rs/specs/321)
<!-- Reviewable:end -->
  • Loading branch information
bors[bot] committed Dec 25, 2017
2 parents daf1958 + db8e15c commit ec80a40
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
16 changes: 13 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,19 @@ after_success: |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
[ $TRAVIS_RUST_VERSION = stable ] &&
gem install travis -v 1.8.8 --no-rdoc --no-ri &&
travis login --org --no-interactive --github-token ${GH_TOKEN} &&
travis restart --no-interactive -r slide-rs/specs-website
which mdbook || cargo install mdbook &&
cd book &&
mdbook build &&
cd .. &&
mkdir ../ghp &&
cp -r book/book/* ../ghp/ &&
echo "Checking out gh-pages" &&
git checkout --orphan gh-pages &&
rm -rf ./* &&
cp -r ../ghp/* ./ &&
git add -A &&
git commit --quiet -m "Update page" &&
git push -f https://${GH_TOKEN}@github.com/slide-rs/specs.git gh-pages
notifications:
webhooks:
Expand Down
9 changes: 7 additions & 2 deletions book/src/01_intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@ setting up, building, and structuring a game with an ECS.

Specs is an ECS library that allows parallel system execution, with both low
overhead and high flexibility, different storage types and a type-level
system data model.
system data model. It is mainly used for games and simulations, where it allows
to structure code using composition over inheritance.

You didn't fully understand what that sentence was about? The next section
Additional documentation is available on `docs.rs`:

* [API documentation for Specs](https://docs.rs/specs)

You don't yet know what an ECS is all about? The next section
is for you! In case you already know what an ECS is, just skip it.

## What's an ECS?
Expand Down

0 comments on commit ec80a40

Please sign in to comment.