From 1d8413990d6198f1f1f15776fd9fc1625231fb5d Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Tue, 4 Nov 2014 10:08:37 +0100 Subject: [PATCH] use the C lexer for Varnish config examples --- conf.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/conf.py b/conf.py index d99007617ae..46f9687837f 100644 --- a/conf.py +++ b/conf.py @@ -22,8 +22,8 @@ # adding PhpLexer from sphinx.highlighting import lexers +from pygments.lexers.compiled import CLexer from pygments.lexers.web import PhpLexer -from pygments.lexers.agile import RubyLexer # -- General configuration ----------------------------------------------------- @@ -101,9 +101,9 @@ lexers['php-annotations'] = PhpLexer(startinline=True) lexers['php-standalone'] = PhpLexer(startinline=True) lexers['php-symfony'] = PhpLexer(startinline=True) -lexers['varnish2'] = RubyLexer() -lexers['varnish3'] = RubyLexer() -lexers['varnish4'] = RubyLexer() +lexers['varnish2'] = CLexer() +lexers['varnish3'] = CLexer() +lexers['varnish4'] = CLexer() config_block = { 'varnish2': 'Varnish 2',