Skip to content

Commit 73e4ccc

Browse files
authored
Merge pull request #4 from kubernetes/master
merge from master
2 parents 0dfe629 + 66fd7f7 commit 73e4ccc

File tree

1,176 files changed

+28377
-19616
lines changed

Some content is hidden

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

1,176 files changed

+28377
-19616
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ RUN apk add --no-cache \
1414
openssh-client \
1515
rsync \
1616
build-base \
17-
libc6-compat
17+
libc6-compat \
18+
npm && \
19+
npm install -G autoprefixer postcss-cli
1820

1921
ARG HUGO_VERSION
2022

Makefile

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ NETLIFY_FUNC = $(NODE_BIN)/netlify-lambda
66
# but this can be overridden when calling make, e.g.
77
# CONTAINER_ENGINE=podman make container-image
88
CONTAINER_ENGINE ?= docker
9-
CONTAINER_IMAGE = kubernetes-hugo
9+
IMAGE_VERSION=$(shell scripts/hash-files.sh Dockerfile Makefile | cut -c 1-12)
10+
CONTAINER_IMAGE = kubernetes-hugo:v$(HUGO_VERSION)-$(IMAGE_VERSION)
1011
CONTAINER_RUN = $(CONTAINER_ENGINE) run --rm --interactive --tty --volume $(CURDIR):/src
1112

