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

Ready community pages for vanilla Docsy #45872

Merged

Conversation

sftim
Copy link
Contributor

@sftim sftim commented Apr 14, 2024

Align how we style the community section to work more the way Docsy expects it to.

The way this works is to set menu front matter that Docsy would display in a reasonable way.

Along with that, I've changed the CSS so that it doesn't depend on pulling in a special file, and to support that I'm dropping some legacy <center> elements.

Existing section index | Preview

/area web-development

Helps with issue #41171

@k8s-ci-robot k8s-ci-robot added area/web-development Issues or PRs related to the kubernetes.io's infrastructure, design, or build processes cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. language/en Issues or PRs related to English language labels Apr 14, 2024
@k8s-ci-robot k8s-ci-robot added the sig/docs Categorizes an issue or PR as relevant to SIG Docs. label Apr 14, 2024
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed because: the page is deprecated. I can split this into a separate PR if we want that.

Copy link

netlify bot commented Apr 14, 2024

Pull request preview available for checking

Built without sensitive environment variables

Name Link
🔨 Latest commit b78e1cd
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-io-main-staging/deploys/6627d02945f6f300095481b2
😎 Deploy Preview https://deploy-preview-45872--kubernetes-io-main-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -613,6 +613,44 @@ body.cid-community > #deprecation-warning > .deprecation-warning > * {
background-color: inherit;
}

body.cid-code-of-conduct main {
Copy link
Contributor Author

@sftim sftim Apr 14, 2024

Choose a reason for hiding this comment

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

This is based on the existing static CSS.

Copy link
Member

@dipesh-rawat dipesh-rawat left a comment

Choose a reason for hiding this comment

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

This PR makes nice progress towards aligning with Docsy.

Preview Page

/approve

@sftim sftim force-pushed the 20240414_vanillaify_content_community branch from 924ce5c to 7adae45 Compare April 18, 2024 11:10
sftim added 2 commits April 23, 2024 16:11
Align how we style the community section to work more the way Docsy expects
it to.
@sftim sftim force-pushed the 20240414_vanillaify_content_community branch from 5718c20 to b78e1cd Compare April 23, 2024 15:13
@reylejano
Copy link
Member

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dipesh-rawat, reylejano

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 Apr 24, 2024
@windsonsea
Copy link
Member

Thanks
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 26, 2024
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 48ea73fe02134bac4fdd47a64bab1787055dfb73

@k8s-ci-robot k8s-ci-robot merged commit 7200e45 into kubernetes:main Apr 26, 2024
6 checks passed
@sftim sftim deleted the 20240414_vanillaify_content_community branch October 12, 2024 21:25
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. area/web-development Issues or PRs related to the kubernetes.io's infrastructure, design, or build processes 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/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants