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

Move webpages command out of appcmd and add --include-front-matter flag #3395

Merged
merged 6 commits into from
Oct 10, 2024

Conversation

doriable
Copy link
Member

@doriable doriable commented Oct 9, 2024

This PR does a couple of things:

  1. It moves the webpages command out appcmd. In order to do this, we added
    ModifyCobra to appcmd.Command, which allows us to side load the webpages
    Cobra command. This means that appcmd.Command will no longer provide the
    webpages command at the top-level, and instead we sideload it alongside buf.
  2. Adds an --include-front-matter flag to webpages command. This means that
    front matter is no longer generated by default for command markdown pages. This
    is because not all documentation systems require the front matter.

Copy link
Contributor

github-actions bot commented Oct 9, 2024

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedOct 10, 2024, 2:48 PM

@doriable doriable requested a review from bufdev October 9, 2024 21:58
@bufdev bufdev merged commit 3a3b649 into main Oct 10, 2024
10 checks passed
@bufdev bufdev deleted the add-no-front-matter-flag-webpages branch October 10, 2024 15:10
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