diff --git a/conf.py b/conf.py index ff341b972..22d6aa4e2 100644 --- a/conf.py +++ b/conf.py @@ -2,8 +2,8 @@ import os import sys from pathlib import Path -from pygments.lexers.web import PhpLexer -from sphinx.highlighting import lexers +from pygments.lexers import JsonLexer, XmlLexer + from sphinx.util import logging _logger = logging.getLogger(__name__) @@ -181,8 +181,10 @@ html_permalinks = True # Sphinx >= 3.5 html_js_files = [] html_css_files = [] -# Monkeypatch PHP lexer to not require