File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 23
23
# adding PhpLexer
24
24
from sphinx .highlighting import lexers
25
25
from pygments .lexers .web import PhpLexer
26
+ from pygments .lexers .agile import RubyLexer
26
27
27
28
# -- General configuration -----------------------------------------------------
28
29
100
101
lexers ['php-annotations' ] = PhpLexer (startinline = True )
101
102
lexers ['php-standalone' ] = PhpLexer (startinline = True )
102
103
lexers ['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
+ }
103
113
104
114
# use PHP as the primary domain
105
115
primary_domain = 'php'
264
274
265
275
# Use PHP syntax highlighting in code examples by default
266
276
highlight_language = 'php'
277
+
You can’t perform that action at this time.
0 commit comments