about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorMatthias Beyer2024-08-28 10:55:49 +0200
committerValentin Gagarin2024-08-28 11:26:23 +0200
commitf78adb0891fc4ceddb875ef0e7f094c998143f4b (patch)
tree72cdc9f2b53baf31a77a832ae41df9903961c7b3 /doc
parent695088a544e8ab3551de4a13925dfde0e29334e1 (diff)
doc: Move "This is equivalent to" into example block
This patch moves the code snippet which is shown as equivalent to the
example into the actual example block.

Visually, it was not easy to parse that the "equivalent" code piece
belonged to the code snippet that was hidden in the example (which is
collapsed by default).

By moving it into the example block, the "equivalent" piece is hidden by
default as well.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/build-helpers/trivial-build-helpers.chapter.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/build-helpers/trivial-build-helpers.chapter.md b/doc/build-helpers/trivial-build-helpers.chapter.md
index 8af68845202f..31b42bd77426 100644
--- a/doc/build-helpers/trivial-build-helpers.chapter.md
+++ b/doc/build-helpers/trivial-build-helpers.chapter.md
@@ -533,7 +533,6 @@ writeScript "my-file"
   Contents of File
   ''
 ```
-:::
 
 This is equivalent to:
 
@@ -546,6 +545,7 @@ writeTextFile {
   executable = true;
 }
 ```
+:::
 
 ### `writeScriptBin` {#trivial-builder-writeScriptBin}