Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust cli help output to work better with documentation generation #2317

Conversation

triarius
Copy link
Contributor

@triarius triarius commented Aug 23, 2023

I've adjusted the documentation generation with some new features. We need to meet it half way in the agent code base though.

The biggest is that text that is indented by 4 spaces is treated as
a code block. So we need to unindent non-code and indent code.

See buildkite/docs#2406 for more details.

If you check out the code in that PR, compile this version of the agent and run the script scripts/update-agent-help.sh, it should be a no-op.

I've adjusted the documentation generation with some new feature.

The biggest is that text that is indented by 4 spaces is treated as
a code block. So we need to unindent non-code and indent code.
As it's in the docs, we should link to the docs rather than a GitHub issue.
Copy link
Contributor

@DrJosh9000 DrJosh9000 left a comment

Choose a reason for hiding this comment

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

Prime

@triarius triarius merged commit ace27c4 into main Aug 23, 2023
1 check passed
@triarius triarius deleted the pdp-1505-adjust-the-buildkite-agent-help-text-to-work-with-the-new branch August 23, 2023 11:49
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.

None yet

2 participants