Files
..
2023-07-28 10:11:41 -05:00
2017-05-17 17:19:54 -07:00
2022-01-05 00:14:36 +02:00
2017-05-17 17:19:54 -07:00
2020-03-15 19:49:24 -07:00
2022-02-08 11:59:12 +01:00
2021-08-15 10:41:58 -05:00
2022-01-05 00:14:36 +02:00
2021-08-23 16:54:52 -04:00
2021-12-07 10:54:02 +08:00

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.