Skip to content

Commit 199232f

Browse files
authored
Merge pull request #3050 from cncf/main
[ja] Merge `main` into `dev-ja` to sync-up
2 parents cb63035 + fe1e04e commit 199232f

File tree

117 files changed

+1623
-203
lines changed

Some content is hidden

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

117 files changed

+1623
-203
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ resources/
44
node_modules/
55
.hugo_build.lock
66
.DS_Store
7+
pagefind
78

89
# Local Netlify folder
910
.netlify

Makefile

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
serve:
2+
hugo server \
3+
--disableFastRender \
4+
--buildDrafts \
5+
--buildFuture \
6+
--ignoreCache
7+
--printI18nWarnings \
8+
--printMemoryUsage \
9+
--printPathWarnings \
10+
--printUnusedTemplates \
11+
--templateMetrics \
12+
--templateMetricsHints \
13+
--gc
14+
15+
production-build:
16+
git submodule update --init --recursive
17+
hugo \
18+
--minify
19+
npx -y pagefind --site public
20+
21+
preview-build:
22+
git submodule update --init --recursive
23+
hugo \
24+
--baseURL $(DEPLOY_PRIME_URL) \
25+
--buildDrafts \
26+
--buildFuture \
27+
--minify
28+
npx -y pagefind --site public

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ git submodule update --init --recursive
5050
npm install
5151
```
5252

53-
You can then run the site using `npm run serve` (select "[Hugo]").
53+
You can then run the site using `npm run serve` (select "[Hugo]"). To have the site run locally with a functioning local search, run `npm run serve:with-pagefind`.
5454

5555
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new?repo=cncf/glossary)

assets/js/search.js

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
/*
2+
Copyright 2018 Google LLC
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
https://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
16+
17+
(function($) {
18+
19+
'use strict';
20+
21+
var Search = {
22+
init: function() {
23+
$(document).ready(function() {
24+
$(document).on('keypress', '.td-search-input', function(e) {
25+
if (e.keyCode !== 13) {
26+
return
27+
}
28+
29+
var query = $(this).val();
30+
var searchPage = $(this).data('search-page') + "?q=" + query;
31+
document.location = searchPage;
32+
33+
return false;
34+
});
35+
36+
});
37+
},
38+
};
39+
40+
Search.init();
41+
42+
43+
}(jQuery));

assets/scss/_search.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,14 @@
100100
}
101101

102102
}
103+
104+
.pagefind-ui__result-link {
105+
color: $link-color !important;
106+
}
107+
.pagefind-ui__search-clear {
108+
padding-left: 20px !important;
109+
padding-right: 20px !important;
110+
}
111+
#search {
112+
margin-top: 40px;
113+
}

config.toml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,43 +132,51 @@ weight = 9
132132
[languages.pt-br.params]
133133
description = "O Projeto CNCF Glossário Cloud Native se destina a ser usado como uma referência para termos comuns usados ao falar sobre aplicações nativas de nuvem."
134134

135+
[languages.ru]
136+
contentDir = "content/ru"
137+
languageName = "Русский (Russian)"
138+
title = "Глоссарий Cloud Native"
139+
weight = 10
140+
[languages.ru.params]
141+
description = "Глоссарий Cloud Native — справочник по общим терминам, имеющим отношение к нативным облачным приложениям и технологиям. Разрабатывается фондом CNCF."
142+
135143
[languages.zh-cn]
136144
contentDir = "content/zh-cn"
137145
languageName = "简体中文 (Simplified Chinese)"
138146
title = "Cloud Native(云原生) Glossary"
139-
weight = 10
147+
weight = 11
140148
[languages.zh-cn.params]
141149
description = "CNCF 云原生 Glossary 项目旨在用作讨论云原生应用程序时常用术语的参考"
142150

143151
[languages.es]
144152
contentDir = "content/es"
145153
languageName = "Español (Spanish)"
146154
title = "Cloud Native Glosario"
147-
weight = 11
155+
weight = 12
148156
[languages.es.params]
149157
description = "El proyecto de CNCF Cloud Native Glosario pretende ser usado como una referencia para los terminos comunes usados cuando se habla acerca de las aplicaciones nativas para la nube."
150158

151159
[languages.zh-tw]
152160
contentDir = "content/zh-tw"
153161
languageName = "繁體中文 (Traditional Chinese)"
154162
title = "Cloud Native(雲端原生) Glossary"
155-
weight = 12
163+
weight = 13
156164
[languages.zh-tw.params]
157165
description = "CNCF 雲端原生 Glossary 專案旨在用作討論雲端原生應用程式時常用術語的參考"
158166

159167
[languages.tr]
160168
title = "Cloud Native Sözlüğü"
161169
languageName ="Türkçe (Turkish)"
162170
contentDir = "content/tr"
163-
weight = 13
171+
weight = 14
164172
[languages.tr.params]
165173
description = "CNCF Cloud Native Sözlüğü projesi, cloud native uygulamalardan bahsederken kullanılan yaygın terimler için bir referans olarak kullanılmak üzere tasarlanmıştır."
166174

167175
[languages.ur]
168176
contentDir = "content/ur"
169177
languageName = "اردو (Urdu)"
170178
title = "کلاؤڈ کی مقامی لغت"
171-
weight = 14
179+
weight = 15
172180
[languages.ur.params]
173181
description = "CNCF کلاؤڈ کی مقامی لغت کا مقصد کلاؤڈ مقامی ایپلی کیشنز کے بارے میں بات کرتے وقت استعمال ہونے والی عام اصطلاحات کے حوالے کے طور پر استعمال کرنا ہے۔"
174182

@@ -226,7 +234,7 @@ github_repo = "https://github.com/cncf/glossary"
226234
github_branch = "main"
227235

228236
# Google Custom Search Engine ID. Remove or comment out to disable search.
229-
gcs_engine_id = "eda0239a7d3fd0d90"
237+
# gcs_engine_id = "eda0239a7d3fd0d90"
230238

231239
# Enable Algolia DocSearch
232240
algolia_docsearch = false

content/de/search.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
title: Search Results
3+
layout: search
4+
---

content/en/application-programming-interface.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ Without a shared framework, it is challenging for applications to [scale](/scala
2121

2222
APIs allow computer programs or applications to interact and share information in a defined and understandable manner.
2323
They are the building blocks for modern applications and they provide developers with a way to integrate applications together.
24-
Whenever you hear about [microservices](/microservices/) working together, you can infer that they interact via an API.
24+
Whenever you hear about [microservices](/microservices-architecture/) working together, you can infer that they interact via an API.

content/en/chaos-engineering.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ techniques to increase product resiliency and [reliability](/reliability/).
1515
A system's ability to tolerate failures while ensuring adequate service quality is
1616
typically a software development requirement.
1717
There are several aspects involved that could lead to outages of an application,
18-
like infrastructure, platform or other moving parts of a ([microservice](/microservices/)-based) application.
18+
like infrastructure, platform or other moving parts of a ([microservice](/microservices-architecture/)-based) application.
1919
High-frequency deployment of new features to the production environment can
2020
result in a high probability of downtime and a critical incident
2121
— with considerable consequences to the business.

content/en/devops.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ DevOps calls for groups of engineers that work on small components (versus an en
1111

1212
## Problem it addresses
1313

14-
Traditionally, in complex organizations with [tightly-coupled](/tightly-coupled-architectures/) [monolithic apps](/monolithic-apps/),
14+
Traditionally, in complex organizations with [tightly-coupled](/tightly-coupled-architecture/) [monolithic apps](/monolithic-apps/),
1515
work was generally fragmented between multiple groups.
1616
This led to numerous handoffs and long lead times.
1717
Each time a component or update was ready, it was placed in a queue for the next team.

0 commit comments

Comments
 (0)