Ready community pages for vanilla Docsy

Align how we style the community section to work more the way Docsy expects
it to.
pull/45872/head
Tim Bannister 2024-04-14 22:08:48 +01:00
parent b3538b015a
commit ebfc1eaeae
5 changed files with 59 additions and 76 deletions

View File

@ -820,6 +820,44 @@ body.cid-community > #deprecation-warning > .deprecation-warning > * {
background-color: inherit;
}
body.cid-code-of-conduct main {
max-width: calc(min(90vw, 100em));
padding-top: 3rem;
padding-left: 0.5em;
padding-right: 0.5em;
margin-left: auto;
margin-right: auto;
#cncf-code-of-conduct {
margin-top: 4rem;
margin-bottom: 4rem;
padding-left: 4rem;
> h2, h3, h4, h5 {
color: #0662EE;
}
> h2:first-child {
margin-top: 0.25em;
margin-bottom: 1em;
}
}
> hr {
margin-top: 4rem;
margin-bottom: 4rem;
}
> hr:last-of-type ~ * {
text-align: center;
font-size: 1.15rem;
}
> *:last-child {
margin-bottom: 4rem;
}
}
#caseStudies body > #deprecation-warning > .deprecation-warning, body.cid-casestudies > #deprecation-warning > .deprecation-warning {
color: inherit;
background: inherit;

View File

@ -1,8 +1,12 @@
---
title: Community
layout: basic
body_class: community
cid: community
community_styles_migrated: true
menu:
main:
weight: 50
---
<img
id="banner"

View File

@ -1,30 +1,25 @@
---
title: Kubernetes Community Code of Conduct
layout: basic
cid: community
community_styles_migrated: true
body_class: code-of-conduct
cid: code-of-conduct
---
<div class="community-section" id="cncf-code-of-conduct-intro">
<p>
Kubernetes follows the
<a href="https://github.com/cncf/foundation/blob/main/code-of-conduct.md">CNCF Code of Conduct</a>.
_Kubernetes follows the
[CNCF Code of Conduct](https://github.com/cncf/foundation/blob/main/code-of-conduct.md).
The text of the CNCF CoC is replicated below, as of
<a href="https://github.com/cncf/foundation/blob/c79711b5127e2d963107bc1be4a41975c8791acc/code-of-conduct.md">commit c79711b51</a>.
If you notice that this is out of date, please
<a href="https://github.com/kubernetes/website/issues/new">file an issue</a>.
</p>
<p>
If you notice a violation of the Code of Conduct at an event or meeting, in
Slack, or in another communication mechanism, reach out to
the <a href="https://git.k8s.io/community/committee-code-of-conduct">Kubernetes Code of Conduct Committee</a>.
You can reach us by email at <a href="mailto:conduct@kubernetes.io">conduct@kubernetes.io</a>.
Your anonymity will be protected.
</p>
</div>
[commit c79711b51](https://github.com/cncf/foundation/blob/c79711b5127e2d963107bc1be4a41975c8791acc/code-of-conduct.md)._
<div id="cncf-code-of-conduct">
{{< include "/static/cncf-code-of-conduct.md" >}}
{{< include "static/cncf-code-of-conduct.md" >}}
</div>
---
If you notice a violation of the Code of Conduct at an event or meeting, in
Slack, or in another communication mechanism, reach out to
the [Kubernetes Code of Conduct Committee](https://git.k8s.io/community/committee-code-of-conduct)
You can reach them by email at [conduct@kubernetes.io](mailto:conduct@kubernetes.io).
Your anonymity will be protected.
If you notice that this page is out of date, please [file an issue](https://github.com/kubernetes/website/issues/new/choose).

View File

@ -1,28 +0,0 @@
<!-- Do not edit this file directly. Get the latest from
https://git.k8s.io/community/values.md -->
# Kubernetes Community Values
Kubernetes Community culture contributes substantially to the project's success. The following values have evolved over time, pushing our project and peers toward constant improvement.
## Distribution is better than centralization
The scale of the Kubernetes project is only viable through high-trust and high-visibility distribution of work, which includes delegation of authority, decision making, technical design, code ownership, and documentation. Distributed asynchronous ownership, collaboration, communication and decision making are the cornerstones of our world-wide community.
## Community over product or company
We are here as a community first. Our allegiance is to the intentional stewardship of the Kubernetes project for the benefit of all its members and users everywhere. We support working together publicly for the common goal of a vibrant interoperable ecosystem, providing an excellent experience for our users. Individuals gain status through work. Companies gain status through their commitments to support this community and fund the resources necessary for the project to operate.
## Automation over process
Large projects have a lot of hard yet less exciting work. We value time spent automating repetitive work more highly than toil. Where work cannot be automated, our culture recognizes and rewards all types of contributions while recognizing that heroism is not sustainable.
## Inclusive is better than exclusive
Broadly successful and useful technologies require different perspectives and skill sets, which can only be heard in a welcoming and respectful environment. Community membership is a privilege, not a right. Community members earn leadership through effort, scope, quality, quantity, and duration of contributions. Our community respects the time and effort put into a discussion, regardless of where a contributor is on their growth path.
## Evolution is better than stagnation
Openness to new ideas and studied technological evolution make Kubernetes a stronger project. Continual improvement, servant leadership, mentorship, and respect are the foundations of Kubernetes culture. Kubernetes community leaders have a duty to find, sponsor, and promote new community members. Leaders should expect to step aside. Community members should expect to step up.
**"Culture eats strategy for breakfast." --Peter Drucker**

View File

@ -1,26 +0,0 @@
---
title: Kubernetes Community Values
layout: basic
cid: community
community_styles_migrated: true
# this page is deprecated
# canonical page is https://www.kubernetes.dev/community/values/
sitemap:
priority: 0.1
---
<div class="community-section" id="values-legacy">
<p>
This page is a replicated version of
<a href="https://www.kubernetes.dev/community/values/">Kubernetes Community Values</a>, as of
<a href="https://github.com/kubernetes/community/blob/5c642749a030c5f7b2363a6bb9bad00a56a92161/values.md">commit 5c64274</a>.
If you notice that this is out of date, please
<a href="https://github.com/kubernetes/website/issues/new">file an issue</a>.
</p>
{{< include "/static/community-values.md" >}}
</div>
<!-- no need to localize this file, nor the contents of the static directory -->
<!-- if localizing, find the appropriate localized version of the CNCF code of
conduct, and link directly to that -->