From ff37cf49debca027b64342d70b62b58b45327d95 Mon Sep 17 00:00:00 2001 From: Oleh Dmytrychenko Date: Mon, 18 Sep 2023 12:51:44 +0300 Subject: [PATCH] Docu fixes (#18056) * added missing context * removed duplicate header --- content/build/guide/build-args.md | 4 ++-- content/contribute/components/code-blocks.md | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/content/build/guide/build-args.md b/content/build/guide/build-args.md index e9233ecfd8..891643440c 100644 --- a/content/build/guide/build-args.md +++ b/content/build/guide/build-args.md @@ -123,8 +123,8 @@ a variable in the code. ENTRYPOINT [ "/bin/server" ] ``` -Now the version of the server when building the binary, without having to update -the source code. To verify this, you can the `server` target and start a +Now the version of the server is injected when building the binary, without having to update +the source code. To verify this, you can build the `server` target and start a container with `docker run`. The server outputs `v0.0.1` as the version on startup. diff --git a/content/contribute/components/code-blocks.md b/content/contribute/components/code-blocks.md index eee9d7b612..ee4b135318 100644 --- a/content/contribute/components/code-blocks.md +++ b/content/contribute/components/code-blocks.md @@ -4,8 +4,6 @@ title: Code blocks toc_max: 3 --- -# Code blocks - Rouge provides lots of different code block "hints". If you leave off the hint, it tries to guess and sometimes gets it wrong. These are just a few hints that we use often.