Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 17, 2026

The Sponsors section was appearing three times in the grok NuGet package readme.

The src/Grok/readme.md includes the #cli section from the main readme, which previously also included the sponsors footer. Since the Grok readme also has its own sponsors footer include, this caused duplication.

Added a closing <!-- #cli --> marker in the main readme.md before the sponsors section to properly end the #cli section. Now when the Grok readme includes the #cli section, it only gets the CLI content, and then includes the sponsors footer once via its own include directive.

Original prompt

The Sponsors section is cloned three times in the grok package readme. Fix that. See https://www.nuget.org/packages/grok (and contrast with https://www.nuget.org/packages/xAI).


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: kzu <169707+kzu@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix duplicated Sponsors section in grok package readme Fix duplicate Sponsors section in grok package readme Jan 17, 2026
Copilot AI requested a review from kzu January 17, 2026 19:08
@kzu
Copy link
Member

kzu commented Jan 17, 2026

@copilot we should instead close the cli section before the sponsors section (with a matching <!-- #cli -->) and instead include the raw footer form the CLI readme.

Co-authored-by: kzu <169707+kzu@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jan 17, 2026

@copilot we should instead close the cli section before the sponsors section (with a matching <!-- #cli -->) and instead include the raw footer form the CLI readme.

Done in 2361a70. Added the closing <!-- #cli --> marker in the main readme before the sponsors section, and restored the direct footer include in the Grok readme.

@kzu kzu marked this pull request as ready for review January 17, 2026 19:14
@kzu kzu merged commit 6c6747e into main Jan 17, 2026
1 check passed
@kzu kzu deleted the copilot/fix-duplicate-sponsors-section branch January 17, 2026 19:14
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.

2 participants