Skip to content

Commit 5578892

Browse files
use sklearn's config for backticks (#2466)
1 parent 7000073 commit 5578892

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/sources/conf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,11 @@
129129
.. |onedal| replace:: oneAPI Data Analytics Library
130130
"""
131131

132+
# Note: sklearn oftentimes uses single backticks to render code.
133+
# Some docstrings here are inherited from theirs, so this setting
134+
# is needed to render them the same way they do.
135+
default_role = "literal"
136+
132137
# -- Options for HTML output -------------------------------------------------
133138

134139
# The theme to use for HTML and HTML Help pages. See the documentation for

0 commit comments

Comments
 (0)