From f78adb0891fc4ceddb875ef0e7f094c998143f4b Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 28 Aug 2024 10:55:49 +0200 Subject: [PATCH] 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 --- doc/build-helpers/trivial-build-helpers.chapter.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}