diff --git a/mkdocs/tests/config/config_tests.py b/mkdocs/tests/config/config_tests.py index e1cb191a..10d092e9 100644 --- a/mkdocs/tests/config/config_tests.py +++ b/mkdocs/tests/config/config_tests.py @@ -128,6 +128,7 @@ class ConfigTests(unittest.TestCase): 'analytics': {'anonymize_ip': False, 'gtag': None}, 'highlightjs': True, 'hljs_languages': [], + 'hljs_style': 'github', 'include_homepage_in_sidebar': True, 'prev_next_buttons_location': 'bottom', 'navigation_depth': 4, @@ -148,6 +149,7 @@ class ConfigTests(unittest.TestCase): 'analytics': {'anonymize_ip': False, 'gtag': None}, 'highlightjs': True, 'hljs_languages': [], + 'hljs_style': 'github', 'include_homepage_in_sidebar': True, 'prev_next_buttons_location': 'bottom', 'navigation_depth': 4, @@ -173,6 +175,7 @@ class ConfigTests(unittest.TestCase): 'analytics': {'anonymize_ip': False, 'gtag': None}, 'highlightjs': True, 'hljs_languages': [], + 'hljs_style': 'github', 'include_homepage_in_sidebar': True, 'prev_next_buttons_location': 'bottom', 'navigation_depth': 4, diff --git a/mkdocs/themes/readthedocs/base.html b/mkdocs/themes/readthedocs/base.html index 7683e706..6caa756a 100644 --- a/mkdocs/themes/readthedocs/base.html +++ b/mkdocs/themes/readthedocs/base.html @@ -23,7 +23,7 @@ {%- if config.theme.highlightjs %} - + {%- endif %} {%- for path in extra_css %} diff --git a/mkdocs/themes/readthedocs/mkdocs_theme.yml b/mkdocs/themes/readthedocs/mkdocs_theme.yml index 94069108..d9553ae8 100644 --- a/mkdocs/themes/readthedocs/mkdocs_theme.yml +++ b/mkdocs/themes/readthedocs/mkdocs_theme.yml @@ -10,6 +10,7 @@ search_index_only: false highlightjs: true hljs_languages: [] +hljs_style: github analytics: gtag: null