@diplodoc/cli-tests 0.0.0-rc-err-count-202505291233 → 0.0.0-rc-toc-translation-202506181609
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/e2e/__snapshots__/include-toc.test.ts.snap +98 -106
- package/e2e/__snapshots__/load-custom-resources.spec.ts.snap +66 -56
- package/e2e/__snapshots__/metadata.spec.ts.snap +19 -14
- package/e2e/__snapshots__/plugin-corner-cases.spec.ts.snap +0 -0
- package/e2e/__snapshots__/regression.test.ts.snap +764 -760
- package/e2e/__snapshots__/restricted-access.test.ts.snap +234 -0
- package/e2e/__snapshots__/rtl.spec.ts.snap +57 -47
- package/e2e/__snapshots__/translation.spec.ts.snap +1296 -110
- package/e2e/errors.spec.ts +37 -0
- package/e2e/restricted-access.test.ts +21 -0
- package/e2e/translation.spec.ts +14 -3
- package/fixtures/cliAdapter.ts +39 -20
- package/fixtures/runners/binary.ts +21 -3
- package/fixtures/runners/index.ts +3 -1
- package/fixtures/runners/source.ts +5 -5
- package/fixtures/runners/types.ts +7 -1
- package/fixtures/utils/file.ts +3 -3
- package/fixtures/utils/test.ts +6 -1
- package/mocks/errors/unreachable-link/input/exists.md +1 -0
- package/mocks/errors/unreachable-link/input/index.md +2 -0
- package/mocks/errors/unreachable-link/input/toc.yaml +1 -0
- package/mocks/regression/input/1.md +0 -4
- package/mocks/regression/input/_assets/5_1.png +0 -0
- package/mocks/regression/input/images.md +2 -0
- package/mocks/regression/input/includes.md +1 -0
- package/mocks/restricted-access/test1/input/index.md +0 -0
- package/mocks/restricted-access/test1/input/plugins/index.md +0 -0
- package/mocks/restricted-access/test1/input/plugins/index2.md +0 -0
- package/mocks/restricted-access/test1/input/plugins/index3.md +0 -0
- package/mocks/restricted-access/test1/input/plugins/index4.md +4 -0
- package/mocks/restricted-access/test1/input/toc.yaml +28 -0
- package/mocks/restricted-access/test2/input/index.md +0 -0
- package/mocks/restricted-access/test2/input/plugins/index.md +0 -0
- package/mocks/restricted-access/test2/input/project/index.md +0 -0
- package/mocks/restricted-access/test2/input/toc.yaml +21 -0
- package/mocks/restricted-access/test3/input/a1.md +1 -0
- package/mocks/restricted-access/test3/input/folder1/a1.md +1 -0
- package/mocks/restricted-access/test3/input/folder1/folder2/a1.md +1 -0
- package/mocks/restricted-access/test3/input/folder1/folder2/toc.yaml +8 -0
- package/mocks/restricted-access/test3/input/folder1/toc.yaml +10 -0
- package/mocks/restricted-access/test3/input/index.md +0 -0
- package/mocks/restricted-access/test3/input/toc.yaml +16 -0
- package/mocks/translation/dir-files/input/.yfm +5 -0
- package/mocks/translation/dir-files/input/ru/aboba.md +1 -3
- package/mocks/translation/dir-files/input/ru/nested/a1.md +3 -0
- package/mocks/translation/dir-files/input/ru/nested/folder1/a1.md +3 -0
- package/mocks/translation/dir-files/input/ru/nested/folder1/toc-i.yaml +3 -0
- package/mocks/translation/dir-files/input/ru/nested/toc.yaml +1 -0
- package/mocks/translation/dir-files/input/ru/no-var-page.md +3 -0
- package/mocks/translation/dir-files/input/ru/to-be-excluded.md +1 -0
- package/mocks/translation/dir-files/input/ru/toc.yaml +7 -1
- package/package.json +4 -3
- package/vitest.config.ts +1 -2
|
@@ -1,42 +1,90 @@
|
|
|
1
1
|
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
2
2
|
|
|
3
|
-
exports[`Regression > internal >
|
|
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
|
-
|
|
3
|
+
exports[`Regression > internal > filelist 1`] = `
|
|
4
|
+
"[
|
|
5
|
+
"1.md",
|
|
6
|
+
"_assets/1.png",
|
|
7
|
+
"_assets/2.png",
|
|
8
|
+
"_assets/3.png",
|
|
9
|
+
"_assets/5_1.png",
|
|
10
|
+
"_assets/empty.pdf",
|
|
11
|
+
"autotitle.md",
|
|
12
|
+
"generic/1.md",
|
|
13
|
+
"generic/2.md",
|
|
14
|
+
"generic/3.md",
|
|
15
|
+
"generic/Sub notes/1.md",
|
|
16
|
+
"generic/Sub notes/2.md",
|
|
17
|
+
"images.md",
|
|
18
|
+
"included-item.md",
|
|
19
|
+
"includes.md",
|
|
20
|
+
"includes/deep-hash.md",
|
|
21
|
+
"includes/test-hash.md",
|
|
22
|
+
"includes/user-hash.md",
|
|
23
|
+
"index.yaml",
|
|
24
|
+
"latex.md",
|
|
25
|
+
"merge/merge.md",
|
|
26
|
+
"merge/merged.md",
|
|
27
|
+
"merge/toc.yaml",
|
|
28
|
+
"mermaid.md",
|
|
29
|
+
"openapi/index.md",
|
|
30
|
+
"openapi/test-controller/getWithPayloadResponse.md",
|
|
31
|
+
"openapi/test-controller/index.md",
|
|
32
|
+
"redirects.yaml",
|
|
33
|
+
"sub/folder/item-1.md",
|
|
34
|
+
"toc.yaml"
|
|
35
|
+
]"
|
|
36
|
+
`;
|
|
37
|
+
|
|
38
|
+
exports[`Regression > internal > filelist 2`] = `
|
|
39
|
+
"[
|
|
40
|
+
"1.html",
|
|
41
|
+
"_assets/1.png",
|
|
42
|
+
"_assets/2.png",
|
|
43
|
+
"_assets/3.png",
|
|
44
|
+
"_assets/5_1.png",
|
|
45
|
+
"_assets/empty.pdf",
|
|
46
|
+
"_bundle/search-async-1",
|
|
47
|
+
"_bundle/search-async-0",
|
|
48
|
+
"_bundle/app-css-1",
|
|
49
|
+
"_bundle/app-js-1",
|
|
50
|
+
"_bundle/app-css-3",
|
|
51
|
+
"_bundle/latex-extension.css",
|
|
52
|
+
"_bundle/latex-extension.js",
|
|
53
|
+
"_bundle/mermaid-extension.js",
|
|
54
|
+
"_bundle/page-constructor-extension.css",
|
|
55
|
+
"_bundle/page-constructor-extension.js",
|
|
56
|
+
"_bundle/search-js-0",
|
|
57
|
+
"_bundle/search-css-0",
|
|
58
|
+
"_bundle/search-js-1",
|
|
59
|
+
"_bundle/search-css-3",
|
|
60
|
+
"_bundle/search-css-1",
|
|
61
|
+
"_bundle/search-js-2",
|
|
62
|
+
"_bundle/search-css-2",
|
|
63
|
+
"autotitle.html",
|
|
64
|
+
"c.md",
|
|
65
|
+
"generic/1.html",
|
|
66
|
+
"generic/2.html",
|
|
67
|
+
"generic/3.html",
|
|
68
|
+
"generic/Sub notes/1.html",
|
|
69
|
+
"generic/Sub notes/2.html",
|
|
70
|
+
"images.html",
|
|
71
|
+
"included-item.html",
|
|
72
|
+
"includes.html",
|
|
73
|
+
"index.html",
|
|
74
|
+
"latex.html",
|
|
75
|
+
"merge/merge.html",
|
|
76
|
+
"merge/merged.html",
|
|
77
|
+
"merge/toc.js",
|
|
78
|
+
"mermaid.html",
|
|
79
|
+
"openapi/index.html",
|
|
80
|
+
"openapi/test-controller/getWithPayloadResponse.html",
|
|
81
|
+
"openapi/test-controller/index.html",
|
|
82
|
+
"sub/folder/item-1.html",
|
|
83
|
+
"toc.js"
|
|
84
|
+
]"
|
|
37
85
|
`;
|
|
38
86
|
|
|
39
|
-
exports[`Regression > internal
|
|
87
|
+
exports[`Regression > internal 1`] = `
|
|
40
88
|
"---
|
|
41
89
|
metadata:
|
|
42
90
|
- name: generator
|
|
@@ -68,53 +116,13 @@ default-var-value
|
|
|
68
116
|
|
|
69
117
|
[](./latex.md)
|
|
70
118
|
|
|
71
|
-
[nowhere-link](./nowhere-link.md)
|
|
72
|
-
|
|
73
119
|
[noext-link](./includes)
|
|
74
120
|
|
|
75
|
-
{% include [user](includes/user-
|
|
76
|
-
|
|
77
|
-
Forbibben text before {% include [user](includes/user-e5ceb56bbcbc.md) %}
|
|
121
|
+
{% include [user](includes/user-hash.md) %}
|
|
78
122
|
"
|
|
79
123
|
`;
|
|
80
124
|
|
|
81
|
-
exports[`Regression > internal
|
|
82
|
-
"<!DOCTYPE html>
|
|
83
|
-
<html lang="ru" dir="ltr">
|
|
84
|
-
<head>
|
|
85
|
-
<meta charset="utf-8">
|
|
86
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
87
|
-
<base href="./" />
|
|
88
|
-
<title>Autotitles</title>
|
|
89
|
-
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
90
|
-
|
|
91
|
-
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
92
|
-
|
|
93
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
94
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
95
|
-
</head>
|
|
96
|
-
<body class="g-root g-root_theme_light">
|
|
97
|
-
<div id="root"></div>
|
|
98
|
-
<script type="application/json" id="diplodoc-state">
|
|
99
|
-
{"data":{"leading":false,"html":"<p>Empty title<br />/n<a href=\\"1.html\\">Title</a></p>/n<p>Empty subtitle<br />/n<a href=\\"1.html#subtitle\\">Subtitle</a></p>/n<p>Special title<br />/n<a href=\\"1.html\\">Title</a></p>/n<p>Special subtitle<br />/n<a href=\\"1.html#subtitle\\">Subtitle</a></p>/n<p>Empty local title<br />/n<a href=\\"autotitle.html#header\\">Header</a></p>/n<p>Special local title<br />/n<a href=\\"autotitle.html#header\\">Header</a></p>/n<h2 id=\\"header\\"><a href=\\"autotitle.html#header\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Header</span></a>Header</h2>/n<p>Content</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[{"title":"Header","href":"autotitle.html#header","level":2}],"title":"Autotitles"},"router":{"pathname":"autotitle","depth":1,"base":"./"},"lang":"ru","langs":["ru"]}
|
|
100
|
-
</script>
|
|
101
|
-
<script type="application/javascript">
|
|
102
|
-
const data = document.querySelector('script#diplodoc-state');
|
|
103
|
-
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
104
|
-
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
105
|
-
})(data.innerText));
|
|
106
|
-
window.STATIC_CONTENT = false;
|
|
107
|
-
</script>
|
|
108
|
-
<script type="application/javascript" defer src="toc.js"></script>
|
|
109
|
-
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
110
|
-
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
111
|
-
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
112
|
-
|
|
113
|
-
</body>
|
|
114
|
-
</html>"
|
|
115
|
-
`;
|
|
116
|
-
|
|
117
|
-
exports[`Regression > internal > autotitle.md 1`] = `
|
|
125
|
+
exports[`Regression > internal 2`] = `
|
|
118
126
|
"---
|
|
119
127
|
metadata:
|
|
120
128
|
- name: generator
|
|
@@ -146,127 +154,517 @@ Content
|
|
|
146
154
|
"
|
|
147
155
|
`;
|
|
148
156
|
|
|
149
|
-
exports[`Regression > internal
|
|
150
|
-
"
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
160
|
-
<script type="application/javascript">
|
|
161
|
-
window.location.replace("d.md");
|
|
162
|
-
</script>
|
|
163
|
-
|
|
164
|
-
</head>
|
|
165
|
-
<body class="g-root g-root_theme_light">
|
|
166
|
-
If you are not redirected automatically, follow this <a href="d.md">link</a>.
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
</body>
|
|
171
|
-
</html>"
|
|
157
|
+
exports[`Regression > internal 3`] = `
|
|
158
|
+
"---
|
|
159
|
+
metadata:
|
|
160
|
+
- name: generator
|
|
161
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
162
|
+
---
|
|
163
|
+
# Note 1
|
|
164
|
+
|
|
165
|
+
Note content 1
|
|
166
|
+
"
|
|
172
167
|
`;
|
|
173
168
|
|
|
174
|
-
exports[`Regression > internal
|
|
175
|
-
"
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
169
|
+
exports[`Regression > internal 4`] = `
|
|
170
|
+
"---
|
|
171
|
+
metadata:
|
|
172
|
+
- name: generator
|
|
173
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
174
|
+
---
|
|
175
|
+
# Note 1
|
|
176
|
+
|
|
177
|
+
Note content 1
|
|
178
|
+
"
|
|
179
|
+
`;
|
|
180
|
+
|
|
181
|
+
exports[`Regression > internal 5`] = `
|
|
182
|
+
"---
|
|
183
|
+
metadata:
|
|
184
|
+
- name: generator
|
|
185
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
186
|
+
---
|
|
187
|
+
Note content 1
|
|
188
|
+
"
|
|
189
|
+
`;
|
|
190
|
+
|
|
191
|
+
exports[`Regression > internal 6`] = `
|
|
192
|
+
"---
|
|
193
|
+
metadata:
|
|
194
|
+
- name: generator
|
|
195
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
196
|
+
---
|
|
197
|
+
# Sub note 1
|
|
198
|
+
|
|
199
|
+
Note content 1
|
|
200
|
+
"
|
|
201
|
+
`;
|
|
202
|
+
|
|
203
|
+
exports[`Regression > internal 7`] = `
|
|
204
|
+
"---
|
|
205
|
+
metadata:
|
|
206
|
+
- name: generator
|
|
207
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
208
|
+
---
|
|
209
|
+
# Sub note 2
|
|
210
|
+
|
|
211
|
+
Note content 2
|
|
212
|
+
"
|
|
213
|
+
`;
|
|
214
|
+
|
|
215
|
+
exports[`Regression > internal 8`] = `
|
|
216
|
+
"---
|
|
217
|
+
metadata:
|
|
218
|
+
- name: generator
|
|
219
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
220
|
+
---
|
|
221
|
+
# Images
|
|
222
|
+
|
|
223
|
+

|
|
224
|
+
|
|
225
|
+
<!-- comment -->
|
|
226
|
+
|
|
227
|
+
<!-- comment -->
|
|
228
|
+
|
|
229
|
+
<!--  -->
|
|
230
|
+
|
|
231
|
+

|
|
232
|
+
"
|
|
233
|
+
`;
|
|
234
|
+
|
|
235
|
+
exports[`Regression > internal 9`] = `
|
|
236
|
+
"---
|
|
237
|
+
metadata:
|
|
238
|
+
- name: generator
|
|
239
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
240
|
+
---
|
|
241
|
+
# Included item
|
|
242
|
+
|
|
243
|
+
Included item text
|
|
244
|
+
|
|
245
|
+
<!-- : {% include [rec-off](./commented-include.md) %} -->
|
|
246
|
+
|
|
247
|
+
{% note alert "Alert!" %}
|
|
248
|
+
|
|
249
|
+
<!-- content -->
|
|
250
|
+
|
|
251
|
+
{% endnote %}
|
|
252
|
+
|
|
253
|
+

|
|
254
|
+
"
|
|
255
|
+
`;
|
|
256
|
+
|
|
257
|
+
exports[`Regression > internal 10`] = `
|
|
258
|
+
"---
|
|
259
|
+
metadata:
|
|
260
|
+
- name: generator
|
|
261
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
262
|
+
---
|
|
263
|
+
Text
|
|
264
|
+
|
|
265
|
+
{% include [user](includes/user-hash.md) %}
|
|
266
|
+
|
|
267
|
+
{% include [test](includes/test-hash.md) %}
|
|
268
|
+
|
|
269
|
+
<!--{% include [For includes/deep.md](includes/deep.md) %}-->
|
|
270
|
+
{% include [For includes/deep-hash.md](includes/deep-hash.md) %}
|
|
271
|
+
"
|
|
272
|
+
`;
|
|
273
|
+
|
|
274
|
+
exports[`Regression > internal 11`] = `
|
|
275
|
+
"{% include [user](./user-hash.md) %}
|
|
276
|
+
"
|
|
277
|
+
`;
|
|
278
|
+
|
|
279
|
+
exports[`Regression > internal 12`] = `
|
|
280
|
+
"Test
|
|
281
|
+
"
|
|
282
|
+
`;
|
|
283
|
+
|
|
284
|
+
exports[`Regression > internal 13`] = `
|
|
285
|
+
"Bob
|
|
286
|
+
"
|
|
287
|
+
`;
|
|
288
|
+
|
|
289
|
+
exports[`Regression > internal 14`] = `
|
|
290
|
+
"description:
|
|
291
|
+
- Some text
|
|
292
|
+
links:
|
|
293
|
+
- name: Link 1
|
|
294
|
+
href: ./1.md
|
|
295
|
+
- name: Link 2
|
|
296
|
+
href: ./1
|
|
297
|
+
meta:
|
|
298
|
+
metadata:
|
|
299
|
+
- name: generator
|
|
300
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
301
|
+
"
|
|
302
|
+
`;
|
|
303
|
+
|
|
304
|
+
exports[`Regression > internal 15`] = `
|
|
305
|
+
"---
|
|
306
|
+
metadata:
|
|
307
|
+
- name: generator
|
|
308
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
309
|
+
---
|
|
310
|
+
# Latex usage
|
|
311
|
+
|
|
312
|
+
$/sqrt{3x-1}+(1+x)^2$
|
|
313
|
+
"
|
|
314
|
+
`;
|
|
315
|
+
|
|
316
|
+
exports[`Regression > internal 16`] = `
|
|
317
|
+
"---
|
|
318
|
+
metadata:
|
|
319
|
+
- name: generator
|
|
320
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
321
|
+
---
|
|
322
|
+
# Should use merged item
|
|
323
|
+
|
|
324
|
+
[merged](./merged.md)
|
|
325
|
+
"
|
|
326
|
+
`;
|
|
327
|
+
|
|
328
|
+
exports[`Regression > internal 17`] = `
|
|
329
|
+
"---
|
|
330
|
+
metadata:
|
|
331
|
+
- name: generator
|
|
332
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
333
|
+
---
|
|
334
|
+
# Merged item
|
|
335
|
+
|
|
336
|
+
Should be linked in toc.yaml
|
|
337
|
+
"
|
|
338
|
+
`;
|
|
339
|
+
|
|
340
|
+
exports[`Regression > internal 18`] = `
|
|
341
|
+
"items:
|
|
342
|
+
- name: Use merged
|
|
343
|
+
href: merge.md
|
|
344
|
+
- name: Merged item
|
|
345
|
+
href: merged.md
|
|
346
|
+
path: merge/toc.yaml
|
|
347
|
+
"
|
|
348
|
+
`;
|
|
349
|
+
|
|
350
|
+
exports[`Regression > internal 19`] = `
|
|
351
|
+
"---
|
|
352
|
+
metadata:
|
|
353
|
+
- name: generator
|
|
354
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
355
|
+
---
|
|
356
|
+
# Mermaid usage
|
|
357
|
+
|
|
358
|
+
\`\`\`mermaid
|
|
359
|
+
|
|
360
|
+
sequenceDiagram
|
|
361
|
+
rect rgba(251, 243, 232, 0.2)
|
|
362
|
+
Alice ->> Bob:
|
|
363
|
+
end
|
|
364
|
+
\`\`\`
|
|
365
|
+
|
|
366
|
+
## Mermaid info {#info}
|
|
367
|
+
|
|
368
|
+
Some mermaid info
|
|
369
|
+
"
|
|
370
|
+
`;
|
|
371
|
+
|
|
372
|
+
exports[`Regression > internal 20`] = `
|
|
373
|
+
"---
|
|
374
|
+
metadata:
|
|
375
|
+
- name: generator
|
|
376
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
377
|
+
---
|
|
378
|
+
# OpenAPI definition
|
|
379
|
+
|
|
380
|
+
##version: v0##
|
|
381
|
+
|
|
382
|
+
## Sections
|
|
383
|
+
|
|
384
|
+
- [test-controller](test-controller/index.md)
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
## Specification
|
|
388
|
+
|
|
389
|
+
{% cut "Open API" %}
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
\`\`\`text translate=no
|
|
393
|
+
{
|
|
394
|
+
"openapi": "3.0.1",
|
|
395
|
+
"info": {
|
|
396
|
+
"title": "OpenAPI definition",
|
|
397
|
+
"version": "v0"
|
|
398
|
+
},
|
|
399
|
+
"servers": [
|
|
400
|
+
{
|
|
401
|
+
"url": "http://localhost:8080",
|
|
402
|
+
"description": "Generated server url"
|
|
403
|
+
}
|
|
404
|
+
],
|
|
405
|
+
"paths": {
|
|
406
|
+
"/test": {
|
|
407
|
+
"get": {
|
|
408
|
+
"tags": [
|
|
409
|
+
"test-controller"
|
|
410
|
+
],
|
|
411
|
+
"summary": "Simple get operation. тест новой верстки 3",
|
|
412
|
+
"description": "Defines a simple get operation with no inputs and a complex",
|
|
413
|
+
"operationId": "getWithPayloadResponse",
|
|
414
|
+
"responses": {
|
|
415
|
+
"200": {
|
|
416
|
+
"description": "200!!!!",
|
|
417
|
+
"content": {
|
|
418
|
+
"application/json": {
|
|
419
|
+
"schema": {
|
|
420
|
+
"type": "object",
|
|
421
|
+
"properties": {
|
|
422
|
+
"A": {
|
|
423
|
+
"type": "string"
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
"components": {
|
|
435
|
+
"schemas": {
|
|
436
|
+
"RecurceTop": {
|
|
437
|
+
"type": "object",
|
|
438
|
+
"properties": {
|
|
439
|
+
"A": {
|
|
440
|
+
"type": "string"
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
},
|
|
444
|
+
"RecurceMiddle": {
|
|
445
|
+
"type": "object",
|
|
446
|
+
"properties": {
|
|
447
|
+
"B": {
|
|
448
|
+
"type": "array",
|
|
449
|
+
"items": {
|
|
450
|
+
"type": "object",
|
|
451
|
+
"properties": {
|
|
452
|
+
"A": {
|
|
453
|
+
"type": "string"
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
\`\`\`
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
{% endcut %}
|
|
467
|
+
|
|
468
|
+
<!-- markdownlint-disable-file -->"
|
|
469
|
+
`;
|
|
470
|
+
|
|
471
|
+
exports[`Regression > internal 21`] = `
|
|
472
|
+
"---
|
|
473
|
+
metadata:
|
|
474
|
+
- name: generator
|
|
475
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
476
|
+
---
|
|
477
|
+
<div class="openapi">
|
|
478
|
+
|
|
479
|
+
# Simple get operation. тест новой верстки 3
|
|
480
|
+
|
|
481
|
+
Defines a simple get operation with no inputs and a complex
|
|
482
|
+
|
|
483
|
+
## Request
|
|
484
|
+
|
|
485
|
+
<div class="openapi__requests">
|
|
486
|
+
|
|
487
|
+
<div class="openapi__request__wrapper" style="--method: var(--dc-openapi-methods-get);margin-bottom: 12px">
|
|
488
|
+
|
|
489
|
+
<div class="openapi__request">
|
|
490
|
+
|
|
491
|
+
GET {.openapi__method}
|
|
492
|
+
\`\`\`text translate=no
|
|
493
|
+
http://localhost:8080/test
|
|
494
|
+
\`\`\`
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
</div>
|
|
499
|
+
|
|
500
|
+
Generated server url
|
|
501
|
+
|
|
502
|
+
</div>
|
|
503
|
+
|
|
504
|
+
</div>
|
|
505
|
+
|
|
506
|
+
## Responses
|
|
507
|
+
|
|
508
|
+
<div class="openapi__response__code__200">
|
|
509
|
+
|
|
510
|
+
## 200 OK
|
|
511
|
+
|
|
512
|
+
200!!!!
|
|
513
|
+
|
|
514
|
+
<div class="openapi-entity">
|
|
515
|
+
|
|
516
|
+
### Body
|
|
517
|
+
|
|
518
|
+
{% cut "application/json" %}
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
\`\`\`json translate=no
|
|
522
|
+
{
|
|
523
|
+
"A": "string"
|
|
524
|
+
}
|
|
525
|
+
\`\`\`
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
{% endcut %}
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
#|||
|
|
532
|
+
**Name**
|
|
533
|
+
|
|
|
534
|
+
**Description**
|
|
535
|
+
||
|
|
536
|
+
|
|
537
|
+
||
|
|
538
|
+
A {.openapi-table-parameter-name}
|
|
539
|
+
|
|
|
540
|
+
**Type:** string
|
|
541
|
+
|||#
|
|
542
|
+
|
|
543
|
+
</div>
|
|
544
|
+
|
|
545
|
+
</div>
|
|
546
|
+
<!-- markdownlint-disable-file -->
|
|
547
|
+
|
|
548
|
+
</div>
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
[*Deprecated]: No longer supported, please use an alternative and newer version."
|
|
553
|
+
`;
|
|
554
|
+
|
|
555
|
+
exports[`Regression > internal 22`] = `
|
|
556
|
+
"---
|
|
557
|
+
metadata:
|
|
558
|
+
- name: generator
|
|
559
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
560
|
+
---
|
|
561
|
+
# test-controller
|
|
562
|
+
|
|
563
|
+
## Endpoints
|
|
564
|
+
|
|
565
|
+
- [Simple get operation. тест новой верстки 3](getWithPayloadResponse.md)
|
|
566
|
+
|
|
567
|
+
<!-- markdownlint-disable-file -->"
|
|
568
|
+
`;
|
|
569
|
+
|
|
570
|
+
exports[`Regression > internal 23`] = `
|
|
571
|
+
"files:
|
|
572
|
+
- from: c.md
|
|
573
|
+
to: d.md
|
|
574
|
+
common:
|
|
575
|
+
- from: ./a.md
|
|
576
|
+
to: ./b.md
|
|
577
|
+
"
|
|
578
|
+
`;
|
|
579
|
+
|
|
580
|
+
exports[`Regression > internal 24`] = `
|
|
581
|
+
"---
|
|
582
|
+
metadata:
|
|
583
|
+
- name: generator
|
|
584
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
585
|
+
---
|
|
586
|
+
# Item 1
|
|
587
|
+
|
|
588
|
+
Item 1 text
|
|
589
|
+
|
|
590
|
+
[{#T}](../../images.md)
|
|
591
|
+
"
|
|
206
592
|
`;
|
|
207
593
|
|
|
208
|
-
exports[`Regression > internal
|
|
209
|
-
"
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
594
|
+
exports[`Regression > internal 25`] = `
|
|
595
|
+
"items:
|
|
596
|
+
- name: Verbose root (index.yaml) will be transformed to index.html
|
|
597
|
+
href: index.yaml
|
|
598
|
+
- name: Root will be transformed to index.html
|
|
599
|
+
href: /index.yaml
|
|
600
|
+
- name: Md item with not_var syntax
|
|
601
|
+
href: 1.md
|
|
602
|
+
- name: Md item named without extension
|
|
603
|
+
href: 1.md
|
|
604
|
+
- name: Item with empty href
|
|
605
|
+
- name: Included Item
|
|
606
|
+
href: included-item.md
|
|
607
|
+
- name: Named include (items is Object here - this is not an error)
|
|
608
|
+
items:
|
|
609
|
+
- name: Item 1
|
|
610
|
+
href: sub/folder/item-1.md
|
|
611
|
+
- href: mermaid.md
|
|
612
|
+
name: Mermaid usage
|
|
613
|
+
- name: Latex usage
|
|
614
|
+
href: latex.md
|
|
615
|
+
- name: Images
|
|
616
|
+
href: images.md
|
|
617
|
+
- name: Autotitle
|
|
618
|
+
href: autotitle.md
|
|
619
|
+
- name: includes
|
|
620
|
+
href: includes.md
|
|
621
|
+
- name: generic
|
|
622
|
+
items:
|
|
623
|
+
- name: Note 1
|
|
624
|
+
href: generic/1.md
|
|
625
|
+
- name: Note 1
|
|
626
|
+
href: generic/2.md
|
|
627
|
+
- name: '3'
|
|
628
|
+
href: generic/3.md
|
|
629
|
+
- name: Sub notes
|
|
630
|
+
items:
|
|
631
|
+
- name: Sub note 1
|
|
632
|
+
href: generic/Sub notes/1.md
|
|
633
|
+
- name: Sub note 2
|
|
634
|
+
href: generic/Sub notes/2.md
|
|
635
|
+
- name: openapi
|
|
636
|
+
items:
|
|
637
|
+
- name: Overview
|
|
638
|
+
href: openapi/index.md
|
|
639
|
+
- name: test-controller
|
|
640
|
+
items:
|
|
641
|
+
- name: Overview
|
|
642
|
+
href: openapi/test-controller/index.md
|
|
643
|
+
- href: openapi/test-controller/getWithPayloadResponse.md
|
|
644
|
+
name: Simple get operation. тест новой верстки 3
|
|
645
|
+
path: toc.yaml
|
|
646
|
+
"
|
|
249
647
|
`;
|
|
250
648
|
|
|
251
|
-
exports[`Regression > internal
|
|
649
|
+
exports[`Regression > internal 26`] = `
|
|
252
650
|
"<!DOCTYPE html>
|
|
253
651
|
<html lang="ru" dir="ltr">
|
|
254
652
|
<head>
|
|
255
653
|
<meta charset="utf-8">
|
|
256
654
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
257
|
-
<base href="
|
|
258
|
-
<title>
|
|
655
|
+
<base href="./" />
|
|
656
|
+
<title>Title</title>
|
|
259
657
|
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
260
658
|
|
|
261
659
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
262
660
|
|
|
263
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-
|
|
661
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
264
662
|
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
265
663
|
</head>
|
|
266
664
|
<body class="g-root g-root_theme_light">
|
|
267
665
|
<div id="root"></div>
|
|
268
666
|
<script type="application/json" id="diplodoc-state">
|
|
269
|
-
{"data":{"leading":false,"html":"<p>
|
|
667
|
+
{"data":{"leading":false,"html":"<p>Text {{not-var}} {{skip()}} default-var-value</p>/n<p>Text <code>{{not-var}}</code> <code>{{skip()}}</code> <code>default-var-value</code></p>/n<p>Text</p>/n/n <div class=\\"yfm-clipboard\\">/n <pre><code class=\\"hljs\\">{{not-var}}/n/n{{skip()}}/n/ndefault-var-value/n</code></pre>/n/n <button class=\\"yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-clipboard-icon\\" data-animation=\\"9\\">/n <path fill=\\"currentColor\\" d=\\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\\"></path>/n <path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\">/n <animate id=\\"visibileAnimation-9\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-9\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-9.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n<p><code>[not a link](./path/to/relative/file.md)</code></p>/n<h2 id=\\"subtitle\\"><a href=\\"1.html#subtitle\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Subtitle</span></a>Subtitle</h2>/n<p><a href=\\"mermaid.html\\">Mermaid usage</a></p>/n<p><a href=\\"mermaid.html#info\\">Mermaid info</a></p>/n<p><a href=\\"latex.html\\">Latex usage</a></p>/n<p><a href=\\"includes\\">noext-link</a></p>/n<p>Bob</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[{"title":"Subtitle","href":"1.html#subtitle","level":2}],"title":"Title"},"router":{"pathname":"1","depth":1,"base":"./"},"lang":"ru","langs":["ru"]}
|
|
270
668
|
</script>
|
|
271
669
|
<script type="application/javascript">
|
|
272
670
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -284,37 +682,25 @@ exports[`Regression > internal > generic/1.html 1`] = `
|
|
|
284
682
|
</html>"
|
|
285
683
|
`;
|
|
286
684
|
|
|
287
|
-
exports[`Regression > internal
|
|
288
|
-
"---
|
|
289
|
-
metadata:
|
|
290
|
-
- name: generator
|
|
291
|
-
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
292
|
-
---
|
|
293
|
-
# Note 1
|
|
294
|
-
|
|
295
|
-
Note content 1
|
|
296
|
-
"
|
|
297
|
-
`;
|
|
298
|
-
|
|
299
|
-
exports[`Regression > internal > generic/2.html 1`] = `
|
|
685
|
+
exports[`Regression > internal 27`] = `
|
|
300
686
|
"<!DOCTYPE html>
|
|
301
687
|
<html lang="ru" dir="ltr">
|
|
302
688
|
<head>
|
|
303
689
|
<meta charset="utf-8">
|
|
304
690
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
305
|
-
<base href="
|
|
306
|
-
<title>
|
|
691
|
+
<base href="./" />
|
|
692
|
+
<title>Autotitles</title>
|
|
307
693
|
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
308
694
|
|
|
309
695
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
310
696
|
|
|
311
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-
|
|
697
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
312
698
|
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
313
699
|
</head>
|
|
314
700
|
<body class="g-root g-root_theme_light">
|
|
315
701
|
<div id="root"></div>
|
|
316
702
|
<script type="application/json" id="diplodoc-state">
|
|
317
|
-
{"data":{"leading":false,"html":"<p>
|
|
703
|
+
{"data":{"leading":false,"html":"<p>Empty title<br />/n<a href=\\"1.html\\">Title</a></p>/n<p>Empty subtitle<br />/n<a href=\\"1.html#subtitle\\">Subtitle</a></p>/n<p>Special title<br />/n<a href=\\"1.html\\">Title</a></p>/n<p>Special subtitle<br />/n<a href=\\"1.html#subtitle\\">Subtitle</a></p>/n<p>Empty local title<br />/n<a href=\\"autotitle.html#header\\">Header</a></p>/n<p>Special local title<br />/n<a href=\\"autotitle.html#header\\">Header</a></p>/n<h2 id=\\"header\\"><a href=\\"autotitle.html#header\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Header</span></a>Header</h2>/n<p>Content</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[{"title":"Header","href":"autotitle.html#header","level":2}],"title":"Autotitles"},"router":{"pathname":"autotitle","depth":1,"base":"./"},"lang":"ru","langs":["ru"]}
|
|
318
704
|
</script>
|
|
319
705
|
<script type="application/javascript">
|
|
320
706
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -332,83 +718,50 @@ exports[`Regression > internal > generic/2.html 1`] = `
|
|
|
332
718
|
</html>"
|
|
333
719
|
`;
|
|
334
720
|
|
|
335
|
-
exports[`Regression > internal
|
|
336
|
-
"---
|
|
337
|
-
metadata:
|
|
338
|
-
- name: generator
|
|
339
|
-
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
340
|
-
---
|
|
341
|
-
# Note 1
|
|
342
|
-
|
|
343
|
-
Note content 1
|
|
344
|
-
"
|
|
345
|
-
`;
|
|
346
|
-
|
|
347
|
-
exports[`Regression > internal > generic/3.html 1`] = `
|
|
721
|
+
exports[`Regression > internal 28`] = `
|
|
348
722
|
"<!DOCTYPE html>
|
|
349
723
|
<html lang="ru" dir="ltr">
|
|
350
724
|
<head>
|
|
351
725
|
<meta charset="utf-8">
|
|
352
726
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
353
|
-
<base href="
|
|
354
|
-
<title
|
|
355
|
-
<meta
|
|
727
|
+
<base href="./" />
|
|
728
|
+
<title>Redirect to d.md</title>
|
|
729
|
+
<meta http-equiv="refresh" content="0; url=d.md">
|
|
356
730
|
|
|
357
731
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
732
|
+
<script type="application/javascript">
|
|
733
|
+
window.location.replace("d.md");
|
|
734
|
+
</script>
|
|
358
735
|
|
|
359
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
360
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
361
736
|
</head>
|
|
362
737
|
<body class="g-root g-root_theme_light">
|
|
363
|
-
<
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
</script>
|
|
367
|
-
<script type="application/javascript">
|
|
368
|
-
const data = document.querySelector('script#diplodoc-state');
|
|
369
|
-
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
370
|
-
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
371
|
-
})(data.innerText));
|
|
372
|
-
window.STATIC_CONTENT = false;
|
|
373
|
-
</script>
|
|
374
|
-
<script type="application/javascript" defer src="toc.js"></script>
|
|
375
|
-
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
376
|
-
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
377
|
-
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
738
|
+
If you are not redirected automatically, follow this <a href="d.md">link</a>.
|
|
739
|
+
|
|
740
|
+
|
|
378
741
|
|
|
379
742
|
</body>
|
|
380
743
|
</html>"
|
|
381
744
|
`;
|
|
382
745
|
|
|
383
|
-
exports[`Regression > internal
|
|
384
|
-
"---
|
|
385
|
-
metadata:
|
|
386
|
-
- name: generator
|
|
387
|
-
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
388
|
-
---
|
|
389
|
-
Note content 1
|
|
390
|
-
"
|
|
391
|
-
`;
|
|
392
|
-
|
|
393
|
-
exports[`Regression > internal > generic/Sub notes/1.html 1`] = `
|
|
746
|
+
exports[`Regression > internal 29`] = `
|
|
394
747
|
"<!DOCTYPE html>
|
|
395
748
|
<html lang="ru" dir="ltr">
|
|
396
749
|
<head>
|
|
397
750
|
<meta charset="utf-8">
|
|
398
751
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
399
|
-
<base href="
|
|
400
|
-
<title>
|
|
752
|
+
<base href="../" />
|
|
753
|
+
<title>Note 1</title>
|
|
401
754
|
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
402
755
|
|
|
403
756
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
404
757
|
|
|
405
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-
|
|
758
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
406
759
|
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
407
760
|
</head>
|
|
408
761
|
<body class="g-root g-root_theme_light">
|
|
409
762
|
<div id="root"></div>
|
|
410
763
|
<script type="application/json" id="diplodoc-state">
|
|
411
|
-
{"data":{"leading":false,"html":"<p>Note content 1</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[],"title":"
|
|
764
|
+
{"data":{"leading":false,"html":"<p>Note content 1</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[],"title":"Note 1"},"router":{"pathname":"generic/1","depth":2,"base":"../"},"lang":"ru","langs":["ru"]}
|
|
412
765
|
</script>
|
|
413
766
|
<script type="application/javascript">
|
|
414
767
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -426,37 +779,25 @@ exports[`Regression > internal > generic/Sub notes/1.html 1`] = `
|
|
|
426
779
|
</html>"
|
|
427
780
|
`;
|
|
428
781
|
|
|
429
|
-
exports[`Regression > internal
|
|
430
|
-
"---
|
|
431
|
-
metadata:
|
|
432
|
-
- name: generator
|
|
433
|
-
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
434
|
-
---
|
|
435
|
-
# Sub note 1
|
|
436
|
-
|
|
437
|
-
Note content 1
|
|
438
|
-
"
|
|
439
|
-
`;
|
|
440
|
-
|
|
441
|
-
exports[`Regression > internal > generic/Sub notes/2.html 1`] = `
|
|
782
|
+
exports[`Regression > internal 30`] = `
|
|
442
783
|
"<!DOCTYPE html>
|
|
443
784
|
<html lang="ru" dir="ltr">
|
|
444
785
|
<head>
|
|
445
786
|
<meta charset="utf-8">
|
|
446
787
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
447
|
-
<base href="
|
|
448
|
-
<title>
|
|
788
|
+
<base href="../" />
|
|
789
|
+
<title>Note 1</title>
|
|
449
790
|
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
450
791
|
|
|
451
792
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
452
793
|
|
|
453
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-
|
|
794
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
454
795
|
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
455
796
|
</head>
|
|
456
797
|
<body class="g-root g-root_theme_light">
|
|
457
798
|
<div id="root"></div>
|
|
458
799
|
<script type="application/json" id="diplodoc-state">
|
|
459
|
-
{"data":{"leading":false,"html":"<p>Note content
|
|
800
|
+
{"data":{"leading":false,"html":"<p>Note content 1</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[],"title":"Note 1"},"router":{"pathname":"generic/2","depth":2,"base":"../"},"lang":"ru","langs":["ru"]}
|
|
460
801
|
</script>
|
|
461
802
|
<script type="application/javascript">
|
|
462
803
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -474,37 +815,25 @@ exports[`Regression > internal > generic/Sub notes/2.html 1`] = `
|
|
|
474
815
|
</html>"
|
|
475
816
|
`;
|
|
476
817
|
|
|
477
|
-
exports[`Regression > internal
|
|
478
|
-
"---
|
|
479
|
-
metadata:
|
|
480
|
-
- name: generator
|
|
481
|
-
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
482
|
-
---
|
|
483
|
-
# Sub note 2
|
|
484
|
-
|
|
485
|
-
Note content 2
|
|
486
|
-
"
|
|
487
|
-
`;
|
|
488
|
-
|
|
489
|
-
exports[`Regression > internal > images.html 1`] = `
|
|
818
|
+
exports[`Regression > internal 31`] = `
|
|
490
819
|
"<!DOCTYPE html>
|
|
491
820
|
<html lang="ru" dir="ltr">
|
|
492
821
|
<head>
|
|
493
822
|
<meta charset="utf-8">
|
|
494
823
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
495
|
-
<base href="
|
|
496
|
-
<title
|
|
824
|
+
<base href="../" />
|
|
825
|
+
<title></title>
|
|
497
826
|
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
498
827
|
|
|
499
828
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
500
829
|
|
|
501
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-
|
|
830
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
502
831
|
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
503
832
|
</head>
|
|
504
833
|
<body class="g-root g-root_theme_light">
|
|
505
834
|
<div id="root"></div>
|
|
506
835
|
<script type="application/json" id="diplodoc-state">
|
|
507
|
-
{"data":{"leading":false,"html":"<p>
|
|
836
|
+
{"data":{"leading":false,"html":"<p>Note content 1</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[],"title":""},"router":{"pathname":"generic/3","depth":2,"base":"../"},"lang":"ru","langs":["ru"]}
|
|
508
837
|
</script>
|
|
509
838
|
<script type="application/javascript">
|
|
510
839
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -522,43 +851,25 @@ exports[`Regression > internal > images.html 1`] = `
|
|
|
522
851
|
</html>"
|
|
523
852
|
`;
|
|
524
853
|
|
|
525
|
-
exports[`Regression > internal
|
|
526
|
-
"---
|
|
527
|
-
metadata:
|
|
528
|
-
- name: generator
|
|
529
|
-
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
530
|
-
---
|
|
531
|
-
# Images
|
|
532
|
-
|
|
533
|
-

|
|
534
|
-
|
|
535
|
-
<!-- comment -->
|
|
536
|
-
|
|
537
|
-
<!-- comment -->
|
|
538
|
-
|
|
539
|
-
<!--  -->
|
|
540
|
-
"
|
|
541
|
-
`;
|
|
542
|
-
|
|
543
|
-
exports[`Regression > internal > included-item.html 1`] = `
|
|
854
|
+
exports[`Regression > internal 32`] = `
|
|
544
855
|
"<!DOCTYPE html>
|
|
545
856
|
<html lang="ru" dir="ltr">
|
|
546
857
|
<head>
|
|
547
858
|
<meta charset="utf-8">
|
|
548
859
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
549
|
-
<base href="
|
|
550
|
-
<title>
|
|
860
|
+
<base href="../../" />
|
|
861
|
+
<title>Sub note 1</title>
|
|
551
862
|
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
552
863
|
|
|
553
864
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
554
865
|
|
|
555
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-
|
|
866
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
556
867
|
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
557
868
|
</head>
|
|
558
869
|
<body class="g-root g-root_theme_light">
|
|
559
870
|
<div id="root"></div>
|
|
560
871
|
<script type="application/json" id="diplodoc-state">
|
|
561
|
-
{"data":{"leading":false,"html":"<p>
|
|
872
|
+
{"data":{"leading":false,"html":"<p>Note content 1</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[],"title":"Sub note 1"},"router":{"pathname":"generic/Sub notes/1","depth":3,"base":"../../"},"lang":"ru","langs":["ru"]}
|
|
562
873
|
</script>
|
|
563
874
|
<script type="application/javascript">
|
|
564
875
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -572,51 +883,29 @@ exports[`Regression > internal > included-item.html 1`] = `
|
|
|
572
883
|
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
573
884
|
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
574
885
|
|
|
575
|
-
</body>
|
|
576
|
-
</html>"
|
|
577
|
-
`;
|
|
578
|
-
|
|
579
|
-
exports[`Regression > internal > included-item.md 1`] = `
|
|
580
|
-
"---
|
|
581
|
-
metadata:
|
|
582
|
-
- name: generator
|
|
583
|
-
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
584
|
-
---
|
|
585
|
-
# Included item
|
|
586
|
-
|
|
587
|
-
Included item text
|
|
588
|
-
|
|
589
|
-
<!-- : {% include [rec-off](./commented-include.md) %} -->
|
|
590
|
-
|
|
591
|
-
{% note alert "Alert!" %}
|
|
592
|
-
|
|
593
|
-
<!-- content -->
|
|
594
|
-
|
|
595
|
-
{% endnote %}
|
|
596
|
-
|
|
597
|
-

|
|
598
|
-
"
|
|
886
|
+
</body>
|
|
887
|
+
</html>"
|
|
599
888
|
`;
|
|
600
889
|
|
|
601
|
-
exports[`Regression > internal
|
|
890
|
+
exports[`Regression > internal 33`] = `
|
|
602
891
|
"<!DOCTYPE html>
|
|
603
892
|
<html lang="ru" dir="ltr">
|
|
604
893
|
<head>
|
|
605
894
|
<meta charset="utf-8">
|
|
606
895
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
607
|
-
<base href="
|
|
608
|
-
<title
|
|
896
|
+
<base href="../../" />
|
|
897
|
+
<title>Sub note 2</title>
|
|
609
898
|
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
610
899
|
|
|
611
900
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
612
901
|
|
|
613
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-
|
|
902
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
614
903
|
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
615
904
|
</head>
|
|
616
905
|
<body class="g-root g-root_theme_light">
|
|
617
906
|
<div id="root"></div>
|
|
618
907
|
<script type="application/json" id="diplodoc-state">
|
|
619
|
-
{"data":{"leading":false,"html":"<p>
|
|
908
|
+
{"data":{"leading":false,"html":"<p>Note content 2</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[],"title":"Sub note 2"},"router":{"pathname":"generic/Sub notes/2","depth":3,"base":"../../"},"lang":"ru","langs":["ru"]}
|
|
620
909
|
</script>
|
|
621
910
|
<script type="application/javascript">
|
|
622
911
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -634,56 +923,25 @@ exports[`Regression > internal > includes.html 1`] = `
|
|
|
634
923
|
</html>"
|
|
635
924
|
`;
|
|
636
925
|
|
|
637
|
-
exports[`Regression > internal
|
|
638
|
-
"---
|
|
639
|
-
metadata:
|
|
640
|
-
- name: generator
|
|
641
|
-
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
642
|
-
---
|
|
643
|
-
Text
|
|
644
|
-
|
|
645
|
-
{% include [user](includes/user-e5ceb56bbcbc.md) %}
|
|
646
|
-
|
|
647
|
-
{% include [test](includes/test-c9d04c9565fc.md) %}
|
|
648
|
-
|
|
649
|
-
{% include [For includes/deep-cad9dc01e96f.md](includes/deep-cad9dc01e96f.md) %}
|
|
650
|
-
"
|
|
651
|
-
`;
|
|
652
|
-
|
|
653
|
-
exports[`Regression > internal > includes/deep-cad9dc01e96f.md 1`] = `
|
|
654
|
-
"{% include [user](./user-e5ceb56bbcbc.md) %}
|
|
655
|
-
"
|
|
656
|
-
`;
|
|
657
|
-
|
|
658
|
-
exports[`Regression > internal > includes/test-c9d04c9565fc.md 1`] = `
|
|
659
|
-
"Test
|
|
660
|
-
"
|
|
661
|
-
`;
|
|
662
|
-
|
|
663
|
-
exports[`Regression > internal > includes/user-e5ceb56bbcbc.md 1`] = `
|
|
664
|
-
"Bob
|
|
665
|
-
"
|
|
666
|
-
`;
|
|
667
|
-
|
|
668
|
-
exports[`Regression > internal > index.html 1`] = `
|
|
926
|
+
exports[`Regression > internal 34`] = `
|
|
669
927
|
"<!DOCTYPE html>
|
|
670
928
|
<html lang="ru" dir="ltr">
|
|
671
929
|
<head>
|
|
672
930
|
<meta charset="utf-8">
|
|
673
931
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
674
932
|
<base href="./" />
|
|
675
|
-
<title
|
|
933
|
+
<title>Images</title>
|
|
676
934
|
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
677
935
|
|
|
678
936
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
679
937
|
|
|
680
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-
|
|
938
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
681
939
|
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
682
940
|
</head>
|
|
683
941
|
<body class="g-root g-root_theme_light">
|
|
684
942
|
<div id="root"></div>
|
|
685
943
|
<script type="application/json" id="diplodoc-state">
|
|
686
|
-
{"data":{"leading":
|
|
944
|
+
{"data":{"leading":false,"html":"<p><img src=\\"_assets/1.png\\" alt=\\"simple image\\" /></p>/n/n<p><img src=\\"_assets/3.png\\" alt=\\"with trailing comment\\" /></p>/n/n<p><img src=\\"_assets/5_1.png\\" alt=\\"with backslash\\" /></p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[],"title":"Images"},"router":{"pathname":"images","depth":1,"base":"./"},"lang":"ru","langs":["ru"]}
|
|
687
945
|
</script>
|
|
688
946
|
<script type="application/javascript">
|
|
689
947
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -701,41 +959,25 @@ exports[`Regression > internal > index.html 1`] = `
|
|
|
701
959
|
</html>"
|
|
702
960
|
`;
|
|
703
961
|
|
|
704
|
-
exports[`Regression > internal
|
|
705
|
-
"description:
|
|
706
|
-
- Some text
|
|
707
|
-
links:
|
|
708
|
-
- name: Link 1
|
|
709
|
-
href: ./1.md
|
|
710
|
-
- name: Link 2
|
|
711
|
-
href: ./1
|
|
712
|
-
meta:
|
|
713
|
-
metadata:
|
|
714
|
-
- name: generator
|
|
715
|
-
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
716
|
-
"
|
|
717
|
-
`;
|
|
718
|
-
|
|
719
|
-
exports[`Regression > internal > latex.html 1`] = `
|
|
962
|
+
exports[`Regression > internal 35`] = `
|
|
720
963
|
"<!DOCTYPE html>
|
|
721
964
|
<html lang="ru" dir="ltr">
|
|
722
965
|
<head>
|
|
723
966
|
<meta charset="utf-8">
|
|
724
967
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
725
968
|
<base href="./" />
|
|
726
|
-
<title>
|
|
969
|
+
<title>Included item</title>
|
|
727
970
|
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
728
971
|
|
|
729
972
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
730
973
|
|
|
731
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-
|
|
974
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
732
975
|
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
733
|
-
<link type="text/css" rel="stylesheet" href="_bundle/latex-extension.css"/>
|
|
734
976
|
</head>
|
|
735
977
|
<body class="g-root g-root_theme_light">
|
|
736
978
|
<div id="root"></div>
|
|
737
979
|
<script type="application/json" id="diplodoc-state">
|
|
738
|
-
{"data":{"leading":false,"html":"<p>
|
|
980
|
+
{"data":{"leading":false,"html":"<p>Included item text</p>/n/n<div class=\\"yfm-note yfm-accent-alert\\" note-type=\\"alert\\"><p class=\\"yfm-note-title\\">Alert!</p>/n<div class=\\"yfm-note-content\\"> /n</div></div><p><img src=\\"_assets/empty.pdf\\" alt=\\"pdf\\" /></p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[],"title":"Included item"},"router":{"pathname":"included-item","depth":1,"base":"./"},"lang":"ru","langs":["ru"]}
|
|
739
981
|
</script>
|
|
740
982
|
<script type="application/javascript">
|
|
741
983
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -748,43 +990,30 @@ exports[`Regression > internal > latex.html 1`] = `
|
|
|
748
990
|
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
749
991
|
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
750
992
|
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
751
|
-
<script type="application/javascript" defer src="_bundle/latex-extension.js"></script>
|
|
752
993
|
|
|
753
994
|
</body>
|
|
754
995
|
</html>"
|
|
755
996
|
`;
|
|
756
997
|
|
|
757
|
-
exports[`Regression > internal
|
|
758
|
-
"---
|
|
759
|
-
metadata:
|
|
760
|
-
- name: generator
|
|
761
|
-
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
762
|
-
---
|
|
763
|
-
# Latex usage
|
|
764
|
-
|
|
765
|
-
$/sqrt{3x-1}+(1+x)^2$
|
|
766
|
-
"
|
|
767
|
-
`;
|
|
768
|
-
|
|
769
|
-
exports[`Regression > internal > merge/merge.html 1`] = `
|
|
998
|
+
exports[`Regression > internal 36`] = `
|
|
770
999
|
"<!DOCTYPE html>
|
|
771
1000
|
<html lang="ru" dir="ltr">
|
|
772
1001
|
<head>
|
|
773
1002
|
<meta charset="utf-8">
|
|
774
1003
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
775
|
-
<base href="
|
|
776
|
-
<title
|
|
1004
|
+
<base href="./" />
|
|
1005
|
+
<title></title>
|
|
777
1006
|
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
778
1007
|
|
|
779
1008
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
780
1009
|
|
|
781
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-
|
|
1010
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
782
1011
|
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
783
1012
|
</head>
|
|
784
1013
|
<body class="g-root g-root_theme_light">
|
|
785
1014
|
<div id="root"></div>
|
|
786
1015
|
<script type="application/json" id="diplodoc-state">
|
|
787
|
-
{"data":{"leading":false,"html":"<p>
|
|
1016
|
+
{"data":{"leading":false,"html":"<p>Text</p>/n<p>Bob</p>/n<p>Test</p>/n/n<p>Bob</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[],"title":""},"router":{"pathname":"includes","depth":1,"base":"./"},"lang":"ru","langs":["ru"]}
|
|
788
1017
|
</script>
|
|
789
1018
|
<script type="application/javascript">
|
|
790
1019
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -793,7 +1022,7 @@ exports[`Regression > internal > merge/merge.html 1`] = `
|
|
|
793
1022
|
})(data.innerText));
|
|
794
1023
|
window.STATIC_CONTENT = false;
|
|
795
1024
|
</script>
|
|
796
|
-
<script type="application/javascript" defer src="
|
|
1025
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
797
1026
|
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
798
1027
|
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
799
1028
|
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
@@ -802,38 +1031,25 @@ exports[`Regression > internal > merge/merge.html 1`] = `
|
|
|
802
1031
|
</html>"
|
|
803
1032
|
`;
|
|
804
1033
|
|
|
805
|
-
exports[`Regression > internal
|
|
806
|
-
"---
|
|
807
|
-
metadata:
|
|
808
|
-
- name: generator
|
|
809
|
-
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
810
|
-
---
|
|
811
|
-
# Should use merged item
|
|
812
|
-
|
|
813
|
-
[merged](./merged.md)
|
|
814
|
-
"
|
|
815
|
-
`;
|
|
816
|
-
|
|
817
|
-
exports[`Regression > internal > merge/merged.html 1`] = `
|
|
1034
|
+
exports[`Regression > internal 37`] = `
|
|
818
1035
|
"<!DOCTYPE html>
|
|
819
1036
|
<html lang="ru" dir="ltr">
|
|
820
1037
|
<head>
|
|
821
1038
|
<meta charset="utf-8">
|
|
822
1039
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
823
|
-
<base href="
|
|
824
|
-
<title
|
|
1040
|
+
<base href="./" />
|
|
1041
|
+
<title></title>
|
|
825
1042
|
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
826
|
-
<meta name="sourcePath" content="merge-source/merged.md">
|
|
827
1043
|
|
|
828
1044
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
829
1045
|
|
|
830
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-
|
|
1046
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
831
1047
|
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
832
1048
|
</head>
|
|
833
1049
|
<body class="g-root g-root_theme_light">
|
|
834
1050
|
<div id="root"></div>
|
|
835
1051
|
<script type="application/json" id="diplodoc-state">
|
|
836
|
-
{"data":{"leading":
|
|
1052
|
+
{"data":{"leading":true,"data":{"description":["Some text"],"links":[{"name":"Link 1","href":"1.html"},{"name":"Link 2","href":"1/index.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"title":""},"router":{"pathname":"index","depth":1,"base":"./"},"lang":"ru","langs":["ru"]}
|
|
837
1053
|
</script>
|
|
838
1054
|
<script type="application/javascript">
|
|
839
1055
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -842,7 +1058,7 @@ exports[`Regression > internal > merge/merged.html 1`] = `
|
|
|
842
1058
|
})(data.innerText));
|
|
843
1059
|
window.STATIC_CONTENT = false;
|
|
844
1060
|
</script>
|
|
845
|
-
<script type="application/javascript" defer src="
|
|
1061
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
846
1062
|
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
847
1063
|
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
848
1064
|
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
@@ -851,50 +1067,26 @@ exports[`Regression > internal > merge/merged.html 1`] = `
|
|
|
851
1067
|
</html>"
|
|
852
1068
|
`;
|
|
853
1069
|
|
|
854
|
-
exports[`Regression > internal
|
|
855
|
-
"---
|
|
856
|
-
metadata:
|
|
857
|
-
- name: generator
|
|
858
|
-
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
859
|
-
sourcePath: merge-source/merged.md
|
|
860
|
-
---
|
|
861
|
-
# Merged item
|
|
862
|
-
|
|
863
|
-
Should be linked in toc.yaml
|
|
864
|
-
"
|
|
865
|
-
`;
|
|
866
|
-
|
|
867
|
-
exports[`Regression > internal > merge/toc.js 1`] = `"window.__DATA__.data.toc = {"items":[{"name":"Use merged","href":"merge/merge.html","id":"UUID"},{"name":"Merged item","href":"merge/merged.html","id":"UUID"}],"path":"merge/toc.yaml","id":"UUID"};"`;
|
|
868
|
-
|
|
869
|
-
exports[`Regression > internal > merge/toc.yaml 1`] = `
|
|
870
|
-
"items:
|
|
871
|
-
- name: Use merged
|
|
872
|
-
href: merge.md
|
|
873
|
-
- name: Merged item
|
|
874
|
-
href: merged.md
|
|
875
|
-
path: merge/toc.yaml
|
|
876
|
-
"
|
|
877
|
-
`;
|
|
878
|
-
|
|
879
|
-
exports[`Regression > internal > mermaid.html 1`] = `
|
|
1070
|
+
exports[`Regression > internal 38`] = `
|
|
880
1071
|
"<!DOCTYPE html>
|
|
881
1072
|
<html lang="ru" dir="ltr">
|
|
882
1073
|
<head>
|
|
883
1074
|
<meta charset="utf-8">
|
|
884
1075
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
885
1076
|
<base href="./" />
|
|
886
|
-
<title>
|
|
1077
|
+
<title>Latex usage</title>
|
|
887
1078
|
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
888
1079
|
|
|
889
1080
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
890
1081
|
|
|
891
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-
|
|
1082
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
892
1083
|
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1084
|
+
<link type="text/css" rel="stylesheet" href="_bundle/latex-extension.css"/>
|
|
893
1085
|
</head>
|
|
894
1086
|
<body class="g-root g-root_theme_light">
|
|
895
1087
|
<div id="root"></div>
|
|
896
1088
|
<script type="application/json" id="diplodoc-state">
|
|
897
|
-
{"data":{"leading":false,"html":"<
|
|
1089
|
+
{"data":{"leading":false,"html":"<p><span class=\\"yfm-latex\\" data-content=\\"%5Csqrt%7B3x-1%7D%2B(1%2Bx)%5E2\\" data-options=\\"%7B%22displayMode%22%3Afalse%7D\\"></span></p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_bundle/latex-extension.css"],"script":["_bundle/latex-extension.js"]},"headings":[],"title":"Latex usage"},"router":{"pathname":"latex","depth":1,"base":"./"},"lang":"ru","langs":["ru"]}
|
|
898
1090
|
</script>
|
|
899
1091
|
<script type="application/javascript">
|
|
900
1092
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -907,54 +1099,31 @@ exports[`Regression > internal > mermaid.html 1`] = `
|
|
|
907
1099
|
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
908
1100
|
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
909
1101
|
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
910
|
-
<script type="application/javascript" defer src="_bundle/
|
|
1102
|
+
<script type="application/javascript" defer src="_bundle/latex-extension.js"></script>
|
|
911
1103
|
|
|
912
1104
|
</body>
|
|
913
1105
|
</html>"
|
|
914
1106
|
`;
|
|
915
1107
|
|
|
916
|
-
exports[`Regression > internal
|
|
917
|
-
"---
|
|
918
|
-
metadata:
|
|
919
|
-
- name: generator
|
|
920
|
-
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
921
|
-
---
|
|
922
|
-
# Mermaid usage
|
|
923
|
-
|
|
924
|
-
\`\`\`mermaid
|
|
925
|
-
|
|
926
|
-
sequenceDiagram
|
|
927
|
-
rect rgba(251, 243, 232, 0.2)
|
|
928
|
-
Alice ->> Bob:
|
|
929
|
-
end
|
|
930
|
-
\`\`\`
|
|
931
|
-
|
|
932
|
-
## Mermaid info {#info}
|
|
933
|
-
|
|
934
|
-
Some mermaid info
|
|
935
|
-
"
|
|
936
|
-
`;
|
|
937
|
-
|
|
938
|
-
exports[`Regression > internal > openapi/index.html 1`] = `
|
|
1108
|
+
exports[`Regression > internal 39`] = `
|
|
939
1109
|
"<!DOCTYPE html>
|
|
940
1110
|
<html lang="ru" dir="ltr">
|
|
941
1111
|
<head>
|
|
942
1112
|
<meta charset="utf-8">
|
|
943
1113
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
944
1114
|
<base href="../" />
|
|
945
|
-
<title>
|
|
1115
|
+
<title>Should use merged item</title>
|
|
946
1116
|
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
947
1117
|
|
|
948
1118
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
949
1119
|
|
|
950
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-
|
|
1120
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
951
1121
|
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
952
|
-
<link type="text/css" rel="stylesheet" href="_assets/cut-extension.css"/>
|
|
953
1122
|
</head>
|
|
954
1123
|
<body class="g-root g-root_theme_light">
|
|
955
1124
|
<div id="root"></div>
|
|
956
1125
|
<script type="application/json" id="diplodoc-state">
|
|
957
|
-
{"data":{"leading":false,"html":"<p><
|
|
1126
|
+
{"data":{"leading":false,"html":"<p><a href=\\"merge/merged.html\\">merged</a></p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[],"title":"Should use merged item"},"router":{"pathname":"merge/merge","depth":2,"base":"../"},"lang":"ru","langs":["ru"]}
|
|
958
1127
|
</script>
|
|
959
1128
|
<script type="application/javascript">
|
|
960
1129
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -963,116 +1132,129 @@ exports[`Regression > internal > openapi/index.html 1`] = `
|
|
|
963
1132
|
})(data.innerText));
|
|
964
1133
|
window.STATIC_CONTENT = false;
|
|
965
1134
|
</script>
|
|
966
|
-
<script type="application/javascript" defer src="toc.js"></script>
|
|
1135
|
+
<script type="application/javascript" defer src="merge/toc.js"></script>
|
|
967
1136
|
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
968
1137
|
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
969
1138
|
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
970
|
-
<script type="application/javascript" defer src="_assets/cut-extension.js"></script>
|
|
971
1139
|
|
|
972
1140
|
</body>
|
|
973
1141
|
</html>"
|
|
974
1142
|
`;
|
|
975
1143
|
|
|
976
|
-
exports[`Regression > internal
|
|
977
|
-
"
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
"get": {
|
|
1012
|
-
"tags": [
|
|
1013
|
-
"test-controller"
|
|
1014
|
-
],
|
|
1015
|
-
"summary": "Simple get operation. тест новой верстки 3",
|
|
1016
|
-
"description": "Defines a simple get operation with no inputs and a complex",
|
|
1017
|
-
"operationId": "getWithPayloadResponse",
|
|
1018
|
-
"responses": {
|
|
1019
|
-
"200": {
|
|
1020
|
-
"description": "200!!!!",
|
|
1021
|
-
"content": {
|
|
1022
|
-
"application/json": {
|
|
1023
|
-
"schema": {
|
|
1024
|
-
"type": "object",
|
|
1025
|
-
"properties": {
|
|
1026
|
-
"A": {
|
|
1027
|
-
"type": "string"
|
|
1028
|
-
}
|
|
1029
|
-
}
|
|
1030
|
-
}
|
|
1031
|
-
}
|
|
1032
|
-
}
|
|
1033
|
-
}
|
|
1034
|
-
}
|
|
1035
|
-
}
|
|
1036
|
-
}
|
|
1037
|
-
},
|
|
1038
|
-
"components": {
|
|
1039
|
-
"schemas": {
|
|
1040
|
-
"RecurceTop": {
|
|
1041
|
-
"type": "object",
|
|
1042
|
-
"properties": {
|
|
1043
|
-
"A": {
|
|
1044
|
-
"type": "string"
|
|
1045
|
-
}
|
|
1046
|
-
}
|
|
1047
|
-
},
|
|
1048
|
-
"RecurceMiddle": {
|
|
1049
|
-
"type": "object",
|
|
1050
|
-
"properties": {
|
|
1051
|
-
"B": {
|
|
1052
|
-
"type": "array",
|
|
1053
|
-
"items": {
|
|
1054
|
-
"type": "object",
|
|
1055
|
-
"properties": {
|
|
1056
|
-
"A": {
|
|
1057
|
-
"type": "string"
|
|
1058
|
-
}
|
|
1059
|
-
}
|
|
1060
|
-
}
|
|
1061
|
-
}
|
|
1062
|
-
}
|
|
1063
|
-
}
|
|
1064
|
-
}
|
|
1065
|
-
}
|
|
1066
|
-
}
|
|
1067
|
-
\`\`\`
|
|
1144
|
+
exports[`Regression > internal 40`] = `
|
|
1145
|
+
"<!DOCTYPE html>
|
|
1146
|
+
<html lang="ru" dir="ltr">
|
|
1147
|
+
<head>
|
|
1148
|
+
<meta charset="utf-8">
|
|
1149
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1150
|
+
<base href="../" />
|
|
1151
|
+
<title>Merged item</title>
|
|
1152
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1153
|
+
|
|
1154
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1155
|
+
|
|
1156
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
1157
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1158
|
+
</head>
|
|
1159
|
+
<body class="g-root g-root_theme_light">
|
|
1160
|
+
<div id="root"></div>
|
|
1161
|
+
<script type="application/json" id="diplodoc-state">
|
|
1162
|
+
{"data":{"leading":false,"html":"<p>Should be linked in toc.yaml</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[],"title":"Merged item"},"router":{"pathname":"merge/merged","depth":2,"base":"../"},"lang":"ru","langs":["ru"]}
|
|
1163
|
+
</script>
|
|
1164
|
+
<script type="application/javascript">
|
|
1165
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1166
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1167
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1168
|
+
})(data.innerText));
|
|
1169
|
+
window.STATIC_CONTENT = false;
|
|
1170
|
+
</script>
|
|
1171
|
+
<script type="application/javascript" defer src="merge/toc.js"></script>
|
|
1172
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
1173
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
1174
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
1175
|
+
|
|
1176
|
+
</body>
|
|
1177
|
+
</html>"
|
|
1178
|
+
`;
|
|
1068
1179
|
|
|
1180
|
+
exports[`Regression > internal 41`] = `"window.__DATA__.data.toc = {"items":[{"name":"Use merged","href":"merge/merge.html","id":"UUID"},{"name":"Merged item","href":"merge/merged.html","id":"UUID"}],"path":"merge/toc.yaml","id":"UUID"};"`;
|
|
1069
1181
|
|
|
1070
|
-
|
|
1182
|
+
exports[`Regression > internal 42`] = `
|
|
1183
|
+
"<!DOCTYPE html>
|
|
1184
|
+
<html lang="ru" dir="ltr">
|
|
1185
|
+
<head>
|
|
1186
|
+
<meta charset="utf-8">
|
|
1187
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1188
|
+
<base href="./" />
|
|
1189
|
+
<title>Mermaid usage</title>
|
|
1190
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1191
|
+
|
|
1192
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1193
|
+
|
|
1194
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
1195
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1196
|
+
</head>
|
|
1197
|
+
<body class="g-root g-root_theme_light">
|
|
1198
|
+
<div id="root"></div>
|
|
1199
|
+
<script type="application/json" id="diplodoc-state">
|
|
1200
|
+
{"data":{"leading":false,"html":"<div class=\\"mermaid\\" data-content=\\"sequenceDiagram%0A%20%20%20%20%20%20%20%20rect%20rgba(251%2C%20243%2C%20232%2C%200.2)%0A%20%20%20%20%20%20%20%20%20%20%20%20Alice%20-%3E%3E%20Bob%3A%0A%20%20%20%20%20%20%20%20end%0A\\"></div><h2 id=\\"info\\"><a href=\\"mermaid.html#info\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Mermaid info</span></a>Mermaid info</h2>/n<p>Some mermaid info</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"script":["_bundle/mermaid-extension.js"]},"headings":[{"title":"Mermaid info","href":"mermaid.html#info","level":2}],"title":"Mermaid usage"},"router":{"pathname":"mermaid","depth":1,"base":"./"},"lang":"ru","langs":["ru"]}
|
|
1201
|
+
</script>
|
|
1202
|
+
<script type="application/javascript">
|
|
1203
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1204
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1205
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1206
|
+
})(data.innerText));
|
|
1207
|
+
window.STATIC_CONTENT = false;
|
|
1208
|
+
</script>
|
|
1209
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
1210
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
1211
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
1212
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
1213
|
+
<script type="application/javascript" defer src="_bundle/mermaid-extension.js"></script>
|
|
1214
|
+
|
|
1215
|
+
</body>
|
|
1216
|
+
</html>"
|
|
1217
|
+
`;
|
|
1071
1218
|
|
|
1072
|
-
|
|
1219
|
+
exports[`Regression > internal 43`] = `
|
|
1220
|
+
"<!DOCTYPE html>
|
|
1221
|
+
<html lang="ru" dir="ltr">
|
|
1222
|
+
<head>
|
|
1223
|
+
<meta charset="utf-8">
|
|
1224
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1225
|
+
<base href="../" />
|
|
1226
|
+
<title>OpenAPI definition</title>
|
|
1227
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1228
|
+
|
|
1229
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1230
|
+
|
|
1231
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
1232
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1233
|
+
<link type="text/css" rel="stylesheet" href="_assets/cut-extension.css"/>
|
|
1234
|
+
</head>
|
|
1235
|
+
<body class="g-root g-root_theme_light">
|
|
1236
|
+
<div id="root"></div>
|
|
1237
|
+
<script type="application/json" id="diplodoc-state">
|
|
1238
|
+
{"data":{"leading":false,"html":"<p><samp>version: v0</samp></p>/n<h2 id=\\"sections\\"><a href=\\"openapi/index.html#sections\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Sections</span></a>Sections</h2>/n<ul>/n<li><a href=\\"openapi/test-controller/index.html\\">test-controller</a></li>/n</ul>/n<h2 id=\\"specification\\"><a href=\\"openapi/index.html#specification\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Specification</span></a>Specification</h2>/n<details class=\\"yfm-cut\\"><summary class=\\"yfm-cut-title\\">Open API</summary><div class=\\"yfm-cut-content\\">/n <div class=\\"yfm-clipboard\\">/n <pre><code class=\\"hljs text\\">{/n \\"openapi\\": \\"3.0.1\\",/n \\"info\\": {/n \\"title\\": \\"OpenAPI definition\\",/n \\"version\\": \\"v0\\"/n },/n \\"servers\\": [/n {/n \\"url\\": \\"http://localhost:8080\\",/n \\"description\\": \\"Generated server url\\"/n }/n ],/n \\"paths\\": {/n \\"/test\\": {/n \\"get\\": {/n \\"tags\\": [/n \\"test-controller\\"/n ],/n \\"summary\\": \\"Simple get operation. тест новой верстки 3\\",/n \\"description\\": \\"Defines a simple get operation with no inputs and a complex\\",/n \\"operationId\\": \\"getWithPayloadResponse\\",/n \\"responses\\": {/n \\"200\\": {/n \\"description\\": \\"200!!!!\\",/n \\"content\\": {/n \\"application/json\\": {/n \\"schema\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"A\\": {/n \\"type\\": \\"string\\"/n }/n }/n }/n }/n }/n }/n }/n }/n }/n },/n \\"components\\": {/n \\"schemas\\": {/n \\"RecurceTop\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"A\\": {/n \\"type\\": \\"string\\"/n }/n }/n },/n \\"RecurceMiddle\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"B\\": {/n \\"type\\": \\"array\\",/n \\"items\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"A\\": {/n \\"type\\": \\"string\\"/n }/n }/n }/n }/n }/n }/n }/n }/n}/n</code></pre>/n/n <button class=\\"yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-clipboard-icon\\" data-animation=\\"21\\">/n <path fill=\\"currentColor\\" d=\\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\\"></path>/n <path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\">/n <animate id=\\"visibileAnimation-21\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-21\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-21.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n</div></details>","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/cut-extension.css"],"script":["_assets/cut-extension.js"]},"headings":[{"title":"Sections","href":"openapi/index.html#sections","level":2},{"title":"Specification","href":"openapi/index.html#specification","level":2}],"title":"OpenAPI definition"},"router":{"pathname":"openapi/index","depth":2,"base":"../"},"lang":"ru","langs":["ru"]}
|
|
1239
|
+
</script>
|
|
1240
|
+
<script type="application/javascript">
|
|
1241
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1242
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1243
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1244
|
+
})(data.innerText));
|
|
1245
|
+
window.STATIC_CONTENT = false;
|
|
1246
|
+
</script>
|
|
1247
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
1248
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
1249
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
1250
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
1251
|
+
<script type="application/javascript" defer src="_assets/cut-extension.js"></script>
|
|
1252
|
+
|
|
1253
|
+
</body>
|
|
1254
|
+
</html>"
|
|
1073
1255
|
`;
|
|
1074
1256
|
|
|
1075
|
-
exports[`Regression > internal
|
|
1257
|
+
exports[`Regression > internal 44`] = `
|
|
1076
1258
|
"<!DOCTYPE html>
|
|
1077
1259
|
<html lang="ru" dir="ltr">
|
|
1078
1260
|
<head>
|
|
@@ -1084,7 +1266,7 @@ exports[`Regression > internal > openapi/test-controller/getWithPayloadResponse.
|
|
|
1084
1266
|
|
|
1085
1267
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1086
1268
|
|
|
1087
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-
|
|
1269
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
1088
1270
|
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1089
1271
|
<link type="text/css" rel="stylesheet" href="_assets/cut-extension.css"/>
|
|
1090
1272
|
</head>
|
|
@@ -1110,91 +1292,7 @@ exports[`Regression > internal > openapi/test-controller/getWithPayloadResponse.
|
|
|
1110
1292
|
</html>"
|
|
1111
1293
|
`;
|
|
1112
1294
|
|
|
1113
|
-
exports[`Regression > internal
|
|
1114
|
-
"---
|
|
1115
|
-
metadata:
|
|
1116
|
-
- name: generator
|
|
1117
|
-
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
1118
|
-
---
|
|
1119
|
-
<div class="openapi">
|
|
1120
|
-
|
|
1121
|
-
# Simple get operation. тест новой верстки 3
|
|
1122
|
-
|
|
1123
|
-
Defines a simple get operation with no inputs and a complex
|
|
1124
|
-
|
|
1125
|
-
## Request
|
|
1126
|
-
|
|
1127
|
-
<div class="openapi__requests">
|
|
1128
|
-
|
|
1129
|
-
<div class="openapi__request__wrapper" style="--method: var(--dc-openapi-methods-get);margin-bottom: 12px">
|
|
1130
|
-
|
|
1131
|
-
<div class="openapi__request">
|
|
1132
|
-
|
|
1133
|
-
GET {.openapi__method}
|
|
1134
|
-
\`\`\`text translate=no
|
|
1135
|
-
http://localhost:8080/test
|
|
1136
|
-
\`\`\`
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
</div>
|
|
1141
|
-
|
|
1142
|
-
Generated server url
|
|
1143
|
-
|
|
1144
|
-
</div>
|
|
1145
|
-
|
|
1146
|
-
</div>
|
|
1147
|
-
|
|
1148
|
-
## Responses
|
|
1149
|
-
|
|
1150
|
-
<div class="openapi__response__code__200">
|
|
1151
|
-
|
|
1152
|
-
## 200 OK
|
|
1153
|
-
|
|
1154
|
-
200!!!!
|
|
1155
|
-
|
|
1156
|
-
<div class="openapi-entity">
|
|
1157
|
-
|
|
1158
|
-
### Body
|
|
1159
|
-
|
|
1160
|
-
{% cut "application/json" %}
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
\`\`\`json translate=no
|
|
1164
|
-
{
|
|
1165
|
-
"A": "string"
|
|
1166
|
-
}
|
|
1167
|
-
\`\`\`
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
{% endcut %}
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
#|||
|
|
1174
|
-
**Name**
|
|
1175
|
-
|
|
|
1176
|
-
**Description**
|
|
1177
|
-
||
|
|
1178
|
-
|
|
1179
|
-
||
|
|
1180
|
-
A {.openapi-table-parameter-name}
|
|
1181
|
-
|
|
|
1182
|
-
**Type:** string
|
|
1183
|
-
|||#
|
|
1184
|
-
|
|
1185
|
-
</div>
|
|
1186
|
-
|
|
1187
|
-
</div>
|
|
1188
|
-
<!-- markdownlint-disable-file -->
|
|
1189
|
-
|
|
1190
|
-
</div>
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
[*Deprecated]: No longer supported, please use an alternative and newer version."
|
|
1195
|
-
`;
|
|
1196
|
-
|
|
1197
|
-
exports[`Regression > internal > openapi/test-controller/index.html 1`] = `
|
|
1295
|
+
exports[`Regression > internal 45`] = `
|
|
1198
1296
|
"<!DOCTYPE html>
|
|
1199
1297
|
<html lang="ru" dir="ltr">
|
|
1200
1298
|
<head>
|
|
@@ -1206,7 +1304,7 @@ exports[`Regression > internal > openapi/test-controller/index.html 1`] = `
|
|
|
1206
1304
|
|
|
1207
1305
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1208
1306
|
|
|
1209
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-
|
|
1307
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
1210
1308
|
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1211
1309
|
</head>
|
|
1212
1310
|
<body class="g-root g-root_theme_light">
|
|
@@ -1230,32 +1328,7 @@ exports[`Regression > internal > openapi/test-controller/index.html 1`] = `
|
|
|
1230
1328
|
</html>"
|
|
1231
1329
|
`;
|
|
1232
1330
|
|
|
1233
|
-
exports[`Regression > internal
|
|
1234
|
-
"---
|
|
1235
|
-
metadata:
|
|
1236
|
-
- name: generator
|
|
1237
|
-
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
1238
|
-
---
|
|
1239
|
-
# test-controller
|
|
1240
|
-
|
|
1241
|
-
## Endpoints
|
|
1242
|
-
|
|
1243
|
-
- [Simple get operation. тест новой верстки 3](getWithPayloadResponse.md)
|
|
1244
|
-
|
|
1245
|
-
<!-- markdownlint-disable-file -->"
|
|
1246
|
-
`;
|
|
1247
|
-
|
|
1248
|
-
exports[`Regression > internal > redirects.yaml 1`] = `
|
|
1249
|
-
"files:
|
|
1250
|
-
- from: c.md
|
|
1251
|
-
to: d.md
|
|
1252
|
-
common:
|
|
1253
|
-
- from: ./a.md
|
|
1254
|
-
to: ./b.md
|
|
1255
|
-
"
|
|
1256
|
-
`;
|
|
1257
|
-
|
|
1258
|
-
exports[`Regression > internal > sub/folder/item-1.html 1`] = `
|
|
1331
|
+
exports[`Regression > internal 46`] = `
|
|
1259
1332
|
"<!DOCTYPE html>
|
|
1260
1333
|
<html lang="ru" dir="ltr">
|
|
1261
1334
|
<head>
|
|
@@ -1267,7 +1340,7 @@ exports[`Regression > internal > sub/folder/item-1.html 1`] = `
|
|
|
1267
1340
|
|
|
1268
1341
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1269
1342
|
|
|
1270
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-
|
|
1343
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
1271
1344
|
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1272
1345
|
</head>
|
|
1273
1346
|
<body class="g-root g-root_theme_light">
|
|
@@ -1291,73 +1364,4 @@ exports[`Regression > internal > sub/folder/item-1.html 1`] = `
|
|
|
1291
1364
|
</html>"
|
|
1292
1365
|
`;
|
|
1293
1366
|
|
|
1294
|
-
exports[`Regression > internal
|
|
1295
|
-
"---
|
|
1296
|
-
metadata:
|
|
1297
|
-
- name: generator
|
|
1298
|
-
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
1299
|
-
---
|
|
1300
|
-
# Item 1
|
|
1301
|
-
|
|
1302
|
-
Item 1 text
|
|
1303
|
-
|
|
1304
|
-
[{#T}](../../images.md)
|
|
1305
|
-
"
|
|
1306
|
-
`;
|
|
1307
|
-
|
|
1308
|
-
exports[`Regression > internal > toc.js 1`] = `"window.__DATA__.data.toc = {"items":[{"name":"Verbose root (index.yaml) will be transformed to index.html","href":"index.html","id":"UUID"},{"name":"Root will be transformed to index.html","href":"index.html","id":"UUID"},{"name":"Md item with not_var syntax","href":"1.html","id":"UUID"},{"name":"Md item named without extension","href":"1.html","id":"UUID"},{"name":"Item with empty href","id":"UUID"},{"name":"Included Item","href":"included-item.html","id":"UUID"},{"name":"Named include (items is Object here - this is not an error)","items":[{"name":"Item 1","href":"sub/folder/item-1.html","id":"UUID"}],"id":"UUID"},{"href":"mermaid.html","name":"Mermaid usage","id":"UUID"},{"name":"Latex usage","href":"latex.html","id":"UUID"},{"name":"Images","href":"images.html","id":"UUID"},{"name":"Autotitle","href":"autotitle.html","id":"UUID"},{"name":"includes","href":"includes.html","id":"UUID"},{"name":"generic","items":[{"name":"Note 1","href":"generic/1.html","id":"UUID"},{"name":"Note 1","href":"generic/2.html","id":"UUID"},{"name":"3","href":"generic/3.html","id":"UUID"},{"name":"Sub notes","items":[{"name":"Sub note 1","href":"generic/Sub notes/1.html","id":"UUID"},{"name":"Sub note 2","href":"generic/Sub notes/2.html","id":"UUID"}],"id":"UUID"}],"id":"UUID"},{"name":"openapi","items":[{"name":"Overview","href":"openapi/index.html","id":"UUID"},{"name":"test-controller","items":[{"name":"Overview","href":"openapi/test-controller/index.html","id":"UUID"},{"href":"openapi/test-controller/getWithPayloadResponse.html","name":"Simple get operation. тест новой верстки 3","id":"UUID"}],"id":"UUID"}],"id":"UUID"}],"path":"toc.yaml","id":"UUID"};"`;
|
|
1309
|
-
|
|
1310
|
-
exports[`Regression > internal > toc.yaml 1`] = `
|
|
1311
|
-
"items:
|
|
1312
|
-
- name: Verbose root (index.yaml) will be transformed to index.html
|
|
1313
|
-
href: index.yaml
|
|
1314
|
-
- name: Root will be transformed to index.html
|
|
1315
|
-
href: /index.yaml
|
|
1316
|
-
- name: Md item with not_var syntax
|
|
1317
|
-
href: 1.md
|
|
1318
|
-
- name: Md item named without extension
|
|
1319
|
-
href: 1.md
|
|
1320
|
-
- name: Item with empty href
|
|
1321
|
-
- name: Included Item
|
|
1322
|
-
href: included-item.md
|
|
1323
|
-
- name: Named include (items is Object here - this is not an error)
|
|
1324
|
-
items:
|
|
1325
|
-
- name: Item 1
|
|
1326
|
-
href: sub/folder/item-1.md
|
|
1327
|
-
- href: mermaid.md
|
|
1328
|
-
name: Mermaid usage
|
|
1329
|
-
- name: Latex usage
|
|
1330
|
-
href: latex.md
|
|
1331
|
-
- name: Images
|
|
1332
|
-
href: images.md
|
|
1333
|
-
- name: Autotitle
|
|
1334
|
-
href: autotitle.md
|
|
1335
|
-
- name: includes
|
|
1336
|
-
href: includes.md
|
|
1337
|
-
- name: generic
|
|
1338
|
-
items:
|
|
1339
|
-
- name: Note 1
|
|
1340
|
-
href: generic/1.md
|
|
1341
|
-
- name: Note 1
|
|
1342
|
-
href: generic/2.md
|
|
1343
|
-
- name: '3'
|
|
1344
|
-
href: generic/3.md
|
|
1345
|
-
- name: Sub notes
|
|
1346
|
-
items:
|
|
1347
|
-
- name: Sub note 1
|
|
1348
|
-
href: generic/Sub notes/1.md
|
|
1349
|
-
- name: Sub note 2
|
|
1350
|
-
href: generic/Sub notes/2.md
|
|
1351
|
-
- name: openapi
|
|
1352
|
-
items:
|
|
1353
|
-
- name: Overview
|
|
1354
|
-
href: openapi/index.md
|
|
1355
|
-
- name: test-controller
|
|
1356
|
-
items:
|
|
1357
|
-
- name: Overview
|
|
1358
|
-
href: openapi/test-controller/index.md
|
|
1359
|
-
- href: openapi/test-controller/getWithPayloadResponse.md
|
|
1360
|
-
name: Simple get operation. тест новой верстки 3
|
|
1361
|
-
path: toc.yaml
|
|
1362
|
-
"
|
|
1363
|
-
`;
|
|
1367
|
+
exports[`Regression > internal 47`] = `"window.__DATA__.data.toc = {"items":[{"name":"Verbose root (index.yaml) will be transformed to index.html","href":"index.html","id":"UUID"},{"name":"Root will be transformed to index.html","href":"index.html","id":"UUID"},{"name":"Md item with not_var syntax","href":"1.html","id":"UUID"},{"name":"Md item named without extension","href":"1.html","id":"UUID"},{"name":"Item with empty href","id":"UUID"},{"name":"Included Item","href":"included-item.html","id":"UUID"},{"name":"Named include (items is Object here - this is not an error)","items":[{"name":"Item 1","href":"sub/folder/item-1.html","id":"UUID"}],"id":"UUID"},{"href":"mermaid.html","name":"Mermaid usage","id":"UUID"},{"name":"Latex usage","href":"latex.html","id":"UUID"},{"name":"Images","href":"images.html","id":"UUID"},{"name":"Autotitle","href":"autotitle.html","id":"UUID"},{"name":"includes","href":"includes.html","id":"UUID"},{"name":"generic","items":[{"name":"Note 1","href":"generic/1.html","id":"UUID"},{"name":"Note 1","href":"generic/2.html","id":"UUID"},{"name":"3","href":"generic/3.html","id":"UUID"},{"name":"Sub notes","items":[{"name":"Sub note 1","href":"generic/Sub notes/1.html","id":"UUID"},{"name":"Sub note 2","href":"generic/Sub notes/2.html","id":"UUID"}],"id":"UUID"}],"id":"UUID"},{"name":"openapi","items":[{"name":"Overview","href":"openapi/index.html","id":"UUID"},{"name":"test-controller","items":[{"name":"Overview","href":"openapi/test-controller/index.html","id":"UUID"},{"href":"openapi/test-controller/getWithPayloadResponse.html","name":"Simple get operation. тест новой верстки 3","id":"UUID"}],"id":"UUID"}],"id":"UUID"}],"path":"toc.yaml","id":"UUID"};"`;
|