mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-04-17 22:33:44 +08:00
92b4d983b228cb9922184f2fd1ad480f7dcc75df
Moving this out of the main page so that we can highlight the advanced developer tools there instead. Could someone check the Carthage section? I've never used Carthage before, but I found the directions here: https://medium.com/@thedan84/cocoapods-vs-carthage-675633e89c3e#.rm6rvd1jj
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%