cannam@133: # Cap'n Proto Documentation cannam@133: cannam@133: This directory contains the "source code" for the Cap'n Proto web site. cannam@133: cannam@133: The site is built with [Jekyll](http://jekyllrb.com/), which depends on Ruby. cannam@133: Start by installing ruby1.9.1-dev. On Debian-based operating systems: cannam@133: cannam@133: sudo apt-get install ruby1.9.1-dev cannam@133: cannam@133: Then install Jekyll: cannam@133: cannam@133: sudo gem install jekyll cannam@133: cannam@133: Now install Pygments and SetupTools to be able to install the CapnProto lexer. cannam@133: On Debian based operating systems: cannam@133: cannam@133: sudo apt-get install python-pygments python-setuptools cannam@133: cannam@133: Next, install the custom Pygments syntax highlighter: cannam@133: cannam@133: cd _plugins cannam@133: sudo python capnp_lexer.py install cannam@133: cd .. cannam@133: cannam@133: Now you can launch a local server: cannam@133: cannam@133: jekyll serve highlighter --watch cannam@133: cannam@133: Edit, test, commit. cannam@133: cannam@133: If you have permission, after you've pushed your changes back to github, you can make your changes live by running: cannam@133: cannam@133: ./push-site.sh cannam@133: cannam@133: Otherwise, send a pull request and let someone else actually push the new site.