Skip to content

Commit 1bfb7d1

Browse files
authored
Allow to set comments.hypothesis.showHighlights = "whenSidebarOpen" (#4620)
cf. https://h.readthedocs.io/projects/client/en/latest/publishers/config.html#cmdoption-arg-showHighlights
1 parent 81b6a4a commit 1bfb7d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/resources/schema/definitions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,9 @@
283283
showHighlights:
284284
anyOf:
285285
- boolean
286-
- enum: ["always", "never"]
286+
- enum: ["always", "whenSidebarOpen", "never"]
287287
default: "always"
288-
description: Controls whether the in-document highlights are shown by default (`always` or `never`)
288+
description: Controls whether the in-document highlights are shown by default (`always`, `whenSidebarOpen` or `never`)
289289
theme:
290290
enum: ["classic", "clean"]
291291
default: classic

0 commit comments

Comments
 (0)