File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 2323# adding PhpLexer
2424from sphinx .highlighting import lexers
2525from pygments .lexers .web import PhpLexer
26+ from pygments .lexers .agile import RubyLexer
2627
2728# -- General configuration -----------------------------------------------------
2829
100101lexers ['php-annotations' ] = PhpLexer (startinline = True )
101102lexers ['php-standalone' ] = PhpLexer (startinline = True )
102103lexers ['php-symfony' ] = PhpLexer (startinline = True )
104+ lexers ['varnish2' ] = RubyLexer ()
105+ lexers ['varnish3' ] = RubyLexer ()
106+ lexers ['varnish4' ] = RubyLexer ()
107+
108+ config_block = {
109+ 'varnish2' : 'Varnish 2' ,
110+ 'varnish3' : 'Varnish 3' ,
111+ 'varnish4' : 'Varnish 4'
112+ }
103113
104114# use PHP as the primary domain
105115primary_domain = 'php'
264274
265275# Use PHP syntax highlighting in code examples by default
266276highlight_language = 'php'
277+
You can’t perform that action at this time.
0 commit comments