1213
CCRED=\033[0;31m
@@ -17,12 +18,15 @@ CCEND=\033[0m
1718
help: ## Show this help.
1819
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {sub("\\\\n",sprintf("\n%22c"," "), $$2);printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
1920

21+
module-check:
22+
@git submodule status --recursive | awk '/^[+-]/ {printf "\033[31mWARNING\033[0m Submodule not initialized: \033[34m%s\033[0m\n",$$2}' 1>&2
23+
2024
all: build ## Build site with production settings and put deliverables in ./public
2125

22-
build: ## Build site with production settings and put deliverables in ./public
26+
build: module-check ## Build site with production settings and put deliverables in ./public
2327
hugo --minify
2428

25-
build-preview: ## Build site with drafts and future posts enabled
29+
build-preview: module-check ## Build site with drafts and future posts enabled
2630
hugo --buildDrafts --buildFuture
2731

2832
deploy-preview: ## Deploy preview site via netlify
@@ -39,7 +43,7 @@ production-build: build check-headers-file ## Build the production site and ensu
3943
non-production-build: ## Build the non-production site, which adds noindex headers to prevent indexing
4044
hugo --enableGitInfo
4145

42-
serve: ## Boot the development server.
46+
serve: module-check ## Boot the development server.
4347
hugo server --buildFuture
4448

4549
docker-image:
@@ -60,10 +64,10 @@ container-image:
6064
--tag $(CONTAINER_IMAGE) \
6165
--build-arg HUGO_VERSION=$(HUGO_VERSION)
6266

63-
container-build:
64-
$(CONTAINER_RUN) $(CONTAINER_IMAGE) hugo
67+
container-build: module-check
68+
$(CONTAINER_RUN) $(CONTAINER_IMAGE) hugo --minify
6569

66-
container-serve:
70+
container-serve: module-check
6771
$(CONTAINER_RUN) --mount type=tmpfs,destination=/src/resources,tmpfs-mode=0755 -p 1313:1313 $(CONTAINER_IMAGE) hugo server --buildFuture --bind 0.0.0.0
6872

6973
test-examples:
@@ -81,4 +85,3 @@ docker-internal-linkcheck:
8185
container-internal-linkcheck: link-checker-image-pull
8286
$(CONTAINER_RUN) $(CONTAINER_IMAGE) hugo --config config.toml,linkcheck-config.toml --buildFuture
8387
$(CONTAINER_ENGINE) run --mount type=bind,source=$(CURDIR),target=/test --rm wjdp/htmltest htmltest
84-

OWNERS_ALIASES

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,4 @@
11
aliases:
2-
sig-cluster-lifecycle-kubeadm-approvers: # Approving changes to kubeadm documentation
3-
- timothysc
4-
- lukemarsden
5-
- luxas
6-
- fabriziopandini
7-
sig-cluster-lifecycle-kubeadm-reviewers: # Reviewing kubeadm documentation
8-
- timothysc
9-
- lukemarsden
10-
- luxas
11-
- fabriziopandini
12-
- kad
13-
- xiangpengzhao
14-
- stealthybox
15-
- liztio
16-
- chuckha
17-
- detiber
18-
- dixudx
192
sig-docs-blog-owners: # Approvers for blog content
203
- castrojo
214
- kbarnard10
@@ -40,30 +23,28 @@ aliases:
4023
- rlenferink
4124
sig-docs-en-owners: # Admins for English content
4225
- bradtopol
43-
- daminisatya
26+
- celestehorgan
4427
- jimangel
4528
- kbarnard10
4629
- kbhawkey
4730
- makoscafee
4831
- onlydole
49-
- Rajakavitha1
5032
- savitharaghunathan
5133
- sftim
5234
- steveperry-53
5335
- tengqm
54-
- vineethreddy02
5536
- xiangpengzhao
5637
- zacharysarah
5738
- zparnold
5839
sig-docs-en-reviews: # PR reviews for English content
5940
- bradtopol
41+
- celestehorgan
6042
- daminisatya
6143
- jimangel
6244
- kbarnard10
6345
- kbhawkey
6446
- makoscafee
6547
- onlydole
66-
- rajakavitha1
6748
- rajeshdeshpande02
6849
- sftim
6950
- steveperry-53
@@ -111,12 +92,10 @@ aliases:
11192
- avidLearnerInProgress
11293
- daminisatya
11394
- mittalyashu
114-
- Rajakavitha1
11595
sig-docs-hi-reviews: # PR reviews for Hindi content
11696
- avidLearnerInProgress
11797
- daminisatya
11898
- mittalyashu
119-
- Rajakavitha1
12099
sig-docs-id-owners: # Admins for Indonesian content
121100
- girikuncoro
122101
- irvifa
@@ -125,6 +104,7 @@ aliases:
125104
- irvifa
126105
- wahyuoi
127106
- phanama
107+
- danninov
128108
sig-docs-it-owners: # Admins for Italian content
129109
- fabriziopandini
130110
- mattiaperi
@@ -212,6 +192,7 @@ aliases:
212192
- potapy4
213193
- dianaabv
214194
sig-docs-ru-reviews: # PR reviews for Russian content
195+
- Arhell
215196
- msheldyakov
216197
- aisonaku
217198
- potapy4
@@ -233,4 +214,4 @@ aliases:
233214
- butuzov
234215
- idvoretskyi
235216
- MaxymVlasov
236-
- Potapy4
217+
- Potapy4

README-ja.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Kubernetesのドキュメント
22

3-
[![Build Status](https://api.travis-ci.org/kubernetes/website.svg?branch=master)](https://travis-ci.org/kubernetes/website)
4-
[![GitHub release](https://img.shields.io/github/release/kubernetes/website.svg)](https://github.com/kubernetes/website/releases/latest)
3+
[![Netlify Status](https://api.netlify.com/api/v1/badges/be93b718-a6df-402a-b4a4-855ba186c97d/deploy-status)](https://app.netlify.com/sites/kubernetes-io-master-staging/deploys) [![GitHub release](https://img.shields.io/github/release/kubernetes/website.svg)](https://github.com/kubernetes/website/releases/latest)
54

65
このリポジトリには、[KubernetesのWebサイトとドキュメント](https://kubernetes.io/)をビルドするために必要な全アセットが格納されています。貢献に興味を持っていただきありがとうございます!
76

@@ -14,7 +13,20 @@ Hugoがインストールできたら、以下のコマンドを使ってWebサ
1413
```bash
1514
git clone https://github.com/kubernetes/website.git
1615
cd website
17-
git submodule update --init --recursive
16+
git submodule update --init --recursive --depth 1
17+
```
18+
19+
**注意:** Kubernetesのウェブサイトでは[DocsyというHugoのテーマ](https://github.com/google/docsy#readme)を使用しています。リポジトリを更新していない場合、 `website/themes/docsy`ディレクトリは空です。 このサイトはテーマのローカルコピーなしでは構築できません。
20+
21+
テーマをアップデートするには以下のコマンドを実行します:
22+
23+
```bash
24+
git submodule update --init --recursive --depth 1
25+
```
26+
27+
サイトをローカルでビルドしてテストするには以下のコマンドを実行します:
28+
29+
```bash
1830
hugo server --buildFuture
1931
```
2032

@@ -33,11 +45,11 @@ hugo server --buildFuture
3345

3446
GitHubの画面右上にある**Fork**ボタンをクリックすると、お使いのGitHubアカウントに紐付いた本リポジトリのコピーが作成され、このコピーのことを*フォーク*と呼びます。フォークリポジトリの中ではお好きなように変更を加えていただいて構いません。加えた変更をこのリポジトリに追加したい任意のタイミングにて、フォークリポジトリからPull Reqeustを作成してください。
3547

36-
Pull Requestが作成されると、レビュー担当者が責任を持って明確かつ実用的なフィードバックを返します。
37-
Pull Requestの所有者は作成者であるため、**ご自身で作成したPull Requestを編集し、フィードバックに対応するのはご自身の役目です。**
48+
Pull Requestが作成されると、レビュー担当者が責任を持って明確かつ実用的なフィードバックを返します。Pull Requestの所有者は作成者であるため、**ご自身で作成したPull Requestを編集し、フィードバックに対応するのはご自身の役目です。**
49+
3850
また、状況によっては2人以上のレビュアーからフィードバックが返されたり、アサインされていないレビュー担当者からのフィードバックが来ることがある点もご注意ください。
39-
さらに、特定のケースにおいては、レビュー担当者がKubernetesの技術的なレビュアーに対してレビューを依頼することもあります。
40-
レビュー担当者はタイムリーにフィードバックを提供するために最善を尽くしますが、応答時間は状況に応じて異なる場合があります。
51+
52+
さらに、特定のケースにおいては、レビュー担当者がKubernetesの技術的なレビュアーに対してレビューを依頼することもあります。レビュー担当者はタイムリーにフィードバックを提供するために最善を尽くしますが、応答時間は状況に応じて異なる場合があります。
4153

4254
Kubernetesのドキュメントへの貢献に関する詳細については以下のページをご覧ください:
4355

README-uk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ hugo server --buildFuture
5555
Більше інформації про внесок у документацію Kubernetes ви знайдете у наступних джерелах:
5656

5757
* [Внесок: з чого почати](https://kubernetes.io/docs/contribute/)
58-
* [Використання шаблонів сторінок](http://kubernetes.io/docs/contribute/style/page-templates/)
58+
* [Використання шаблонів сторінок](https://kubernetes.io/docs/contribute/style/page-content-types/)
5959
* [Керівництво зі стилю оформлення документації](http://kubernetes.io/docs/contribute/style/style-guide/)
6060
* [Переклад документації Kubernetes іншими мовами](https://kubernetes.io/docs/contribute/localization/)
6161

0 commit comments

Comments
 (0)