Skip to content

Commit 0029d2b

Browse files
committed
Turn off font ligatures in code in documentation
1 parent 681ef77 commit 0029d2b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
code {
2+
font-variant-ligatures: none;
3+
}

docs/source/conf.py

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
templates_path = ['_templates']
2222
html_theme = 'sphinxawesome_theme'
2323
html_static_path = ['_static']
24+
html_css_files = ['css/code-no-font-ligatures.css']
2425
html_title = project
2526
html_permalinks_icon = Icons.permalinks_icon
2627
theme_options = ThemeOptions(

0 commit comments

Comments
 (0)