tree: b0bf6d2b430b255be052a211b68d96282c34f473 [path history] [tgz]
  1. _includes/
  2. _layouts/
  3. _plugins/
  4. _posts/
  5. images/
  6. javascripts/
  7. news/
  8. slides-2017.05.18/
  9. stylesheets/
  10. _config.yml
  11. _config_next.yml
  12. capnp-tool.md
  13. cxx.md
  14. cxxrpc.md
  15. encoding.md
  16. faq.md
  17. feed.xml
  18. index.md
  19. install.md
  20. language.md
  21. otherlang.md
  22. push-site.sh
  23. README.md
  24. roadmap.md
  25. rpc.md
doc/README.md

Cap'n Proto Documentation

This directory contains the “source code” for the Cap'n Proto web site.

The site is built with Jekyll, which depends on Ruby. Start by installing ruby1.9.1-dev. On Debian-based operating systems:

sudo apt-get install ruby-dev

Then install Jekyll 3.8.1 (Jekyll 4.x will NOT work due as they removed Pygments support):

sudo gem install jekyll -v 3.8.1
sudo gem install pygments.rb

Now install Pygments and SetupTools to be able to install the CapnProto lexer. On Debian based operating systems:

sudo apt-get install python-pygments python-setuptools

Next, install the custom Pygments syntax highlighter:

cd _plugins
sudo python capnp_lexer.py install
cd ..

Now you can launch a local server:

jekyll _3.8.1_ serve --watch

Edit, test, commit.

If you have permission, after you've pushed your changes back to github, you can make your changes live by running:

./push-site.sh

Otherwise, send a pull request and let someone else actually push the new site.