@diplodoc/cli 5.33.0 → 5.33.1
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/assets/{app-2521a69e1e976dc0.css → app-2b1d1c8ee33d6aea.css} +2 -2
- package/assets/{app-beecfe05167b856d.rtl.css → app-f951c4bbd60bb8bd.rtl.css} +1 -1
- package/assets/{search-89914279261a161e.rtl.css → search-d4d6d9eb0d24c2be.rtl.css} +1 -1
- package/assets/{search-1e1cb23b726d3576.css → search-ea9f7fc669e03dda.css} +2 -2
- package/build/index.js +3 -3
- package/build/index.mjs +3 -3
- package/build/manifest.json +6 -6
- package/package.json +2 -2
- package/schemas/frontmatter-schema.yaml +2 -0
- package/schemas/leading-schema.yaml +174 -7
package/build/index.js
CHANGED
|
@@ -348143,7 +348143,7 @@ var import_config81 = require("@diplodoc/cli/lib/config");
|
|
|
348143
348143
|
|
|
348144
348144
|
// src/constants.ts
|
|
348145
348145
|
var import_node_path2 = require("node:path");
|
|
348146
|
-
var VERSION = "5.33.
|
|
348146
|
+
var VERSION = "5.33.1" ? "5.33.1" : "0.0.0";
|
|
348147
348147
|
var MAIN_TIMER_ID = "Build time";
|
|
348148
348148
|
var ASSETS_FOLDER = (0, import_node_path2.resolve)(__dirname, "../assets");
|
|
348149
348149
|
var BUNDLE_FOLDER = "_bundle";
|
|
@@ -393154,8 +393154,8 @@ var run2 = async (argv2) => {
|
|
|
393154
393154
|
if (import_node_worker_threads4.isMainThread && require.main === module) {
|
|
393155
393155
|
(async () => {
|
|
393156
393156
|
import_utils389.console.time(MAIN_TIMER_ID);
|
|
393157
|
-
if ("5.33.
|
|
393158
|
-
import_utils389.console.log(`Using v${"5.33.
|
|
393157
|
+
if ("5.33.1") {
|
|
393158
|
+
import_utils389.console.log(`Using v${"5.33.1"} version`);
|
|
393159
393159
|
}
|
|
393160
393160
|
const report = await run2(process.argv);
|
|
393161
393161
|
import_utils389.console.timeEnd(MAIN_TIMER_ID);
|
package/build/index.mjs
CHANGED
|
@@ -348129,7 +348129,7 @@ import { Command as Command8 } from "@diplodoc/cli/lib/config";
|
|
|
348129
348129
|
|
|
348130
348130
|
// src/constants.ts
|
|
348131
348131
|
import { join, resolve as resolve2 } from "node:path";
|
|
348132
|
-
var VERSION = "5.33.
|
|
348132
|
+
var VERSION = "5.33.1" ? "5.33.1" : "0.0.0";
|
|
348133
348133
|
var MAIN_TIMER_ID = "Build time";
|
|
348134
348134
|
var ASSETS_FOLDER = resolve2(__dirname, "../assets");
|
|
348135
348135
|
var BUNDLE_FOLDER = "_bundle";
|
|
@@ -393173,8 +393173,8 @@ var run2 = async (argv2) => {
|
|
|
393173
393173
|
if (isMainThread4 && __require.main === module) {
|
|
393174
393174
|
(async () => {
|
|
393175
393175
|
console7.time(MAIN_TIMER_ID);
|
|
393176
|
-
if ("5.33.
|
|
393177
|
-
console7.log(`Using v${"5.33.
|
|
393176
|
+
if ("5.33.1") {
|
|
393177
|
+
console7.log(`Using v${"5.33.1"} version`);
|
|
393178
393178
|
}
|
|
393179
393179
|
const report = await run2(process.argv);
|
|
393180
393180
|
console7.timeEnd(MAIN_TIMER_ID);
|
package/build/manifest.json
CHANGED
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
],
|
|
11
11
|
"css": [
|
|
12
12
|
"vendor-3eff64c2fdd97751.css",
|
|
13
|
-
"search-
|
|
13
|
+
"search-ea9f7fc669e03dda.css",
|
|
14
14
|
"vendor-dd609958c707692b.rtl.css",
|
|
15
|
-
"app-
|
|
16
|
-
"search-
|
|
15
|
+
"app-f951c4bbd60bb8bd.rtl.css",
|
|
16
|
+
"search-d4d6d9eb0d24c2be.rtl.css"
|
|
17
17
|
]
|
|
18
18
|
},
|
|
19
19
|
"app": {
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
],
|
|
28
28
|
"css": [
|
|
29
29
|
"vendor-3eff64c2fdd97751.css",
|
|
30
|
-
"app-
|
|
30
|
+
"app-2b1d1c8ee33d6aea.css",
|
|
31
31
|
"vendor-dd609958c707692b.rtl.css",
|
|
32
|
-
"app-
|
|
33
|
-
"search-
|
|
32
|
+
"app-f951c4bbd60bb8bd.rtl.css",
|
|
33
|
+
"search-d4d6d9eb0d24c2be.rtl.css"
|
|
34
34
|
]
|
|
35
35
|
}
|
|
36
36
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@diplodoc/cli",
|
|
3
|
-
"version": "5.33.
|
|
3
|
+
"version": "5.33.1",
|
|
4
4
|
"description": "Make documentation using yfm-docs in Markdown and HTML formats",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"markdown",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
]
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
|
-
"@diplodoc/client": "^5.2.
|
|
79
|
+
"@diplodoc/client": "^5.2.16",
|
|
80
80
|
"@diplodoc/liquid": "^1.4.0",
|
|
81
81
|
"@diplodoc/transform": "^4.73.2",
|
|
82
82
|
"@diplodoc/translation": "^1.7.19",
|
|
@@ -11,16 +11,114 @@ properties:
|
|
|
11
11
|
|
|
12
12
|
meta:
|
|
13
13
|
type: object
|
|
14
|
+
description: >
|
|
15
|
+
Page metadata (SEO fields, resources, access rules).
|
|
16
|
+
Identical to markdown frontmatter metadata — all Meta fields are allowed
|
|
17
|
+
in addition to the leading-page-specific title and description overrides.
|
|
14
18
|
properties:
|
|
15
19
|
title:
|
|
16
20
|
$ref: '#/definitions/TextItems'
|
|
17
21
|
translate: md
|
|
22
|
+
description: SEO title override (takes precedence over the top-level title).
|
|
18
23
|
description:
|
|
19
24
|
$ref: '#/definitions/TextItems'
|
|
20
25
|
translate: md
|
|
26
|
+
description: SEO description override.
|
|
21
27
|
noIndex:
|
|
22
28
|
type: boolean
|
|
23
|
-
|
|
29
|
+
description: Adds noindex/nofollow meta tag to prevent search engine indexing.
|
|
30
|
+
keywords:
|
|
31
|
+
type: array
|
|
32
|
+
items:
|
|
33
|
+
type: string
|
|
34
|
+
description: Keywords for the meta keywords tag.
|
|
35
|
+
canonical:
|
|
36
|
+
type: string
|
|
37
|
+
format: uri
|
|
38
|
+
description: Canonical URL for the page.
|
|
39
|
+
copyright:
|
|
40
|
+
type: string
|
|
41
|
+
description: Copyright owner string.
|
|
42
|
+
alternate:
|
|
43
|
+
type: array
|
|
44
|
+
items:
|
|
45
|
+
$ref: '#/definitions/Alternate'
|
|
46
|
+
description: Alternate language versions of this page.
|
|
47
|
+
metadata:
|
|
48
|
+
oneOf:
|
|
49
|
+
- type: array
|
|
50
|
+
items:
|
|
51
|
+
$ref: '#/definitions/MetaItem'
|
|
52
|
+
- type: object
|
|
53
|
+
description: Custom meta tags (array of {name/property, content} or key-value hash).
|
|
54
|
+
restricted-access:
|
|
55
|
+
type: array
|
|
56
|
+
items:
|
|
57
|
+
type: array
|
|
58
|
+
items:
|
|
59
|
+
type: string
|
|
60
|
+
description: Access restriction rules.
|
|
61
|
+
script:
|
|
62
|
+
type: array
|
|
63
|
+
items:
|
|
64
|
+
type: string
|
|
65
|
+
description: Script file paths or URLs to include on this page.
|
|
66
|
+
style:
|
|
67
|
+
type: array
|
|
68
|
+
items:
|
|
69
|
+
type: string
|
|
70
|
+
description: Stylesheet file paths or URLs to include on this page.
|
|
71
|
+
csp:
|
|
72
|
+
type: array
|
|
73
|
+
items:
|
|
74
|
+
type: object
|
|
75
|
+
description: Content Security Policy directive overrides for this page.
|
|
76
|
+
resources:
|
|
77
|
+
type: object
|
|
78
|
+
properties:
|
|
79
|
+
script:
|
|
80
|
+
type: array
|
|
81
|
+
items:
|
|
82
|
+
type: string
|
|
83
|
+
style:
|
|
84
|
+
type: array
|
|
85
|
+
items:
|
|
86
|
+
type: string
|
|
87
|
+
csp:
|
|
88
|
+
type: array
|
|
89
|
+
items:
|
|
90
|
+
type: object
|
|
91
|
+
additionalProperties: false
|
|
92
|
+
description: Per-page resources (legacy, prefer top-level script/style/csp).
|
|
93
|
+
vcsPath:
|
|
94
|
+
type: string
|
|
95
|
+
description: VCS file path override.
|
|
96
|
+
sourcePath:
|
|
97
|
+
type: string
|
|
98
|
+
description: Source file path (usually set by the build system).
|
|
99
|
+
updatedAt:
|
|
100
|
+
type: string
|
|
101
|
+
description: Last modification timestamp from VCS (system-generated).
|
|
102
|
+
author:
|
|
103
|
+
$ref: '#/definitions/Contributor'
|
|
104
|
+
description: Page author from VCS (system-generated).
|
|
105
|
+
contributors:
|
|
106
|
+
type: array
|
|
107
|
+
items:
|
|
108
|
+
$ref: '#/definitions/Contributor'
|
|
109
|
+
description: Page contributors from VCS (system-generated).
|
|
110
|
+
editable:
|
|
111
|
+
type: boolean
|
|
112
|
+
description: Whether the document is editable (system-generated).
|
|
113
|
+
__system:
|
|
114
|
+
type: object
|
|
115
|
+
description: System variables from presets (only when addSystemMeta is enabled).
|
|
116
|
+
__metadata:
|
|
117
|
+
type: array
|
|
118
|
+
items:
|
|
119
|
+
$ref: '#/definitions/MetaItem'
|
|
120
|
+
description: Metadata items from presets (only when addMetadataMeta is enabled).
|
|
121
|
+
additionalProperties: true
|
|
24
122
|
|
|
25
123
|
nav:
|
|
26
124
|
type: object
|
|
@@ -35,17 +133,22 @@ properties:
|
|
|
35
133
|
type: object
|
|
36
134
|
properties:
|
|
37
135
|
title:
|
|
38
|
-
|
|
136
|
+
$ref: '#/definitions/TextItems'
|
|
39
137
|
translate: md
|
|
40
138
|
description:
|
|
41
|
-
|
|
139
|
+
$ref: '#/definitions/TextItems'
|
|
42
140
|
translate: md
|
|
43
141
|
href:
|
|
44
142
|
type: string
|
|
45
143
|
format: url
|
|
46
|
-
|
|
144
|
+
when:
|
|
145
|
+
type:
|
|
146
|
+
- string
|
|
147
|
+
- boolean
|
|
148
|
+
description: Visibility condition (Liquid expression or boolean).
|
|
149
|
+
additionalProperties: true
|
|
47
150
|
|
|
48
|
-
additionalProperties:
|
|
151
|
+
additionalProperties: true
|
|
49
152
|
|
|
50
153
|
definitions:
|
|
51
154
|
TextItems:
|
|
@@ -54,6 +157,70 @@ definitions:
|
|
|
54
157
|
- type: array
|
|
55
158
|
translate: md
|
|
56
159
|
items:
|
|
57
|
-
|
|
58
|
-
|
|
160
|
+
oneOf:
|
|
161
|
+
- type: string
|
|
162
|
+
translate: md
|
|
163
|
+
- $ref: '#/definitions/TextItem'
|
|
164
|
+
|
|
165
|
+
TextItem:
|
|
166
|
+
type: object
|
|
167
|
+
description: >
|
|
168
|
+
Conditional text item. The first item whose `when` condition is truthy is used.
|
|
169
|
+
properties:
|
|
170
|
+
text:
|
|
171
|
+
oneOf:
|
|
172
|
+
- type: string
|
|
173
|
+
- type: array
|
|
174
|
+
items:
|
|
175
|
+
type: string
|
|
176
|
+
translate: md
|
|
177
|
+
description: Text content (string or array of strings).
|
|
178
|
+
when:
|
|
179
|
+
type:
|
|
180
|
+
- string
|
|
181
|
+
- boolean
|
|
182
|
+
description: Visibility condition (Liquid expression or boolean).
|
|
183
|
+
required: ['text']
|
|
184
|
+
additionalProperties: true
|
|
185
|
+
|
|
186
|
+
Alternate:
|
|
187
|
+
type: object
|
|
188
|
+
properties:
|
|
189
|
+
href:
|
|
190
|
+
type: string
|
|
191
|
+
format: uri
|
|
192
|
+
hreflang:
|
|
193
|
+
type: string
|
|
194
|
+
required: ['href']
|
|
195
|
+
additionalProperties: false
|
|
196
|
+
|
|
197
|
+
MetaItem:
|
|
198
|
+
type: object
|
|
199
|
+
properties:
|
|
200
|
+
name:
|
|
201
|
+
type: string
|
|
202
|
+
property:
|
|
203
|
+
type: string
|
|
204
|
+
http-equiv:
|
|
205
|
+
type: string
|
|
206
|
+
content:
|
|
207
|
+
type: string
|
|
208
|
+
required: ['content']
|
|
209
|
+
additionalProperties: false
|
|
59
210
|
|
|
211
|
+
Contributor:
|
|
212
|
+
type: object
|
|
213
|
+
properties:
|
|
214
|
+
avatar:
|
|
215
|
+
type: string
|
|
216
|
+
email:
|
|
217
|
+
type: string
|
|
218
|
+
format: email
|
|
219
|
+
login:
|
|
220
|
+
type: string
|
|
221
|
+
name:
|
|
222
|
+
type: string
|
|
223
|
+
url:
|
|
224
|
+
type: string
|
|
225
|
+
format: uri
|
|
226
|
+
additionalProperties: false
|