Skip to content

Commit f2765df

Browse files
authored
Merge pull request #30536 from jlbutler/merged-main-dev-1.23
Merged main dev 1.23, integration branch sync
2 parents c688bcd + d330226 commit f2765df

File tree

246 files changed

+6954
-2363
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

246 files changed

+6954
-2363
lines changed

OWNERS_ALIASES

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,11 @@ aliases:
3535
- divya-mohan0209
3636
- jimangel
3737
- kbhawkey
38+
- mehabhalodiya
3839
- onlydole
3940
- rajeshdeshpande02
4041
- sftim
42+
- shannonxtreme
4143
- tengqm
4244
sig-docs-es-owners: # Admins for Spanish content
4345
- raelga
@@ -166,6 +168,7 @@ aliases:
166168
- xichengliudui
167169
# zhangxiaoyu-zidif
168170
sig-docs-pt-owners: # Admins for Portuguese content
171+
- edsoncelio
169172
- femrtnz
170173
- jailton
171174
- jcjesus
@@ -174,6 +177,7 @@ aliases:
174177
- rikatz
175178
- yagonobre
176179
sig-docs-pt-reviews: # PR reviews for Portugese content
180+
- edsoncelio
177181
- femrtnz
178182
- jailton
179183
- jcjesus
@@ -221,12 +225,12 @@ aliases:
221225
# authoritative source: git.k8s.io/community/OWNERS_ALIASES
222226
committee-steering: # provide PR approvals for announcements
223227
- cblecker
224-
- derekwaynecarr
225228
- dims
229+
- justaugustus
226230
- liggitt
227231
- mrbobbytables
228-
- nikhita
229232
- parispittman
233+
- tpepper
230234
# authoritative source: https://git.k8s.io/sig-release/OWNERS_ALIASES
231235
sig-release-leads:
232236
- cpanato # SIG Technical Lead

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ Learn more about SIG Docs Kubernetes community and meetings on the [community pa
146146

147147
You can also reach the maintainers of this project at:
148148

149-
- [Slack](https://kubernetes.slack.com/messages/sig-docs) [Get an invite for this Slack](https://slack.k8s.io/)
149+
- [Slack](https://kubernetes.slack.com/messages/sig-docs)
150+
- [Get an invite for this Slack](https://slack.k8s.io/)
150151
- [Mailing List](https://groups.google.com/forum/#!forum/kubernetes-sig-docs)
151152

152153
## Contributing to the docs

assets/scss/_base.scss

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -810,11 +810,10 @@ section#cncf {
810810
}
811811
}
812812

813-
.td-search {
814-
header > .header-filler {
815-
height: $hero-padding-top;
816-
background-color: black;
817-
}
813+
// Header filler size adjustment
814+
815+
.header-hero.filler {
816+
height: $hero-padding-top;
818817
}
819818

820819
// Docs specific
@@ -859,17 +858,6 @@ section#cncf {
859858

860859
/* DOCUMENTATION */
861860

862-
body.td-documentation {
863-
header > .header-filler {
864-
height: $hero-padding-top;
865-
background-color: black;
866-
}
867-
/* Special case for if an announcement is active */
868-
header section#announcement ~ .header-filler {
869-
display: none;
870-
}
871-
}
872-
873861
// nav-tabs and tab-content
874862
.nav-tabs {
875863
border-bottom: none !important;

assets/scss/_custom.scss

Lines changed: 110 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ $announcement-size-adjustment: 8px;
2626
}
2727
}
2828

29+
.header-hero #quickstartButton.button {
30+
margin-top: 1em;
31+
}
32+
2933
section {
3034
.main-section {
3135
@media only screen and (min-width: 1024px) {
@@ -34,8 +38,11 @@ section {
3438
}
3539
}
3640

37-
.td-outer {
38-
padding: 0 !important;
41+
body {
42+
header + .td-outer {
43+
min-height: 50vh;
44+
height: auto;
45+
}
3946
}
4047

4148

@@ -313,33 +320,40 @@ main {
313320

314321
// blockquotes and callouts
315322

316-
.td-content, body {
317-
blockquote.callout {
323+
body {
324+
.alert {
325+
// Override Docsy styles
318326
padding: 0.4rem 0.4rem 0.4rem 1rem;
319-
border: 1px solid #eee;
320-
border-left-width: 0.5em;
327+
border-top: 1px solid #eee;
328+
border-bottom: 1px solid #eee;
329+
border-right: 1px solid #eee;
330+
border-radius: 0.25em;
331+
border-left-width: 0.5em; // fallback in case calc() is missing
321332
background: #fff;
322333
color: #000;
323334
margin-top: 0.5em;
324335
margin-bottom: 0.5em;
325336
}
326-
blockquote.callout {
327-
border-radius: calc(1em/3);
337+
// Set minimum width and radius for alert color
338+
.alert {
339+
border-left-width: calc(max(0.5em, 4px));
340+
border-top-left-radius: calc(max(0.5em, 4px));
341+
border-bottom-left-radius: calc(max(0.5em, 4px));
328342
}
329-
.callout.caution {
343+
.alert.callout.caution {
330344
border-left-color: #f0ad4e;
331345
}
332-
333-
.callout.note {
346+
.alert.callout.note {
334347
border-left-color: #428bca;
335348
}
336-
337-
.callout.warning {
349+
.alert.callout.warning {
338350
border-left-color: #d9534f;
339351
}
352+
.alert.third-party-content {
353+
border-left-color: #444;
354+
}
340355

341-
342-
h1:first-of-type + blockquote.callout {
356+
h1:first-of-type + .alert.callout {
343357
margin-top: 1.5em;
344358
}
345359
}
@@ -367,7 +381,7 @@ main {
367381
background: #f8f9cb;
368382
}
369383

370-
.deprecation-warning {
384+
.deprecation-warning, .pageinfo.deprecation-warning {
371385
padding: 20px;
372386
margin: 20px 0;
373387
background-color: #faf5b6;
@@ -554,34 +568,6 @@ main.content {
554568
}
555569
}
556570

557-
/* ANNOUNCEMENTS */
558-
section#fp-announcement ~ .header-hero {
559-
padding: $announcement-size-adjustment 0;
560-
561-
> div {
562-
margin-top: $announcement-size-adjustment;
563-
margin-bottom: $announcement-size-adjustment;
564-
}
565-
566-
h1, h2, h3, h4, h5 {
567-
margin: $announcement-size-adjustment 0;
568-
}
569-
}
570-
571-
section#announcement ~ .header-hero {
572-
padding: #{$announcement-size-adjustment / 2} 0;
573-
574-
> div {
575-
margin-top: #{$announcement-size-adjustment / 2};
576-
margin-bottom: #{$announcement-size-adjustment / 2};
577-
padding-bottom: #{$announcement-size-adjustment / 2};
578-
}
579-
580-
h1, h2, h3, h4, h5 {
581-
margin: #{$announcement-size-adjustment / 2} 0;
582-
}
583-
}
584-
585571
/* DOCUMENTATION */
586572

587573
/* Don't show lead text */
@@ -607,12 +593,12 @@ body.td-documentation {
607593

608594
@media print {
609595
/* Do not print announcements */
610-
#announcement, section#announcement, #fp-announcement, section#fp-announcement {
596+
#announcement {
611597
display: none;
612598
}
613599
}
614600

615-
#announcement, #fp-announcement {
601+
#announcement {
616602
> * {
617603
color: inherit;
618604
background: inherit;
@@ -629,42 +615,90 @@ body.td-documentation {
629615
}
630616
}
631617

632-
#announcement {
633-
padding-top: 105px;
634-
padding-bottom: 25px;
635-
}
636-
637618
.header-hero {
638619
padding-top: 40px;
639620
}
640621

641-
/* Extra announcement height only for landscape viewports */
642-
@media (min-aspect-ratio: 8/9) {
643-
#fp-announcement {
644-
min-height: 25vh;
622+
#announcement {
623+
.announcement-main {
624+
margin-left: auto;
625+
margin-right: auto;
626+
margin-bottom: 0px;
627+
628+
// for padding-top see _size.scss
629+
padding-bottom: calc(max(2em, 2rem));
630+
631+
max-width: calc(min(1200px - 8em, 80vw));
632+
}
633+
634+
635+
/* always white */
636+
h1, h2, h3, h4, h5, h6, p * {
637+
color: #ffffff;
638+
background: transparent;
639+
640+
img.event-logo {
641+
display: inline-block;
642+
max-height: calc(min(80px, 8em));
643+
max-width: calc(min(240px, 33vw));
644+
float: right;
645+
}
645646
}
646647
}
647648

648-
#fp-announcement aside {
649-
padding-top: 115px;
650-
padding-bottom: 25px;
649+
#announcement + .header-hero {
650+
padding-top: 2em;
651651
}
652652

653-
.announcement {
654-
.content {
655-
margin-bottom: 0px;
653+
// Extra padding for anything except wide viewports
654+
@media (min-width: 992px) {
655+
#announcement aside { // more specific
656+
.announcement-main {
657+
padding-top: calc(max(8em, 8rem));
658+
}
656659
}
660+
}
657661

662+
@media (max-width: 768px) {
663+
#announcement {
664+
padding-top: 4rem;
665+
padding-bottom: 4rem;
666+
.announcement-main, aside .announcement-main {
667+
padding-top: calc(min(2rem,2em));
668+
}
669+
}
670+
}
658671

659-
> p {
660-
.gridPage #announcement .content p,
661-
.announcement > h4,
662-
.announcement > h3 {
663-
color: #ffffff;
672+
@media (max-width: 480px) {
673+
#announcement {
674+
padding-bottom: 0.5em;
675+
}
676+
#announcement aside {
677+
h1, h2, h3, h4, h5, h6 {
678+
img.event-logo {
679+
margin-left: auto;
680+
margin-right: auto;
681+
margin-bottom: 0.75em;
682+
display: block;
683+
max-height: initial;
684+
max-width: calc(min(calc(100vw - 2em), 240px));
685+
float: initial;
686+
}
664687
}
665688
}
666689
}
667690

691+
#announcement + .header-hero.filler {
692+
display: none;
693+
}
694+
695+
@media (min-width: 768px) {
696+
#announcement + .header-hero {
697+
display: none;
698+
}
699+
}
700+
701+
668702
// Match Docsy-imposed max width on text body
669703
@media (min-width: 1200px) {
670704
body.td-blog main .td-content > figure {
@@ -721,3 +755,13 @@ figure {
721755
}
722756
}
723757
}
758+
759+
// Indent definition lists
760+
dl {
761+
padding-left: 1.5em;
762+
763+
// Add vertical space before definitions
764+
> *:not(dt) + dt, dt:first-child {
765+
margin-top: 1.5em;
766+
}
767+
}

assets/scss/_size.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,11 @@ section,
1818
line-height: $vendor-strip-height;
1919
font-size: $vendor-strip-font-size;
2020
}
21+
22+
#announcement {
23+
min-height: $hero-padding-top;
24+
25+
.announcement-main {
26+
padding-top: calc(max(8em, 8rem, #{$hero-padding-top} / 3));
27+
}
28+
}

0 commit comments

Comments
 (0)