Peter 9bc996374f Add 'submodules/AsyncDisplayKit/' from commit '02bedc12816e251ad71777f9d2578329b6d2bef6'
git-subtree-dir: submodules/AsyncDisplayKit
git-subtree-mainline: d06f423e0ed3df1fed9bd10d79ee312a9179b632
git-subtree-split: 02bedc12816e251ad71777f9d2578329b6d2bef6
2019-06-11 18:42:43 +01:00

32 lines
956 B
Markdown
Executable File

# Texture Documentation
We use [Jekyll](http://jekyllrb.com/) to build the site using Markdown and host it on [Github Pages](https://pages.github.com/).
### Dependencies
Github Pages uses Jekyll to host a site and Jekyll has the following dependencies.
- [Ruby](http://www.ruby-lang.org/) (version >= 2.0.0)
- [RubyGems](http://rubygems.org/) (version >= 1.3.7)
- [Bundler](http://gembundler.com/)
Mac OS X comes pre-installed with Ruby, but you may need to update RubyGems (via `gem update --system`).
Once you have RubyGems, use it to install bundler.
```sh
$ gem install bundler
$ cd gh-pages # Go to folder
$ bundle install # Might need sudo.
```
### Run Jekyll Locally
Use Jekyll to serve the website locally (by default, at `http://localhost:4000`):
```sh
$ bundle exec jekyll serve [--incremental]
$ open http://localhost:4000/
```
For more, see https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/