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

Replace specs_website with just the book #321

Merged
merged 1 commit into from
Dec 25, 2017
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
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