-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy pathgt.config.json
More file actions
114 lines (114 loc) · 2.99 KB
/
Copy pathgt.config.json
File metadata and controls
114 lines (114 loc) · 2.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"framework": "mintlify",
"options": {
"experimentalClearLocaleDirs": true,
"mintlify": {
"inferTitleFromFilename": true,
"openapi": {
"files": [
"./serverless-training/api-reference/openapi.json",
"./weave/reference/service-api/openapi.json"
]
}
},
"jsonSchema": {
"./docs.json": {
"composite": {
"$.navigation.languages": {
"type": "array",
"key": "$.language",
"experimentalSort": "localesAlphabetical",
"include": [
"$..group",
"$..tab",
"$..item",
"$..anchor",
"$..dropdown"
],
"transform": {
"$..pages[*]": {
"match": "^/?(.*)$",
"replace": "{locale}/$1"
},
"$..root": {
"match": "^/?(.*)$",
"replace": "{locale}/$1"
}
}
}
}
},
"./serverless-training/api-reference/openapi.json": {
"preset": "openapi"
},
"./weave/reference/service-api/openapi.json": {
"preset": "openapi"
}
},
"docsUrlPattern": "/[locale]",
"docsImportPattern": "/snippets/[locale]",
"generateRedirects": "./docs.json",
"experimentalLocalizeStaticImports": true,
"experimentalLocalizeStaticUrls": true,
"experimentalLocalizeRelativeAssets": true,
"docsHideDefaultLocaleImport": true,
"experimentalHideDefaultLocale": true,
"experimentalAddHeaderAnchorIds": "mintlify"
},
"files": {
"json": {
"include": [
"./docs.json",
"./serverless-training/api-reference/openapi.json",
"./weave/reference/service-api/openapi.json"
],
"transform": [
{
"match": "^serverless-training/api-reference/openapi.json$",
"replace": "{locale}/serverless-training/api-reference/openapi.json"
},
{
"match": "^weave/reference/service-api/openapi.json$",
"replace": "{locale}/weave/reference/service-api/openapi.json"
}
]
},
"mdx": {
"include": [
"./**/*.mdx",
"./**/*.md"
],
"transform": {
"match": "^(snippets/)?(.*)$",
"replace": "$1{locale}/$2"
},
"exclude": [
"./[locales]/**/*.mdx",
"./snippets/[locales]/**/*.mdx",
"./[locales]/**/*.md",
"./snippets/[locales]/**/*.md",
"./**/README.md",
"./**/LICENSE.md",
"./**/COPYING.md",
"./**/NOTICE.md",
"./**/CHANGELOG.md",
"./**/HISTORY.md",
"./**/CODE_OF_CONDUCT.md",
"./**/CONTRIBUTING.md",
"./**/SECURITY.md",
"./**/GOVERNANCE.md",
"./**/AGENTS.md",
"./**/OWNERS.md",
"./**/MAINTAINERS.md"
]
}
},
"locales": [
"en",
"ko",
"ja",
"fr"
],
"defaultLocale": "en",
"$schema": "https://assets.gtx.dev/config-schema.json"
}