Commit 98ef540
committed
Prevent corrections and completions in search field
In particular mobile browsers use correction mechanisms on input fields.
Search will often be done with technical terms or even class/method/etc
names that these correction mechanisms do not know, resulting in
unwanted changes. This PR deactivates these correction mechanisms.
I've also reported this upstream to sphinx at
sphinx-doc/sphinx#9307. See there for more
background.
Our current theme uses customized templates, so we have to adapt this
ourselves.
You can also that this is working by accessing the CI built docs with
a mobile device, and compare that with the released docs.1 parent 63261cc commit 98ef540
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments