From 11567d9d7e1cb4876f9d971971100b323d9d4e18 Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Wed, 24 Apr 2024 11:10:04 +0200 Subject: [PATCH] docs: dockerfile reference title in front matter Use front matter to specify the doc title for the Dockerfile reference in order to make the title programmatically accessible with Hugo, making it easier to properly render the title in templates. Specifying the title in the document directly means we have no control over the rendering of the top-level heading. Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> --- frontend/dockerfile/docs/reference.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/dockerfile/docs/reference.md b/frontend/dockerfile/docs/reference.md index 85afe175c12f..1b288f8889e1 100644 --- a/frontend/dockerfile/docs/reference.md +++ b/frontend/dockerfile/docs/reference.md @@ -1,4 +1,6 @@ -# Dockerfile reference +--- +title: Dockerfile reference +--- Docker can build images automatically by reading the instructions from a Dockerfile. A Dockerfile is a text document that contains all the commands a