From a665cc6c13e504856cf7c5b2ab400d9974a84f02 Mon Sep 17 00:00:00 2001 From: Tim Bannister Date: Fri, 9 Aug 2024 09:57:19 +0100 Subject: [PATCH] Use Docsy layout for community page Adapt the existing page to work with (near-)vanilla Docsy. This includes new localizable strings. --- assets/scss/_custom.scss | 8 +++++ content/en/community/code-of-conduct.html | 37 +++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 content/en/community/code-of-conduct.html diff --git a/assets/scss/_custom.scss b/assets/scss/_custom.scss index de74a05cdf..fcbcd31b01 100644 --- a/assets/scss/_custom.scss +++ b/assets/scss/_custom.scss @@ -1130,6 +1130,14 @@ body.cid-community #cncf-code-of-conduct h2:after { } } +body.cid-community { + section.linkbox { + max-width: clamp(50%, calc(100em + 2vw), 100vw); + margin-left: auto; + margin-right: auto; + } +} + #caseStudies body > #deprecation-warning, body.cid-casestudies > #deprecation-warning, body.cid-community > #deprecation-warning { display: inline-block; vertical-align: top; diff --git a/content/en/community/code-of-conduct.html b/content/en/community/code-of-conduct.html new file mode 100644 index 0000000000..2400ba1034 --- /dev/null +++ b/content/en/community/code-of-conduct.html @@ -0,0 +1,37 @@ +--- +title: Kubernetes Community Code of Conduct +body_class: code-of-conduct +--- + + +
+
+ +

Kubernetes Community Code of Conduct

+

+ Kubernetes follows the + CNCF Code of Conduct. + The text of the CNCF CoC is replicated below, as of + commit 71412bb02. +

+

+ If you notice that this is out of date, please + file an issue. +

+
+
+
+ +
+{{< include "/static/cncf-code-of-conduct.md" >}} +
+ +
+ +

+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. +You can reach us by email at conduct@kubernetes.io. +Your anonymity will be protected. +