From 7822be09e87d9a4541157ee9be324a5699602ad6 Mon Sep 17 00:00:00 2001 From: Nikolay Edigaryev Date: Mon, 26 Jun 2023 18:43:20 +0400 Subject: [PATCH 1/2] Remove extra backticks from HTTP server documentation --- multistep/commonsteps/http_config.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/multistep/commonsteps/http_config.go b/multistep/commonsteps/http_config.go index 0f5d68ace..c5577f370 100644 --- a/multistep/commonsteps/http_config.go +++ b/multistep/commonsteps/http_config.go @@ -17,7 +17,9 @@ import ( // // Example usage from a builder: // -// `wget http://{{ .HTTPIP }}:{{ .HTTPPort }}/foo/bar/preseed.cfg` +// ``` +// wget http://{{ .HTTPIP }}:{{ .HTTPPort }}/foo/bar/preseed.cfg +// ``` type HTTPConfig struct { // Path to a directory to serve using an HTTP server. The files in this // directory will be available over HTTP that will be requestable from the From d440cad8ea3610de4f59a565338c1bbe1aafd486 Mon Sep 17 00:00:00 2001 From: Nikolay Edigaryev Date: Wed, 5 Jul 2023 19:28:04 +0400 Subject: [PATCH 2/2] $ make generate --- .../packer-plugin-sdk/multistep/commonsteps/HTTPConfig.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/packer-sdc/internal/renderdocs/docs-partials/packer-plugin-sdk/multistep/commonsteps/HTTPConfig.mdx b/cmd/packer-sdc/internal/renderdocs/docs-partials/packer-plugin-sdk/multistep/commonsteps/HTTPConfig.mdx index 169be88ef..0e09e80ac 100644 --- a/cmd/packer-sdc/internal/renderdocs/docs-partials/packer-plugin-sdk/multistep/commonsteps/HTTPConfig.mdx +++ b/cmd/packer-sdc/internal/renderdocs/docs-partials/packer-plugin-sdk/multistep/commonsteps/HTTPConfig.mdx @@ -6,6 +6,8 @@ referenced will be available in your builder. Example usage from a builder: - `wget http://{{ .HTTPIP }}:{{ .HTTPPort }}/foo/bar/preseed.cfg` +``` +wget http://{{ .HTTPIP }}:{{ .HTTPPort }}/foo/bar/preseed.cfg +```