From 3a0359efdb57991641b7d751d7f769d8b2467fd2 Mon Sep 17 00:00:00 2001 From: Matt Spivey <1001689+matthewspivey@users.noreply.github.com> Date: Wed, 20 Nov 2024 04:12:10 -0500 Subject: [PATCH] docs: correct documentation for source-map-visualisations argument (#1002) --- cmd/templ/main.go | 2 +- docs/docs/04-core-concepts/02-template-generation.md | 2 +- docs/docs/09-commands-and-tools/01-cli.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/templ/main.go b/cmd/templ/main.go index 9da4a3d2c..c265c24a8 100644 --- a/cmd/templ/main.go +++ b/cmd/templ/main.go @@ -149,7 +149,7 @@ Args: -stdout Prints to stdout instead of writing generated files to the filesystem. Only applicable when -f is used. - -sourceMapVisualisations + -source-map-visualisations Set to true to generate HTML files to visualise the templ code and its corresponding Go code. -include-version Set to false to skip inclusion of the templ version in the generated code. (default true) diff --git a/docs/docs/04-core-concepts/02-template-generation.md b/docs/docs/04-core-concepts/02-template-generation.md index b3f88f2f0..04139d2cc 100644 --- a/docs/docs/04-core-concepts/02-template-generation.md +++ b/docs/docs/04-core-concepts/02-template-generation.md @@ -40,7 +40,7 @@ Args: -stdout Prints to stdout instead of writing generated files to the filesystem. Only applicable when -f is used. - -sourceMapVisualisations + -source-map-visualisations Set to true to generate HTML files to visualise the templ code and its corresponding Go code. -include-version Set to false to skip inclusion of the templ version in the generated code. (default true) diff --git a/docs/docs/09-commands-and-tools/01-cli.md b/docs/docs/09-commands-and-tools/01-cli.md index f384161f1..71915b617 100644 --- a/docs/docs/09-commands-and-tools/01-cli.md +++ b/docs/docs/09-commands-and-tools/01-cli.md @@ -33,7 +33,7 @@ Args: Generates code for all files in path. (default .) -f Optionally generates code for a single file, e.g. -f header.templ - -sourceMapVisualisations + -source-map-visualisations Set to true to generate HTML files to visualise the templ code and its corresponding Go code. -include-version Set to false to skip inclusion of the templ version in the generated code. (default true)