Skip to content

Commit bda7203

Browse files
authored
Merge pull request #3823 from Blargian/lang_header
add Accept-Language metadata for sites
2 parents 95bcfe4 + f6fde4e commit bda7203

File tree

5,174 files changed

+172689
-139554
lines changed

Some content is hidden

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

5,174 files changed

+172689
-139554
lines changed

docusaurus.config.en.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,9 @@ const config = {
237237
themeConfig:
238238
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
239239
({
240+
metadata: [
241+
{name: 'Accept-Language', content: 'en-US,en;q=0.9'},
242+
],
240243
algolia: {
241244
appId: "5H9UG7CX5W",
242245
apiKey: "4a7bf25cf3edbef29d78d5e1eecfdca5",

docusaurus.config.jp.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import math from "remark-math";
33
import katex from "rehype-katex";
44
import chHeader from "./plugins/header.js";
55
import fixLinks from "./src/hooks/fixLinks.js";
6+
const remarkCustomBlocks = require('./plugins/remark-custom-blocks');
67

78
// Helper function to skip over index.md files.
89
function skipIndex(items) {
@@ -128,7 +129,7 @@ const config = {
128129
showLastUpdateTime: false,
129130
sidebarCollapsed: true,
130131
routeBasePath: "/",
131-
remarkPlugins: [math],
132+
remarkPlugins: [math, remarkCustomBlocks],
132133
beforeDefaultRemarkPlugins: [fixLinks],
133134
rehypePlugins: [katex],
134135
},
@@ -202,6 +203,9 @@ const config = {
202203
themeConfig:
203204
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
204205
({
206+
metadata: [
207+
{name: 'Accept-Language', content: 'ja-JP,ja;q=0.9'},
208+
],
205209
algolia: {
206210
appId: "5H9UG7CX5W",
207211
apiKey: "4a7bf25cf3edbef29d78d5e1eecfdca5",

docusaurus.config.ru.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,9 @@ const config = {
204204
themeConfig:
205205
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
206206
({
207+
metadata: [
208+
{name: 'Accept-Language', content: 'ru-RU,ru;q=0.9'},
209+
],
207210
algolia: {
208211
appId: "5H9UG7CX5W",
209212
apiKey: "4a7bf25cf3edbef29d78d5e1eecfdca5",

docusaurus.config.zh.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import math from "remark-math";
33
import katex from "rehype-katex";
44
import chHeader from "./plugins/header.js";
55
import fixLinks from "./src/hooks/fixLinks.js";
6+
const remarkCustomBlocks = require('./plugins/remark-custom-blocks');
67

78
// Helper function to skip over index.md files.
89
function skipIndex(items) {
@@ -128,7 +129,7 @@ const config = {
128129
showLastUpdateTime: false,
129130
sidebarCollapsed: true,
130131
routeBasePath: "/",
131-
remarkPlugins: [math],
132+
remarkPlugins: [math, remarkCustomBlocks],
132133
beforeDefaultRemarkPlugins: [fixLinks],
133134
rehypePlugins: [katex],
134135
},
@@ -202,6 +203,9 @@ const config = {
202203
themeConfig:
203204
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
204205
({
206+
metadata: [
207+
{name: 'Accept-Language', content: 'zh-CN,zh;q=0.9'},
208+
],
205209
algolia: {
206210
appId: "5H9UG7CX5W",
207211
apiKey: "4a7bf25cf3edbef29d78d5e1eecfdca5",

i18n/jp/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
Modify this date to initiate rebuild:
44

5-
`Wed 12 Mar 2025 14:02:00 GMT`
5+
`Thu 22 May 2025 19:15 GMT`
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
Golangのソース例をコピーするためのディレクトリ
1+
---
2+
{}
3+
---
4+
5+
6+
7+
<Content/>
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
---
2-
sidebar_label: 招待
3-
title: 招待
2+
'sidebar_label': '招待'
3+
'title': '招待'
44
---
55

6-
## 全ての招待状をリストする {#list-all-invitations}
76

8-
このファイルは、ビルドプロセス中に `clickhouseapi.js` によって生成されます。内容を変更する必要がある場合は、`clickhouseapi.js` を編集してください。
7+
8+
## List all invitations {#list-all-invitations}
9+
10+
このファイルはビルドプロセス中に `clickhouseapi.js` によって生成されます。 内容を変更する必要がある場合は、 `clickhouseapi.js` を編集してください。
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
---
2-
sidebar_label: キー
3-
title: キー
2+
'sidebar_label': 'キー'
3+
'title': 'キー'
44
---
55

6-
## すべてのキーのリストを取得 {#get-list-of-all-keys}
76

8-
このファイルは、ビルドプロセス中に `clickhouseapi.js` によって生成されます。 内容を変更する必要がある場合は、`clickhouseapi.js` を編集してください。
7+
8+
## Get list of all keys {#get-list-of-all-keys}
9+
10+
このファイルは、ビルドプロセス中に `clickhouseapi.js` によって生成されます。コンテンツを変更する必要がある場合は、`clickhouseapi.js` を編集してください。
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
---
2-
sidebar_label: メンバー
3-
title: メンバー
2+
'sidebar_label': 'メンバー'
3+
'title': 'メンバー'
44
---
55

6-
## 組織メンバーのリスト {#list-organization-members}
76

8-
このファイルはビルドプロセス中に `clickhouseapi.js` によって生成されます。内容を変更する必要がある場合は、`clickhouseapi.js` を編集してください。
7+
8+
## List organization members {#list-organization-members}
9+
10+
このファイルは、ビルドプロセス中に `clickhouseapi.js` によって生成されます。 コンテンツに変更が必要な場合は、 `clickhouseapi.js` を編集してください。
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
---
2-
sidebar_label: 組織
3-
title: 組織
2+
'sidebar_label': '組織'
3+
'title': '組織'
44
---
55

6+
7+
68
## 組織の詳細を取得 {#get-organization-details}
79

8-
このファイルは、ビルドプロセス中に `clickhouseapi.js` によって生成されます。内容を変更する必要がある場合は、`clickhouseapi.js` を編集してください。
10+
このファイルは、ビルドプロセス中に `clickhouseapi.js` によって生成されます。内容を変更する必要がある場合は、 `clickhouseapi.js` を編集してください。

0 commit comments

Comments
 (0)