Skip to content

Commit f2736c9

Browse files
authored
Disable the playground run button by default for code blocks
Most example code in RFCs is not written with executability in mind, so having the "Run" button available by default on all RFCs seems a bit misleading. This now disables the playground for the whole book (which also removes the "hidden" code mdbook inserts). It thus only leaves the copy button.
1 parent 01d542f commit f2736c9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

book.toml

+3
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@ git-repository-url = "https://github.com/rust-lang/rfcs"
77

88
[output.html.search]
99
heading-split-level = 0
10+
11+
[output.html.playground]
12+
runnable = false

0 commit comments

Comments
 (0)