Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 2 additions & 21 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,27 +56,8 @@ I build this on Debian (stable and testing). It should build fine on other
distros too.

You will need, at least, "moreutils" (for ``sponge``), make, graphviz,
rst2pdf, rst2html (docutils), pygmentize, Varnish, and probably more.

Since I wrote a VCL lexer for Pygments for this project to get
decent-looking syntax highlighting, you also want to get a new version of
Pygments. As of this writing, there hasn't been a release of Pygments with
the lexer included, but it is merged and seemingly slated for Pygments
2.2.

On Debian, the easiest non-clutter way to go about getting this is cloning
the pygments repo and doing a local (user) install::

$ hg clone https://bitbucket.org/birkenfeld/pygments-main
$ cd pygments-main
$ python setup.py build
$ python setup.py install --user

This will do a local installation to ~/.local, so if you are like me and
don't want to clutter your install, this is what you want.

This will give you syntax highlighting for any ``VCL`` code-blocks in RST,
not just this book.
rst2pdf, rst2html (docutils), pygmentize (2.2 or newer), Varnish, and probably
more (i.e. pip).

Misc
----
Expand Down