diff --git a/docs/source/_static/css/code-no-font-ligatures.css b/docs/source/_static/css/code-no-font-ligatures.css new file mode 100644 index 0000000000000..1ae51476f013e --- /dev/null +++ b/docs/source/_static/css/code-no-font-ligatures.css @@ -0,0 +1,3 @@ +code { + font-variant-ligatures: none; +} diff --git a/docs/source/conf.py b/docs/source/conf.py index 7347682eddf48..f28102206a9fa 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -21,6 +21,7 @@ templates_path = ['_templates'] html_theme = 'sphinxawesome_theme' html_static_path = ['_static'] +html_css_files = ['css/code-no-font-ligatures.css'] html_title = project html_permalinks_icon = Icons.permalinks_icon theme_options = ThemeOptions(