Skip to content

Commit

Permalink
docs: correct documentation for source-map-visualisations argument (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewspivey authored Nov 20, 2024
1 parent 65657de commit 3a0359e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/templ/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/04-core-concepts/02-template-generation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/09-commands-and-tools/01-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Args:
Generates code for all files in path. (default .)
-f <file>
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)
Expand Down

0 comments on commit 3a0359e

Please sign in to comment.