mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-04-05 16:51:10 +08:00
c97f0ece8089bafa1b10229889de0bda8e8ee8de
moving node diagram and description to Philosophy page in docs
ComponentKit Documentation
We use Jekyll to build the site using Markdown and host it on Github Pages.
Installation
To contribute to the site or add to the documentation, you will have to set up a local copy of the site on your development machine.
Dependencies
Github Pages uses Jekyll to host a site and Jekyll has the following dependencies.
Mac OS X comes pre-installed with Ruby, but you may need to update RubyGems (via gem update --system).
Otherwise, RVM and rbenv are popular ways to install Ruby.
Once you have RubyGems and installed Bundler (via gem install bundler), use it to install the dependencies:
$ cd componentkit # Go to folder
$ bundle install # Might need sudo.
Instructions
Use Jekyll to serve the website locally (by default, at http://localhost:4000):
$ cd componentkit # Go to folder
$ git checkout docs
$ bundle exec jekyll serve -w
$ open http://localhost:4000/
Description
Languages
Objective-C
50.9%
Objective-C++
47%
C
0.9%
Swift
0.5%
Shell
0.4%
Other
0.2%