diff --git a/docs/conf.py b/docs/conf.py index 7fbfe3441a1..0da9558c1ac 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -124,7 +124,7 @@ pygments_style = 'sphinx' # The default language to highlight source code in. -highlight_language = 'python' +highlight_language = 'python3' # A list of ignored prefixes for module index sorting. # modindex_common_prefix = [] diff --git a/requirements-ci.txt b/requirements-ci.txt index c1514d3f141..1aa7bde71cc 100644 --- a/requirements-ci.txt +++ b/requirements-ci.txt @@ -11,5 +11,5 @@ sphinxcontrib-newsfeed pytest pytest-cov gunicorn -pygments +pygments>=2.1 -e .