瀏覽代碼

Configure the default language

That way, we can safely use the shorthand notation as recommended in the
Symfony Documentation Standards
https://symfony.com/doc/current/contributing/documentation/standards.html
Grégoire Paris 8 年之前
父節點
當前提交
390eab7496
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      Resources/doc/conf.py

+ 3 - 0
Resources/doc/conf.py

@@ -83,6 +83,9 @@ exclude_patterns = ['_build']
 # The name of the Pygments (syntax highlighting) style to use.
 # The name of the Pygments (syntax highlighting) style to use.
 pygments_style = 'sphinx'
 pygments_style = 'sphinx'
 
 
+# This will be used when using the shorthand notation
+highlight_language = 'php'
+
 # A list of ignored prefixes for module index sorting.
 # A list of ignored prefixes for module index sorting.
 #modindex_common_prefix = []
 #modindex_common_prefix = []