Skip to content

Comments

Moved autogen comments out of the doc headers#842

Merged
yuandrew merged 3 commits intomainfrom
fix/move-autogen-comments
Sep 2, 2025
Merged

Moved autogen comments out of the doc headers#842
yuandrew merged 3 commits intomainfrom
fix/move-autogen-comments

Conversation

@flippedcoder
Copy link
Contributor

@flippedcoder flippedcoder commented Aug 12, 2025

What was changed

This was breaking the header on the CLI docs pages. Now it's immediately after the header.

Here's the commit with the breaking change: 9fb5fbf

Here's the commit showing the breaking change in the docs: temporalio/documentation@c8eec39#diff-0c36e6922979f7bce143e964b8e3b55a32e04f0e686c0bf1982275ce97bc5316

These changes will need to be merged into the docs repo.

Why?

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

@flippedcoder flippedcoder requested review from a team as code owners August 12, 2025 16:20
@CLAassistant
Copy link

CLAassistant commented Aug 12, 2025

CLA assistant check
All committers have signed the CLA.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link
Contributor

@yuandrew yuandrew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this!

}
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/temporalcli/commandsgen/commands.yml */}\n")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Maybe it makes sense to have a double \n after this comment instead of after the --- line

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

@yuandrew yuandrew merged commit a29a1ee into main Sep 2, 2025
9 checks passed
@yuandrew yuandrew deleted the fix/move-autogen-comments branch September 2, 2025 12:37
stephanos pushed a commit to sivagirish81/cli that referenced this pull request Oct 2, 2025
<!--- Note to EXTERNAL Contributors -->
<!-- Thanks for opening a PR! 
If it is a significant code change, please **make sure there is an open
issue** for this.
We work best with you when we have accepted the idea first before you
code. -->

<!--- For ALL Contributors 👇 -->

## What was changed
This was breaking the header on the CLI docs pages. Now it's immediately
after the header.

Here's the commit with the breaking change:
temporalio@9fb5fbf

Here's the commit showing the breaking change in the docs:
temporalio/documentation@c8eec39#diff-0c36e6922979f7bce143e964b8e3b55a32e04f0e686c0bf1982275ce97bc5316

These changes will need to be merged into the docs repo.

## Why?
<!-- Tell your future self why have you made these changes -->

## Checklist
<!--- add/delete as needed --->

1. Closes <!-- add issue number here -->

2. How was this tested:
<!--- Please describe how you tested your changes/how we can test them
-->

3. Any docs updates needed?
<!--- update README if applicable
      or point out where to update docs.temporal.io -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants