@gitbook/api 0.140.0 → 0.141.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +3 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/spec/openapi.json +9 -5
- package/spec/openapi.yaml +5 -6
package/dist/client.d.ts
CHANGED
|
@@ -2080,7 +2080,7 @@ export interface OpenAPIErrorObject {
|
|
|
2080
2080
|
/** Description of the error. */
|
|
2081
2081
|
message: string;
|
|
2082
2082
|
/** Unique code of the error. */
|
|
2083
|
-
|
|
2083
|
+
code?: string;
|
|
2084
2084
|
}
|
|
2085
2085
|
export interface OpenAPISpec {
|
|
2086
2086
|
/** The object type, which is always "openapi-spec" */
|
|
@@ -5218,6 +5218,8 @@ export interface SiteCustomizationSettings {
|
|
|
5218
5218
|
externalAI: boolean;
|
|
5219
5219
|
/** Whether the copy and open the markdown version of the page should be available in the page menu. */
|
|
5220
5220
|
markdown: boolean;
|
|
5221
|
+
/** Whether an action to connect to the docs using the MCP server should be available in the page menu. */
|
|
5222
|
+
mcp: boolean;
|
|
5221
5223
|
};
|
|
5222
5224
|
externalLinks: {
|
|
5223
5225
|
/**
|
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
package/spec/openapi.json
CHANGED
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
"x-page-icon": "language",
|
|
300
300
|
"x-page-title": "Translations",
|
|
301
301
|
"x-page-description": "Configure multi-language support and translation options for your documentation.",
|
|
302
|
-
"description": "The Translations API provides ways to localize your content into various languages. It supports custom strings, default language settings, and more.\n
|
|
302
|
+
"description": "The Translations API provides ways to localize your content into various languages. It supports custom strings, default language settings, and more.\n"
|
|
303
303
|
},
|
|
304
304
|
{
|
|
305
305
|
"name": "translation-languages",
|
|
@@ -24829,14 +24829,13 @@
|
|
|
24829
24829
|
"type": "string",
|
|
24830
24830
|
"description": "Description of the error."
|
|
24831
24831
|
},
|
|
24832
|
-
"
|
|
24832
|
+
"code": {
|
|
24833
24833
|
"type": "string",
|
|
24834
24834
|
"description": "Unique code of the error."
|
|
24835
24835
|
}
|
|
24836
24836
|
},
|
|
24837
24837
|
"required": [
|
|
24838
|
-
"message"
|
|
24839
|
-
"code"
|
|
24838
|
+
"message"
|
|
24840
24839
|
]
|
|
24841
24840
|
},
|
|
24842
24841
|
"OpenAPISpec": {
|
|
@@ -33816,11 +33815,16 @@
|
|
|
33816
33815
|
"markdown": {
|
|
33817
33816
|
"type": "boolean",
|
|
33818
33817
|
"description": "Whether the copy and open the markdown version of the page should be available in the page menu."
|
|
33818
|
+
},
|
|
33819
|
+
"mcp": {
|
|
33820
|
+
"type": "boolean",
|
|
33821
|
+
"description": "Whether an action to connect to the docs using the MCP server should be available in the page menu."
|
|
33819
33822
|
}
|
|
33820
33823
|
},
|
|
33821
33824
|
"required": [
|
|
33822
33825
|
"externalAI",
|
|
33823
|
-
"markdown"
|
|
33826
|
+
"markdown",
|
|
33827
|
+
"mcp"
|
|
33824
33828
|
]
|
|
33825
33829
|
},
|
|
33826
33830
|
"externalLinks": {
|
package/spec/openapi.yaml
CHANGED
|
@@ -315,10 +315,6 @@ tags:
|
|
|
315
315
|
x-page-description: Configure multi-language support and translation options for your documentation.
|
|
316
316
|
description: |
|
|
317
317
|
The Translations API provides ways to localize your content into various languages. It supports custom strings, default language settings, and more.
|
|
318
|
-
|
|
319
|
-
{% openapi-schemas spec="gitbook" schemas="TranslationSettings" grouped="false" %}
|
|
320
|
-
The TranslationSettings object
|
|
321
|
-
{% endopenapi-schemas %}
|
|
322
318
|
- name: translation-languages
|
|
323
319
|
x-page-title: Translations languages
|
|
324
320
|
x-page-description: Manage the individual language configurations for your docs translation setup.
|
|
@@ -14807,12 +14803,11 @@ components:
|
|
|
14807
14803
|
message:
|
|
14808
14804
|
type: string
|
|
14809
14805
|
description: Description of the error.
|
|
14810
|
-
|
|
14806
|
+
code:
|
|
14811
14807
|
type: string
|
|
14812
14808
|
description: Unique code of the error.
|
|
14813
14809
|
required:
|
|
14814
14810
|
- message
|
|
14815
|
-
- code
|
|
14816
14811
|
OpenAPISpec:
|
|
14817
14812
|
type: object
|
|
14818
14813
|
properties:
|
|
@@ -20897,9 +20892,13 @@ components:
|
|
|
20897
20892
|
markdown:
|
|
20898
20893
|
type: boolean
|
|
20899
20894
|
description: Whether the copy and open the markdown version of the page should be available in the page menu.
|
|
20895
|
+
mcp:
|
|
20896
|
+
type: boolean
|
|
20897
|
+
description: Whether an action to connect to the docs using the MCP server should be available in the page menu.
|
|
20900
20898
|
required:
|
|
20901
20899
|
- externalAI
|
|
20902
20900
|
- markdown
|
|
20901
|
+
- mcp
|
|
20903
20902
|
externalLinks:
|
|
20904
20903
|
type: object
|
|
20905
20904
|
properties:
|