Skip to content

Commit 91c6163

Browse files
committed
Add custom css to avoid line-through decorations in Literal arguments
1 parent 50c87f0 commit 91c6163

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

spec/_static/css/custom.css

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
s {
2+
text-decoration: inherit;
3+
}

src/_array_api_conf.py

+1
Original file line numberDiff line numberDiff line change
@@ -211,3 +211,4 @@ def process_signature(app, what, name, obj, options, signature, return_annotatio
211211

212212
def setup(app):
213213
app.connect("autodoc-process-signature", process_signature)
214+
app.add_css_file('css/custom.css')

0 commit comments

Comments
 (0)