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

Reimplement announcements #21586

Merged

Conversation

celestehorgan
Copy link
Contributor

@celestehorgan celestehorgan commented Jun 8, 2020

Closes #21496.

This PR improves the implementation of announcements by moving announcement strings into i18n.toml and simplifies the implementation by only calling partials/announcement.html and partials/deprecationwarning.html, instead of calling to shortcodes as well.

This PR does not remove the unused shortcodes. This will be done in a follow up task: see #21609.

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jun 8, 2020
@k8s-ci-robot k8s-ci-robot added the sig/docs Categorizes an issue or PR as relevant to SIG Docs. label Jun 8, 2020
@netlify
Copy link

netlify bot commented Jun 8, 2020

Deploy preview for kubernetes-io-master-staging ready!

Built with commit 963a32f

https://deploy-preview-21586--kubernetes-io-master-staging.netlify.app

@k8s-ci-robot k8s-ci-robot added the language/en Issues or PRs related to English language label Jun 8, 2020
config.toml Outdated Show resolved Hide resolved
@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 8, 2020
Signed-off-by: Celeste Horgan <celeste@cncf.io>

Address deprecation-warning styling

Signed-off-by: Celeste Horgan <celeste@cncf.io>

Use partial only

Signed-off-by: Celeste Horgan <celeste@cncf.io>

Refine

Signed-off-by: Celeste Horgan <celeste@cncf.io>
Signed-off-by: Celeste Horgan <celeste@cncf.io>
@celestehorgan celestehorgan changed the title [WIP] Reimplement announcements Reimplement announcements Jun 9, 2020
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 9, 2020
@zacharysarah
Copy link
Contributor

@celestehorgan Thank you so much for this, it looks ✨ !

Co-authored-by: Celeste Horgan <celeste@cncf.io>
@zacharysarah
Copy link
Contributor

Let's see if I can remember the Prow command for merge methods...

/tide merge-method-squash

@zacharysarah
Copy link
Contributor

/label tide/merge-method-squash

@k8s-ci-robot k8s-ci-robot added the tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. label Jun 9, 2020
@zacharysarah
Copy link
Contributor

/hold cancel
/lgtm
/approve

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 9, 2020
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 9, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: zacharysarah

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 9, 2020
@k8s-ci-robot k8s-ci-robot merged commit 9b9ce1f into kubernetes:master Jun 9, 2020
@celestehorgan celestehorgan deleted the reimplement-announcements branch June 9, 2020 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. language/en Issues or PRs related to English language lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Re-implement deprecation warning and announcement feature
3 participants