From 1c091eece7823008623d94d046a8836dcd20dbac Mon Sep 17 00:00:00 2001 From: "alex.stanfield" <13949480+chaptersix@users.noreply.github.com> Date: Wed, 15 Apr 2026 14:01:13 -0500 Subject: [PATCH] fix: use generic auto-generated comment in gen-docs output --- internal/commandsgen/docs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/commandsgen/docs.go b/internal/commandsgen/docs.go index b3857503e..258d2f947 100644 --- a/internal/commandsgen/docs.go +++ b/internal/commandsgen/docs.go @@ -81,7 +81,7 @@ func (w *docWriter) writeCommand(c *Command) { w.fileMap[fileName].WriteString("---") w.fileMap[fileName].WriteString("\n\n") w.fileMap[fileName].WriteString("{/* NOTE: This is an auto-generated file. Any edit to this file will be overwritten.\n") - w.fileMap[fileName].WriteString("This file is generated from https://github.com/temporalio/cli/blob/main/internal/commandsgen/commands.yml via internal/cmd/gen-docs */}\n\n") + w.fileMap[fileName].WriteString("This file is auto-generated. Do not edit directly. */}\n\n") // Add introductory paragraph w.fileMap[fileName].WriteString(fmt.Sprintf("This page provides a reference for the `temporal` CLI `%s` command. ", fileName)) w.fileMap[fileName].WriteString("The flags applicable to each subcommand are presented in a table within the heading for the subcommand. ")