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