Skip to content

Commit 8d1f344

Browse files
committed
chore: add language property to metadata JSON
1 parent e0f6a40 commit 8d1f344

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

website/metadata.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"$schema": "./metadata.schema.json",
3+
"language": "ja-JP",
34
"version": "0.13.1",
45
"typstOfficialUrl": "https://typst.app",
56
"typstOfficialDocsUrl": "https://typst.app/docs/",

website/metadata.schema.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
"$schema": "http://json-schema.org/draft-07/schema#",
33
"type": "object",
44
"properties": {
5+
"language": {
6+
"type": "string",
7+
"description": "The language of the documentation.",
8+
"enum": ["ja-JP", "en-US"]
9+
},
510
"version": {
611
"type": "string",
712
"description": "The version of the documentation, without a leading 'v'."
@@ -47,6 +52,7 @@
4752
}
4853
},
4954
"required": [
55+
"language",
5056
"version",
5157
"typstOfficialUrl",
5258
"typstOfficialDocsUrl",

0 commit comments

Comments
 (0)