Skip to content

feat(internal/godocfx): add status to packages and TOCs#4547

Merged
tbpg merged 3 commits intomasterfrom
godocfx-pkg-status
Aug 3, 2021
Merged

feat(internal/godocfx): add status to packages and TOCs#4547
tbpg merged 3 commits intomasterfrom
godocfx-pkg-status

Conversation

@tbpg
Copy link
Copy Markdown
Contributor

@tbpg tbpg commented Aug 3, 2021

Follow up from #4525.

@tbpg tbpg requested review from a team, broady, codyoss, dandhlee, fhinkel and noahdietz August 3, 2021 11:17
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Aug 3, 2021
Copy link
Copy Markdown
Member

@codyoss codyoss left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@tbpg tbpg added the automerge Merge the pull request once unit tests and other checks pass. label Aug 3, 2021
Copy link
Copy Markdown

@dandhlee dandhlee left a comment

Choose a reason for hiding this comment

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

If we add other Status other than Deprecated, would that cause any of the other statuses to show because of googleapis/doc-templates#247? I'm guessing not because we specifically look for {{#deprecated}}?

@tbpg
Copy link
Copy Markdown
Contributor Author

tbpg commented Aug 3, 2021

If we add other Status other than Deprecated, would that cause any of the other statuses to show

Yes. The TOC plumbs through any status value. However, the alpha and beta statuses are not used for main doc content.

@tbpg tbpg merged commit c6de69c into master Aug 3, 2021
@tbpg tbpg deleted the godocfx-pkg-status branch August 3, 2021 15:19
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants