Turn off font ligatures in code in documentation

This commit is contained in:
Derick Rethans 2025-04-25 10:20:58 +01:00
parent 681ef77734
commit 0029d2b08b
2 changed files with 4 additions and 0 deletions

View file

@ -0,0 +1,3 @@
code {
font-variant-ligatures: none;
}

View file

@ -21,6 +21,7 @@ extensions = [
templates_path = ['_templates'] templates_path = ['_templates']
html_theme = 'sphinxawesome_theme' html_theme = 'sphinxawesome_theme'
html_static_path = ['_static'] html_static_path = ['_static']
html_css_files = ['css/code-no-font-ligatures.css']
html_title = project html_title = project
html_permalinks_icon = Icons.permalinks_icon html_permalinks_icon = Icons.permalinks_icon
theme_options = ThemeOptions( theme_options = ThemeOptions(