@diplodoc/cli-tests 4.59.13 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/e2e/__snapshots__/include-toc.test.ts.snap +106 -106
- package/e2e/__snapshots__/load-custom-resources.spec.ts.snap +297 -344
- package/e2e/__snapshots__/metadata.spec.ts.snap +121 -144
- package/e2e/__snapshots__/plugin-corner-cases.spec.ts.snap +0 -0
- package/e2e/__snapshots__/regression.test.ts.snap +904 -713
- package/e2e/__snapshots__/restricted-access.test.ts.snap +234 -0
- package/e2e/__snapshots__/rtl.spec.ts.snap +252 -302
- package/e2e/__snapshots__/translation.spec.ts.snap +366 -0
- package/e2e/errors.spec.ts +31 -0
- package/e2e/regression.test.ts +7 -2
- package/e2e/restricted-access.test.ts +21 -0
- package/e2e/translation.spec.ts +1 -1
- package/fixtures/cliAdapter.ts +41 -20
- package/fixtures/runners/binary.ts +18 -3
- 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/include-toc/test6/input/toc.yaml +1 -0
- package/mocks/regression/input/1.md +2 -0
- package/mocks/regression/input/generic/1.md +3 -0
- package/mocks/regression/input/generic/2.md +3 -0
- package/mocks/regression/input/generic/3.md +1 -0
- package/mocks/regression/input/generic/Sub notes/1.md +3 -0
- package/mocks/regression/input/generic/Sub notes/2.md +3 -0
- package/mocks/regression/input/includes/deep.md +1 -0
- package/mocks/regression/input/includes.md +3 -0
- package/mocks/regression/input/redirects.yaml +6 -0
- package/mocks/regression/input/toc.yaml +7 -3
- 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/package.json +3 -2
|
@@ -1,51 +1,86 @@
|
|
|
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
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
3
|
+
exports[`Regression > internal > filelist 1`] = `
|
|
4
|
+
"[
|
|
5
|
+
"1.md",
|
|
6
|
+
"_assets/1.png",
|
|
7
|
+
"_assets/2.png",
|
|
8
|
+
"_assets/3.png",
|
|
9
|
+
"_assets/empty.pdf",
|
|
10
|
+
"autotitle.md",
|
|
11
|
+
"generic/1.md",
|
|
12
|
+
"generic/2.md",
|
|
13
|
+
"generic/3.md",
|
|
14
|
+
"generic/Sub notes/1.md",
|
|
15
|
+
"generic/Sub notes/2.md",
|
|
16
|
+
"images.md",
|
|
17
|
+
"included-item.md",
|
|
18
|
+
"includes.md",
|
|
19
|
+
"includes/deep-hash.md",
|
|
20
|
+
"includes/test-hash.md",
|
|
21
|
+
"includes/user-hash.md",
|
|
22
|
+
"index.yaml",
|
|
23
|
+
"latex.md",
|
|
24
|
+
"merge/merge.md",
|
|
25
|
+
"merge/merged.md",
|
|
26
|
+
"merge/toc.yaml",
|
|
27
|
+
"mermaid.md",
|
|
28
|
+
"openapi/index.md",
|
|
29
|
+
"openapi/test-controller/getWithPayloadResponse.md",
|
|
30
|
+
"openapi/test-controller/index.md",
|
|
31
|
+
"redirects.yaml",
|
|
32
|
+
"sub/folder/item-1.md",
|
|
33
|
+
"toc.yaml"
|
|
34
|
+
]"
|
|
35
|
+
`;
|
|
36
|
+
|
|
37
|
+
exports[`Regression > internal > filelist 2`] = `
|
|
38
|
+
"[
|
|
39
|
+
"1.html",
|
|
40
|
+
"_assets/1.png",
|
|
41
|
+
"_assets/2.png",
|
|
42
|
+
"_assets/3.png",
|
|
43
|
+
"_assets/empty.pdf",
|
|
44
|
+
"_bundle/search-async-1",
|
|
45
|
+
"_bundle/search-async-0",
|
|
46
|
+
"_bundle/app-css-1",
|
|
47
|
+
"_bundle/app-js-1",
|
|
48
|
+
"_bundle/search-css-2",
|
|
49
|
+
"_bundle/latex-extension.css",
|
|
50
|
+
"_bundle/latex-extension.js",
|
|
51
|
+
"_bundle/mermaid-extension.js",
|
|
52
|
+
"_bundle/page-constructor-extension.css",
|
|
53
|
+
"_bundle/page-constructor-extension.js",
|
|
54
|
+
"_bundle/search-js-0",
|
|
55
|
+
"_bundle/search-js-1",
|
|
56
|
+
"_bundle/search-css-0",
|
|
57
|
+
"_bundle/search-js-2",
|
|
58
|
+
"_bundle/search-css-1",
|
|
59
|
+
"autotitle.html",
|
|
60
|
+
"c.md",
|
|
61
|
+
"generic/1.html",
|
|
62
|
+
"generic/2.html",
|
|
63
|
+
"generic/3.html",
|
|
64
|
+
"generic/Sub notes/1.html",
|
|
65
|
+
"generic/Sub notes/2.html",
|
|
66
|
+
"images.html",
|
|
67
|
+
"included-item.html",
|
|
68
|
+
"includes.html",
|
|
69
|
+
"index.html",
|
|
70
|
+
"latex.html",
|
|
71
|
+
"merge/merge.html",
|
|
72
|
+
"merge/merged.html",
|
|
73
|
+
"merge/toc.js",
|
|
74
|
+
"mermaid.html",
|
|
75
|
+
"openapi/index.html",
|
|
76
|
+
"openapi/test-controller/getWithPayloadResponse.html",
|
|
77
|
+
"openapi/test-controller/index.html",
|
|
78
|
+
"sub/folder/item-1.html",
|
|
79
|
+
"toc.js"
|
|
80
|
+
]"
|
|
46
81
|
`;
|
|
47
82
|
|
|
48
|
-
exports[`Regression > internal
|
|
83
|
+
exports[`Regression > internal 1`] = `
|
|
49
84
|
"---
|
|
50
85
|
metadata:
|
|
51
86
|
- name: generator
|
|
@@ -77,56 +112,13 @@ default-var-value
|
|
|
77
112
|
|
|
78
113
|
[](./latex.md)
|
|
79
114
|
|
|
80
|
-
|
|
81
|
-
"
|
|
82
|
-
`;
|
|
115
|
+
[noext-link](./includes)
|
|
83
116
|
|
|
84
|
-
|
|
117
|
+
{% include [user](includes/user-hash.md) %}
|
|
85
118
|
"
|
|
86
|
-
<!DOCTYPE html>
|
|
87
|
-
<html lang="ru" dir="ltr">
|
|
88
|
-
<head>
|
|
89
|
-
<meta charset="utf-8">
|
|
90
|
-
<base href="./" />
|
|
91
|
-
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION" />
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
95
|
-
<title>Autotitles</title>
|
|
96
|
-
<style type="text/css">
|
|
97
|
-
body {
|
|
98
|
-
height: 100vh;
|
|
99
|
-
}
|
|
100
|
-
</style>
|
|
101
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0" />
|
|
102
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1" />
|
|
103
|
-
|
|
104
|
-
</head>
|
|
105
|
-
<body class="g-root g-root_theme_light">
|
|
106
|
-
<div id="root"></div>
|
|
107
|
-
<script type="application/json" id="diplodoc-state">
|
|
108
|
-
{"data":{"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[{"title":"Header","href":"autotitle.html#header","level":2}],"title":"Autotitles","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","leading":false},"router":{"pathname":"autotitle","depth":1},"lang":"ru","langs":["ru"]}
|
|
109
|
-
</script>
|
|
110
|
-
<script type="application/javascript">
|
|
111
|
-
function unescapeJsonFromHtml(escaped) {
|
|
112
|
-
const unescaped = escaped.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
113
|
-
return JSON.parse(unescaped);
|
|
114
|
-
}
|
|
115
|
-
const data = document.querySelector('script#diplodoc-state');
|
|
116
|
-
window.__DATA__ = unescapeJsonFromHtml(data.innerText);
|
|
117
|
-
window.STATIC_CONTENT = false;
|
|
118
|
-
</script>
|
|
119
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
120
|
-
|
|
121
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
122
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
123
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
124
|
-
</body>
|
|
125
|
-
</html>
|
|
126
|
-
"
|
|
127
119
|
`;
|
|
128
120
|
|
|
129
|
-
exports[`Regression > internal
|
|
121
|
+
exports[`Regression > internal 2`] = `
|
|
130
122
|
"---
|
|
131
123
|
metadata:
|
|
132
124
|
- name: generator
|
|
@@ -158,116 +150,65 @@ Content
|
|
|
158
150
|
"
|
|
159
151
|
`;
|
|
160
152
|
|
|
161
|
-
exports[`Regression > internal
|
|
162
|
-
"
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
"includes.md",
|
|
172
|
-
"includes/test.md",
|
|
173
|
-
"includes/user.md",
|
|
174
|
-
"index.yaml",
|
|
175
|
-
"latex.md",
|
|
176
|
-
"merge/merge.md",
|
|
177
|
-
"merge/merged.md",
|
|
178
|
-
"merge/toc.yaml",
|
|
179
|
-
"mermaid.md",
|
|
180
|
-
"openapi/index.md",
|
|
181
|
-
"openapi/test-controller/getWithPayloadResponse.md",
|
|
182
|
-
"openapi/test-controller/index.md",
|
|
183
|
-
"sub/folder/item-1.md",
|
|
184
|
-
"toc.yaml"
|
|
185
|
-
]"
|
|
153
|
+
exports[`Regression > internal 3`] = `
|
|
154
|
+
"---
|
|
155
|
+
metadata:
|
|
156
|
+
- name: generator
|
|
157
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
158
|
+
---
|
|
159
|
+
# Note 1
|
|
160
|
+
|
|
161
|
+
Note content 1
|
|
162
|
+
"
|
|
186
163
|
`;
|
|
187
164
|
|
|
188
|
-
exports[`Regression > internal
|
|
189
|
-
"
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
"_bundle/search-css-2",
|
|
199
|
-
"_bundle/latex-extension.css",
|
|
200
|
-
"_bundle/latex-extension.js",
|
|
201
|
-
"_bundle/mermaid-extension.js",
|
|
202
|
-
"_bundle/search-js-0",
|
|
203
|
-
"_bundle/search-js-1",
|
|
204
|
-
"_bundle/search-css-0",
|
|
205
|
-
"_bundle/search-js-2",
|
|
206
|
-
"_bundle/search-css-1",
|
|
207
|
-
"autotitle.html",
|
|
208
|
-
"images.html",
|
|
209
|
-
"included-item.html",
|
|
210
|
-
"includes.html",
|
|
211
|
-
"index.html",
|
|
212
|
-
"latex.html",
|
|
213
|
-
"merge/merge.html",
|
|
214
|
-
"merge/merged.html",
|
|
215
|
-
"merge/toc.js",
|
|
216
|
-
"mermaid.html",
|
|
217
|
-
"openapi/index.html",
|
|
218
|
-
"openapi/test-controller/getWithPayloadResponse.html",
|
|
219
|
-
"openapi/test-controller/index.html",
|
|
220
|
-
"sub/folder/item-1.html",
|
|
221
|
-
"toc.js"
|
|
222
|
-
]"
|
|
165
|
+
exports[`Regression > internal 4`] = `
|
|
166
|
+
"---
|
|
167
|
+
metadata:
|
|
168
|
+
- name: generator
|
|
169
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
170
|
+
---
|
|
171
|
+
# Note 1
|
|
172
|
+
|
|
173
|
+
Note content 1
|
|
174
|
+
"
|
|
223
175
|
`;
|
|
224
176
|
|
|
225
|
-
exports[`Regression > internal
|
|
177
|
+
exports[`Regression > internal 5`] = `
|
|
178
|
+
"---
|
|
179
|
+
metadata:
|
|
180
|
+
- name: generator
|
|
181
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
182
|
+
---
|
|
183
|
+
Note content 1
|
|
226
184
|
"
|
|
227
|
-
<!DOCTYPE html>
|
|
228
|
-
<html lang="ru" dir="ltr">
|
|
229
|
-
<head>
|
|
230
|
-
<meta charset="utf-8">
|
|
231
|
-
<base href="./" />
|
|
232
|
-
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION" />
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
236
|
-
<title>Images</title>
|
|
237
|
-
<style type="text/css">
|
|
238
|
-
body {
|
|
239
|
-
height: 100vh;
|
|
240
|
-
}
|
|
241
|
-
</style>
|
|
242
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0" />
|
|
243
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1" />
|
|
244
|
-
|
|
245
|
-
</head>
|
|
246
|
-
<body class="g-root g-root_theme_light">
|
|
247
|
-
<div id="root"></div>
|
|
248
|
-
<script type="application/json" id="diplodoc-state">
|
|
249
|
-
{"data":{"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[],"title":"Images","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","leading":false},"router":{"pathname":"images","depth":1},"lang":"ru","langs":["ru"]}
|
|
250
|
-
</script>
|
|
251
|
-
<script type="application/javascript">
|
|
252
|
-
function unescapeJsonFromHtml(escaped) {
|
|
253
|
-
const unescaped = escaped.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
254
|
-
return JSON.parse(unescaped);
|
|
255
|
-
}
|
|
256
|
-
const data = document.querySelector('script#diplodoc-state');
|
|
257
|
-
window.__DATA__ = unescapeJsonFromHtml(data.innerText);
|
|
258
|
-
window.STATIC_CONTENT = false;
|
|
259
|
-
</script>
|
|
260
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
261
|
-
|
|
262
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
263
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
264
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
265
|
-
</body>
|
|
266
|
-
</html>
|
|
267
|
-
"
|
|
268
185
|
`;
|
|
269
186
|
|
|
270
|
-
exports[`Regression > internal
|
|
187
|
+
exports[`Regression > internal 6`] = `
|
|
188
|
+
"---
|
|
189
|
+
metadata:
|
|
190
|
+
- name: generator
|
|
191
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
192
|
+
---
|
|
193
|
+
# Sub note 1
|
|
194
|
+
|
|
195
|
+
Note content 1
|
|
196
|
+
"
|
|
197
|
+
`;
|
|
198
|
+
|
|
199
|
+
exports[`Regression > internal 7`] = `
|
|
200
|
+
"---
|
|
201
|
+
metadata:
|
|
202
|
+
- name: generator
|
|
203
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
204
|
+
---
|
|
205
|
+
# Sub note 2
|
|
206
|
+
|
|
207
|
+
Note content 2
|
|
208
|
+
"
|
|
209
|
+
`;
|
|
210
|
+
|
|
211
|
+
exports[`Regression > internal 8`] = `
|
|
271
212
|
"---
|
|
272
213
|
metadata:
|
|
273
214
|
- name: generator
|
|
@@ -285,52 +226,7 @@ metadata:
|
|
|
285
226
|
"
|
|
286
227
|
`;
|
|
287
228
|
|
|
288
|
-
exports[`Regression > internal
|
|
289
|
-
"
|
|
290
|
-
<!DOCTYPE html>
|
|
291
|
-
<html lang="ru" dir="ltr">
|
|
292
|
-
<head>
|
|
293
|
-
<meta charset="utf-8">
|
|
294
|
-
<base href="./" />
|
|
295
|
-
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION" />
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
299
|
-
<title>Included item</title>
|
|
300
|
-
<style type="text/css">
|
|
301
|
-
body {
|
|
302
|
-
height: 100vh;
|
|
303
|
-
}
|
|
304
|
-
</style>
|
|
305
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0" />
|
|
306
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1" />
|
|
307
|
-
|
|
308
|
-
</head>
|
|
309
|
-
<body class="g-root g-root_theme_light">
|
|
310
|
-
<div id="root"></div>
|
|
311
|
-
<script type="application/json" id="diplodoc-state">
|
|
312
|
-
{"data":{"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[],"title":"Included item","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","leading":false},"router":{"pathname":"included-item","depth":1},"lang":"ru","langs":["ru"]}
|
|
313
|
-
</script>
|
|
314
|
-
<script type="application/javascript">
|
|
315
|
-
function unescapeJsonFromHtml(escaped) {
|
|
316
|
-
const unescaped = escaped.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
317
|
-
return JSON.parse(unescaped);
|
|
318
|
-
}
|
|
319
|
-
const data = document.querySelector('script#diplodoc-state');
|
|
320
|
-
window.__DATA__ = unescapeJsonFromHtml(data.innerText);
|
|
321
|
-
window.STATIC_CONTENT = false;
|
|
322
|
-
</script>
|
|
323
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
324
|
-
|
|
325
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
326
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
327
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
328
|
-
</body>
|
|
329
|
-
</html>
|
|
330
|
-
"
|
|
331
|
-
`;
|
|
332
|
-
|
|
333
|
-
exports[`Regression > internal > included-item.md 1`] = `
|
|
229
|
+
exports[`Regression > internal 9`] = `
|
|
334
230
|
"---
|
|
335
231
|
metadata:
|
|
336
232
|
- name: generator
|
|
@@ -352,52 +248,7 @@ Included item text
|
|
|
352
248
|
"
|
|
353
249
|
`;
|
|
354
250
|
|
|
355
|
-
exports[`Regression > internal
|
|
356
|
-
"
|
|
357
|
-
<!DOCTYPE html>
|
|
358
|
-
<html lang="ru" dir="ltr">
|
|
359
|
-
<head>
|
|
360
|
-
<meta charset="utf-8">
|
|
361
|
-
<base href="./" />
|
|
362
|
-
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION" />
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
366
|
-
<title></title>
|
|
367
|
-
<style type="text/css">
|
|
368
|
-
body {
|
|
369
|
-
height: 100vh;
|
|
370
|
-
}
|
|
371
|
-
</style>
|
|
372
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0" />
|
|
373
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1" />
|
|
374
|
-
|
|
375
|
-
</head>
|
|
376
|
-
<body class="g-root g-root_theme_light">
|
|
377
|
-
<div id="root"></div>
|
|
378
|
-
<script type="application/json" id="diplodoc-state">
|
|
379
|
-
{"data":{"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[],"title":"","html":"<p>Text</p>/n<p>Bob</p>/n<p>Test</p>/n","leading":false},"router":{"pathname":"includes","depth":1},"lang":"ru","langs":["ru"]}
|
|
380
|
-
</script>
|
|
381
|
-
<script type="application/javascript">
|
|
382
|
-
function unescapeJsonFromHtml(escaped) {
|
|
383
|
-
const unescaped = escaped.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
384
|
-
return JSON.parse(unescaped);
|
|
385
|
-
}
|
|
386
|
-
const data = document.querySelector('script#diplodoc-state');
|
|
387
|
-
window.__DATA__ = unescapeJsonFromHtml(data.innerText);
|
|
388
|
-
window.STATIC_CONTENT = false;
|
|
389
|
-
</script>
|
|
390
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
391
|
-
|
|
392
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
393
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
394
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
395
|
-
</body>
|
|
396
|
-
</html>
|
|
397
|
-
"
|
|
398
|
-
`;
|
|
399
|
-
|
|
400
|
-
exports[`Regression > internal > includes.md 1`] = `
|
|
251
|
+
exports[`Regression > internal 10`] = `
|
|
401
252
|
"---
|
|
402
253
|
metadata:
|
|
403
254
|
- name: generator
|
|
@@ -405,68 +256,31 @@ metadata:
|
|
|
405
256
|
---
|
|
406
257
|
Text
|
|
407
258
|
|
|
408
|
-
{% include [user](includes/user.md) %}
|
|
259
|
+
{% include [user](includes/user-hash.md) %}
|
|
409
260
|
|
|
410
|
-
{% include [test](includes/test.md) %}
|
|
261
|
+
{% include [test](includes/test-hash.md) %}
|
|
262
|
+
|
|
263
|
+
<!--{% include [For includes/deep.md](includes/deep.md) %}-->
|
|
264
|
+
{% include [For includes/deep-hash.md](includes/deep-hash.md) %}
|
|
411
265
|
"
|
|
412
266
|
`;
|
|
413
267
|
|
|
414
|
-
exports[`Regression > internal
|
|
415
|
-
"
|
|
268
|
+
exports[`Regression > internal 11`] = `
|
|
269
|
+
"{% include [user](./user-hash.md) %}
|
|
416
270
|
"
|
|
417
271
|
`;
|
|
418
272
|
|
|
419
|
-
exports[`Regression > internal
|
|
420
|
-
"
|
|
273
|
+
exports[`Regression > internal 12`] = `
|
|
274
|
+
"Test
|
|
421
275
|
"
|
|
422
276
|
`;
|
|
423
277
|
|
|
424
|
-
exports[`Regression > internal
|
|
278
|
+
exports[`Regression > internal 13`] = `
|
|
279
|
+
"Bob
|
|
425
280
|
"
|
|
426
|
-
<!DOCTYPE html>
|
|
427
|
-
<html lang="ru" dir="ltr">
|
|
428
|
-
<head>
|
|
429
|
-
<meta charset="utf-8">
|
|
430
|
-
<base href="./" />
|
|
431
|
-
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION" />
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
435
|
-
<title></title>
|
|
436
|
-
<style type="text/css">
|
|
437
|
-
body {
|
|
438
|
-
height: 100vh;
|
|
439
|
-
}
|
|
440
|
-
</style>
|
|
441
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0" />
|
|
442
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1" />
|
|
443
|
-
|
|
444
|
-
</head>
|
|
445
|
-
<body class="g-root g-root_theme_light">
|
|
446
|
-
<div id="root"></div>
|
|
447
|
-
<script type="application/json" id="diplodoc-state">
|
|
448
|
-
{"data":{"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"}]}},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"title":"","leading":true},"router":{"pathname":"index","depth":1},"lang":"ru","langs":["ru"]}
|
|
449
|
-
</script>
|
|
450
|
-
<script type="application/javascript">
|
|
451
|
-
function unescapeJsonFromHtml(escaped) {
|
|
452
|
-
const unescaped = escaped.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
453
|
-
return JSON.parse(unescaped);
|
|
454
|
-
}
|
|
455
|
-
const data = document.querySelector('script#diplodoc-state');
|
|
456
|
-
window.__DATA__ = unescapeJsonFromHtml(data.innerText);
|
|
457
|
-
window.STATIC_CONTENT = false;
|
|
458
|
-
</script>
|
|
459
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
460
|
-
|
|
461
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
462
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
463
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
464
|
-
</body>
|
|
465
|
-
</html>
|
|
466
|
-
"
|
|
467
281
|
`;
|
|
468
282
|
|
|
469
|
-
exports[`Regression > internal
|
|
283
|
+
exports[`Regression > internal 14`] = `
|
|
470
284
|
"description:
|
|
471
285
|
- Some text
|
|
472
286
|
links:
|
|
@@ -481,53 +295,7 @@ meta:
|
|
|
481
295
|
"
|
|
482
296
|
`;
|
|
483
297
|
|
|
484
|
-
exports[`Regression > internal
|
|
485
|
-
"
|
|
486
|
-
<!DOCTYPE html>
|
|
487
|
-
<html lang="ru" dir="ltr">
|
|
488
|
-
<head>
|
|
489
|
-
<meta charset="utf-8">
|
|
490
|
-
<base href="./" />
|
|
491
|
-
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION" />
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
495
|
-
<title>Latex usage</title>
|
|
496
|
-
<style type="text/css">
|
|
497
|
-
body {
|
|
498
|
-
height: 100vh;
|
|
499
|
-
}
|
|
500
|
-
</style>
|
|
501
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0" />
|
|
502
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1" />
|
|
503
|
-
<link rel="stylesheet" type="text/css" href="_bundle/latex-extension.css" id="custom-style">
|
|
504
|
-
<script src="_bundle/latex-extension.js"></script>
|
|
505
|
-
</head>
|
|
506
|
-
<body class="g-root g-root_theme_light">
|
|
507
|
-
<div id="root"></div>
|
|
508
|
-
<script type="application/json" id="diplodoc-state">
|
|
509
|
-
{"data":{"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_bundle/latex-extension.css"],"script":["_bundle/latex-extension.js"]},"headings":[],"title":"Latex usage","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","leading":false},"router":{"pathname":"latex","depth":1},"lang":"ru","langs":["ru"]}
|
|
510
|
-
</script>
|
|
511
|
-
<script type="application/javascript">
|
|
512
|
-
function unescapeJsonFromHtml(escaped) {
|
|
513
|
-
const unescaped = escaped.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
514
|
-
return JSON.parse(unescaped);
|
|
515
|
-
}
|
|
516
|
-
const data = document.querySelector('script#diplodoc-state');
|
|
517
|
-
window.__DATA__ = unescapeJsonFromHtml(data.innerText);
|
|
518
|
-
window.STATIC_CONTENT = false;
|
|
519
|
-
</script>
|
|
520
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
521
|
-
|
|
522
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
523
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
524
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
525
|
-
</body>
|
|
526
|
-
</html>
|
|
527
|
-
"
|
|
528
|
-
`;
|
|
529
|
-
|
|
530
|
-
exports[`Regression > internal > latex.md 1`] = `
|
|
298
|
+
exports[`Regression > internal 15`] = `
|
|
531
299
|
"---
|
|
532
300
|
metadata:
|
|
533
301
|
- name: generator
|
|
@@ -539,52 +307,7 @@ $/sqrt{3x-1}+(1+x)^2$
|
|
|
539
307
|
"
|
|
540
308
|
`;
|
|
541
309
|
|
|
542
|
-
exports[`Regression > internal
|
|
543
|
-
"
|
|
544
|
-
<!DOCTYPE html>
|
|
545
|
-
<html lang="ru" dir="ltr">
|
|
546
|
-
<head>
|
|
547
|
-
<meta charset="utf-8">
|
|
548
|
-
<base href="../" />
|
|
549
|
-
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION" />
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
553
|
-
<title>Should use merged item</title>
|
|
554
|
-
<style type="text/css">
|
|
555
|
-
body {
|
|
556
|
-
height: 100vh;
|
|
557
|
-
}
|
|
558
|
-
</style>
|
|
559
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0" />
|
|
560
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1" />
|
|
561
|
-
|
|
562
|
-
</head>
|
|
563
|
-
<body class="g-root g-root_theme_light">
|
|
564
|
-
<div id="root"></div>
|
|
565
|
-
<script type="application/json" id="diplodoc-state">
|
|
566
|
-
{"data":{"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[],"title":"Should use merged item","html":"<p><a href=\\"merge/merged.html\\">merged</a></p>/n","leading":false},"router":{"pathname":"merge/merge","depth":2},"lang":"ru","langs":["ru"]}
|
|
567
|
-
</script>
|
|
568
|
-
<script type="application/javascript">
|
|
569
|
-
function unescapeJsonFromHtml(escaped) {
|
|
570
|
-
const unescaped = escaped.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
571
|
-
return JSON.parse(unescaped);
|
|
572
|
-
}
|
|
573
|
-
const data = document.querySelector('script#diplodoc-state');
|
|
574
|
-
window.__DATA__ = unescapeJsonFromHtml(data.innerText);
|
|
575
|
-
window.STATIC_CONTENT = false;
|
|
576
|
-
</script>
|
|
577
|
-
<script src="merge/toc.js" type="application/javascript"></script>
|
|
578
|
-
|
|
579
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
580
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
581
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
582
|
-
</body>
|
|
583
|
-
</html>
|
|
584
|
-
"
|
|
585
|
-
`;
|
|
586
|
-
|
|
587
|
-
exports[`Regression > internal > merge/merge.md 1`] = `
|
|
310
|
+
exports[`Regression > internal 16`] = `
|
|
588
311
|
"---
|
|
589
312
|
metadata:
|
|
590
313
|
- name: generator
|
|
@@ -596,58 +319,11 @@ metadata:
|
|
|
596
319
|
"
|
|
597
320
|
`;
|
|
598
321
|
|
|
599
|
-
exports[`Regression > internal
|
|
600
|
-
"
|
|
601
|
-
<!DOCTYPE html>
|
|
602
|
-
<html lang="ru" dir="ltr">
|
|
603
|
-
<head>
|
|
604
|
-
<meta charset="utf-8">
|
|
605
|
-
<base href="../" />
|
|
606
|
-
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION" />
|
|
607
|
-
<meta name="sourcePath" content="merge-source/merged.md" />
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
611
|
-
<title>Merged item</title>
|
|
612
|
-
<style type="text/css">
|
|
613
|
-
body {
|
|
614
|
-
height: 100vh;
|
|
615
|
-
}
|
|
616
|
-
</style>
|
|
617
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0" />
|
|
618
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1" />
|
|
619
|
-
|
|
620
|
-
</head>
|
|
621
|
-
<body class="g-root g-root_theme_light">
|
|
622
|
-
<div id="root"></div>
|
|
623
|
-
<script type="application/json" id="diplodoc-state">
|
|
624
|
-
{"data":{"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"sourcePath":"merge-source/merged.md"},"headings":[],"title":"Merged item","html":"<p>Should be linked in toc.yaml</p>/n","leading":false},"router":{"pathname":"merge/merged","depth":2},"lang":"ru","langs":["ru"]}
|
|
625
|
-
</script>
|
|
626
|
-
<script type="application/javascript">
|
|
627
|
-
function unescapeJsonFromHtml(escaped) {
|
|
628
|
-
const unescaped = escaped.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
629
|
-
return JSON.parse(unescaped);
|
|
630
|
-
}
|
|
631
|
-
const data = document.querySelector('script#diplodoc-state');
|
|
632
|
-
window.__DATA__ = unescapeJsonFromHtml(data.innerText);
|
|
633
|
-
window.STATIC_CONTENT = false;
|
|
634
|
-
</script>
|
|
635
|
-
<script src="merge/toc.js" type="application/javascript"></script>
|
|
636
|
-
|
|
637
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
638
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
639
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
640
|
-
</body>
|
|
641
|
-
</html>
|
|
642
|
-
"
|
|
643
|
-
`;
|
|
644
|
-
|
|
645
|
-
exports[`Regression > internal > merge/merged.md 1`] = `
|
|
322
|
+
exports[`Regression > internal 17`] = `
|
|
646
323
|
"---
|
|
647
324
|
metadata:
|
|
648
325
|
- name: generator
|
|
649
326
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
650
|
-
sourcePath: merge-source/merged.md
|
|
651
327
|
---
|
|
652
328
|
# Merged item
|
|
653
329
|
|
|
@@ -655,63 +331,17 @@ Should be linked in toc.yaml
|
|
|
655
331
|
"
|
|
656
332
|
`;
|
|
657
333
|
|
|
658
|
-
exports[`Regression > internal
|
|
659
|
-
|
|
660
|
-
exports[`Regression > internal > merge/toc.yaml 1`] = `
|
|
334
|
+
exports[`Regression > internal 18`] = `
|
|
661
335
|
"items:
|
|
662
336
|
- name: Use merged
|
|
663
337
|
href: merge.md
|
|
664
338
|
- name: Merged item
|
|
665
339
|
href: merged.md
|
|
340
|
+
path: merge/toc.yaml
|
|
666
341
|
"
|
|
667
342
|
`;
|
|
668
343
|
|
|
669
|
-
exports[`Regression > internal
|
|
670
|
-
"
|
|
671
|
-
<!DOCTYPE html>
|
|
672
|
-
<html lang="ru" dir="ltr">
|
|
673
|
-
<head>
|
|
674
|
-
<meta charset="utf-8">
|
|
675
|
-
<base href="./" />
|
|
676
|
-
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION" />
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
680
|
-
<title>Mermaid usage</title>
|
|
681
|
-
<style type="text/css">
|
|
682
|
-
body {
|
|
683
|
-
height: 100vh;
|
|
684
|
-
}
|
|
685
|
-
</style>
|
|
686
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0" />
|
|
687
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1" />
|
|
688
|
-
<script src="_bundle/mermaid-extension.js"></script>
|
|
689
|
-
</head>
|
|
690
|
-
<body class="g-root g-root_theme_light">
|
|
691
|
-
<div id="root"></div>
|
|
692
|
-
<script type="application/json" id="diplodoc-state">
|
|
693
|
-
{"data":{"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","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","leading":false},"router":{"pathname":"mermaid","depth":1},"lang":"ru","langs":["ru"]}
|
|
694
|
-
</script>
|
|
695
|
-
<script type="application/javascript">
|
|
696
|
-
function unescapeJsonFromHtml(escaped) {
|
|
697
|
-
const unescaped = escaped.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
698
|
-
return JSON.parse(unescaped);
|
|
699
|
-
}
|
|
700
|
-
const data = document.querySelector('script#diplodoc-state');
|
|
701
|
-
window.__DATA__ = unescapeJsonFromHtml(data.innerText);
|
|
702
|
-
window.STATIC_CONTENT = false;
|
|
703
|
-
</script>
|
|
704
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
705
|
-
|
|
706
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
707
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
708
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
709
|
-
</body>
|
|
710
|
-
</html>
|
|
711
|
-
"
|
|
712
|
-
`;
|
|
713
|
-
|
|
714
|
-
exports[`Regression > internal > mermaid.md 1`] = `
|
|
344
|
+
exports[`Regression > internal 19`] = `
|
|
715
345
|
"---
|
|
716
346
|
metadata:
|
|
717
347
|
- name: generator
|
|
@@ -733,53 +363,7 @@ Some mermaid info
|
|
|
733
363
|
"
|
|
734
364
|
`;
|
|
735
365
|
|
|
736
|
-
exports[`Regression > internal
|
|
737
|
-
"
|
|
738
|
-
<!DOCTYPE html>
|
|
739
|
-
<html lang="ru" dir="ltr">
|
|
740
|
-
<head>
|
|
741
|
-
<meta charset="utf-8">
|
|
742
|
-
<base href="../" />
|
|
743
|
-
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION" />
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
747
|
-
<title>OpenAPI definition</title>
|
|
748
|
-
<style type="text/css">
|
|
749
|
-
body {
|
|
750
|
-
height: 100vh;
|
|
751
|
-
}
|
|
752
|
-
</style>
|
|
753
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0" />
|
|
754
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1" />
|
|
755
|
-
<link rel="stylesheet" type="text/css" href="_assets/cut-extension.css" id="custom-style">
|
|
756
|
-
<script src="_assets/cut-extension.js"></script>
|
|
757
|
-
</head>
|
|
758
|
-
<body class="g-root g-root_theme_light">
|
|
759
|
-
<div id="root"></div>
|
|
760
|
-
<script type="application/json" id="diplodoc-state">
|
|
761
|
-
{"data":{"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","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>","leading":false},"router":{"pathname":"openapi/index","depth":2},"lang":"ru","langs":["ru"]}
|
|
762
|
-
</script>
|
|
763
|
-
<script type="application/javascript">
|
|
764
|
-
function unescapeJsonFromHtml(escaped) {
|
|
765
|
-
const unescaped = escaped.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
766
|
-
return JSON.parse(unescaped);
|
|
767
|
-
}
|
|
768
|
-
const data = document.querySelector('script#diplodoc-state');
|
|
769
|
-
window.__DATA__ = unescapeJsonFromHtml(data.innerText);
|
|
770
|
-
window.STATIC_CONTENT = false;
|
|
771
|
-
</script>
|
|
772
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
773
|
-
|
|
774
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
775
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
776
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
777
|
-
</body>
|
|
778
|
-
</html>
|
|
779
|
-
"
|
|
780
|
-
`;
|
|
781
|
-
|
|
782
|
-
exports[`Regression > internal > openapi/index.md 1`] = `
|
|
366
|
+
exports[`Regression > internal 20`] = `
|
|
783
367
|
"---
|
|
784
368
|
metadata:
|
|
785
369
|
- name: generator
|
|
@@ -878,53 +462,7 @@ metadata:
|
|
|
878
462
|
<!-- markdownlint-disable-file -->"
|
|
879
463
|
`;
|
|
880
464
|
|
|
881
|
-
exports[`Regression > internal
|
|
882
|
-
"
|
|
883
|
-
<!DOCTYPE html>
|
|
884
|
-
<html lang="ru" dir="ltr">
|
|
885
|
-
<head>
|
|
886
|
-
<meta charset="utf-8">
|
|
887
|
-
<base href="../../" />
|
|
888
|
-
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION" />
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
892
|
-
<title></title>
|
|
893
|
-
<style type="text/css">
|
|
894
|
-
body {
|
|
895
|
-
height: 100vh;
|
|
896
|
-
}
|
|
897
|
-
</style>
|
|
898
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0" />
|
|
899
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1" />
|
|
900
|
-
<link rel="stylesheet" type="text/css" href="_assets/cut-extension.css" id="custom-style">
|
|
901
|
-
<script src="_assets/cut-extension.js"></script>
|
|
902
|
-
</head>
|
|
903
|
-
<body class="g-root g-root_theme_light">
|
|
904
|
-
<div id="root"></div>
|
|
905
|
-
<script type="application/json" id="diplodoc-state">
|
|
906
|
-
{"data":{"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/cut-extension.css"],"script":["_assets/cut-extension.js"]},"headings":[{"title":"Request","href":"openapi/test-controller/getWithPayloadResponse.html#request","level":2},{"title":"Responses","href":"openapi/test-controller/getWithPayloadResponse.html#responses","level":2},{"title":"200 OK","href":"openapi/test-controller/getWithPayloadResponse.html#200-ok","level":2,"items":[{"title":"Body","href":"openapi/test-controller/getWithPayloadResponse.html#body","level":3}]}],"title":"","html":"<div class=\\"openapi\\">/n<h1>Simple get operation. тест новой верстки 3</h1>/n<p>Defines a simple get operation with no inputs and a complex</p>/n<h2 id=\\"request\\"><a href=\\"openapi/test-controller/getWithPayloadResponse.html#request\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Request</span></a>Request</h2>/n<div class=\\"openapi__requests\\">/n<div class=\\"openapi__request__wrapper\\" style=\\"--method:var(--dc-openapi-methods-get);margin-bottom:12px\\">/n<div class=\\"openapi__request\\">/n<p class=\\"openapi__method\\">GET</p>/n/n <div class=\\"yfm-clipboard\\">/n <pre><code class=\\"hljs text\\">http://localhost:8080/test/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=\\"16\\">/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-16\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-16\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-16.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n</div>/n<p>Generated server url</p>/n</div>/n</div>/n<h2 id=\\"responses\\"><a href=\\"openapi/test-controller/getWithPayloadResponse.html#responses\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Responses</span></a>Responses</h2>/n<div class=\\"openapi__response__code__200\\">/n<h2 id=\\"200-ok\\"><a href=\\"openapi/test-controller/getWithPayloadResponse.html#200-ok\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">200 OK</span></a>200 OK</h2>/n<p>200!!!!</p>/n<div class=\\"openapi-entity\\">/n<h3 id=\\"body\\"><a href=\\"openapi/test-controller/getWithPayloadResponse.html#body\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Body</span></a>Body</h3>/n<details class=\\"yfm-cut\\"><summary class=\\"yfm-cut-title\\">application/json</summary><div class=\\"yfm-cut-content\\">/n <div class=\\"yfm-clipboard\\">/n <pre><code class=\\"hljs json\\"><span class=\\"hljs-punctuation\\">{</span>/n <span class=\\"hljs-attr\\">\\"A\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-string\\">\\"string\\"</span>/n<span class=\\"hljs-punctuation\\">}</span>/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=\\"42\\">/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-42\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-42\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-42.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n</div></details><table>/n<tbody>/n<tr>/n<td>/n<p><strong>Name</strong></p>/n</td>/n<td>/n<p><strong>Description</strong></p>/n</td>/n</tr>/n<tr>/n<td class=\\"openapi-table-parameter-name\\">/n<p>A</p>/n</td>/n<td>/n<p><strong>Type:</strong> string</p>/n</td>/n</tr>/n</tbody>/n</table>/n</div>/n</div>/n/n</div>/n<dfn class=\\"yfm yfm-term_dfn\\" id=\\":Deprecated_element\\" role=\\"dialog\\"><p>No longer supported, please use an alternative and newer version.</p>/n</dfn>","leading":false},"router":{"pathname":"openapi/test-controller/getWithPayloadResponse","depth":3},"lang":"ru","langs":["ru"]}
|
|
907
|
-
</script>
|
|
908
|
-
<script type="application/javascript">
|
|
909
|
-
function unescapeJsonFromHtml(escaped) {
|
|
910
|
-
const unescaped = escaped.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
911
|
-
return JSON.parse(unescaped);
|
|
912
|
-
}
|
|
913
|
-
const data = document.querySelector('script#diplodoc-state');
|
|
914
|
-
window.__DATA__ = unescapeJsonFromHtml(data.innerText);
|
|
915
|
-
window.STATIC_CONTENT = false;
|
|
916
|
-
</script>
|
|
917
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
918
|
-
|
|
919
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
920
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
921
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
922
|
-
</body>
|
|
923
|
-
</html>
|
|
924
|
-
"
|
|
925
|
-
`;
|
|
926
|
-
|
|
927
|
-
exports[`Regression > internal > openapi/test-controller/getWithPayloadResponse.md 1`] = `
|
|
465
|
+
exports[`Regression > internal 21`] = `
|
|
928
466
|
"---
|
|
929
467
|
metadata:
|
|
930
468
|
- name: generator
|
|
@@ -1008,52 +546,7 @@ Generated server url
|
|
|
1008
546
|
[*Deprecated]: No longer supported, please use an alternative and newer version."
|
|
1009
547
|
`;
|
|
1010
548
|
|
|
1011
|
-
exports[`Regression > internal
|
|
1012
|
-
"
|
|
1013
|
-
<!DOCTYPE html>
|
|
1014
|
-
<html lang="ru" dir="ltr">
|
|
1015
|
-
<head>
|
|
1016
|
-
<meta charset="utf-8">
|
|
1017
|
-
<base href="../../" />
|
|
1018
|
-
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION" />
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1022
|
-
<title>test-controller</title>
|
|
1023
|
-
<style type="text/css">
|
|
1024
|
-
body {
|
|
1025
|
-
height: 100vh;
|
|
1026
|
-
}
|
|
1027
|
-
</style>
|
|
1028
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0" />
|
|
1029
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1" />
|
|
1030
|
-
|
|
1031
|
-
</head>
|
|
1032
|
-
<body class="g-root g-root_theme_light">
|
|
1033
|
-
<div id="root"></div>
|
|
1034
|
-
<script type="application/json" id="diplodoc-state">
|
|
1035
|
-
{"data":{"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[{"title":"Endpoints","href":"openapi/test-controller/index.html#endpoints","level":2}],"title":"test-controller","html":"<h2 id=\\"endpoints\\"><a href=\\"openapi/test-controller/index.html#endpoints\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Endpoints</span></a>Endpoints</h2>/n<ul>/n<li><a href=\\"openapi/test-controller/getWithPayloadResponse.html\\">Simple get operation. тест новой верстки 3</a></li>/n</ul>/n","leading":false},"router":{"pathname":"openapi/test-controller/index","depth":3},"lang":"ru","langs":["ru"]}
|
|
1036
|
-
</script>
|
|
1037
|
-
<script type="application/javascript">
|
|
1038
|
-
function unescapeJsonFromHtml(escaped) {
|
|
1039
|
-
const unescaped = escaped.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1040
|
-
return JSON.parse(unescaped);
|
|
1041
|
-
}
|
|
1042
|
-
const data = document.querySelector('script#diplodoc-state');
|
|
1043
|
-
window.__DATA__ = unescapeJsonFromHtml(data.innerText);
|
|
1044
|
-
window.STATIC_CONTENT = false;
|
|
1045
|
-
</script>
|
|
1046
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
1047
|
-
|
|
1048
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
1049
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
1050
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
1051
|
-
</body>
|
|
1052
|
-
</html>
|
|
1053
|
-
"
|
|
1054
|
-
`;
|
|
1055
|
-
|
|
1056
|
-
exports[`Regression > internal > openapi/test-controller/index.md 1`] = `
|
|
549
|
+
exports[`Regression > internal 22`] = `
|
|
1057
550
|
"---
|
|
1058
551
|
metadata:
|
|
1059
552
|
- name: generator
|
|
@@ -1068,52 +561,17 @@ metadata:
|
|
|
1068
561
|
<!-- markdownlint-disable-file -->"
|
|
1069
562
|
`;
|
|
1070
563
|
|
|
1071
|
-
exports[`Regression > internal
|
|
564
|
+
exports[`Regression > internal 23`] = `
|
|
565
|
+
"files:
|
|
566
|
+
- from: c.md
|
|
567
|
+
to: d.md
|
|
568
|
+
common:
|
|
569
|
+
- from: ./a.md
|
|
570
|
+
to: ./b.md
|
|
1072
571
|
"
|
|
1073
|
-
<!DOCTYPE html>
|
|
1074
|
-
<html lang="ru" dir="ltr">
|
|
1075
|
-
<head>
|
|
1076
|
-
<meta charset="utf-8">
|
|
1077
|
-
<base href="../../" />
|
|
1078
|
-
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION" />
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1082
|
-
<title>Item 1</title>
|
|
1083
|
-
<style type="text/css">
|
|
1084
|
-
body {
|
|
1085
|
-
height: 100vh;
|
|
1086
|
-
}
|
|
1087
|
-
</style>
|
|
1088
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0" />
|
|
1089
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1" />
|
|
1090
|
-
|
|
1091
|
-
</head>
|
|
1092
|
-
<body class="g-root g-root_theme_light">
|
|
1093
|
-
<div id="root"></div>
|
|
1094
|
-
<script type="application/json" id="diplodoc-state">
|
|
1095
|
-
{"data":{"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[],"title":"Item 1","html":"<p>Item 1 text</p>/n<p><a href=\\"images.html\\">Images</a></p>/n","leading":false},"router":{"pathname":"sub/folder/item-1","depth":3},"lang":"ru","langs":["ru"]}
|
|
1096
|
-
</script>
|
|
1097
|
-
<script type="application/javascript">
|
|
1098
|
-
function unescapeJsonFromHtml(escaped) {
|
|
1099
|
-
const unescaped = escaped.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1100
|
-
return JSON.parse(unescaped);
|
|
1101
|
-
}
|
|
1102
|
-
const data = document.querySelector('script#diplodoc-state');
|
|
1103
|
-
window.__DATA__ = unescapeJsonFromHtml(data.innerText);
|
|
1104
|
-
window.STATIC_CONTENT = false;
|
|
1105
|
-
</script>
|
|
1106
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
1107
|
-
|
|
1108
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
1109
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
1110
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
1111
|
-
</body>
|
|
1112
|
-
</html>
|
|
1113
|
-
"
|
|
1114
572
|
`;
|
|
1115
573
|
|
|
1116
|
-
exports[`Regression > internal
|
|
574
|
+
exports[`Regression > internal 24`] = `
|
|
1117
575
|
"---
|
|
1118
576
|
metadata:
|
|
1119
577
|
- name: generator
|
|
@@ -1127,9 +585,7 @@ Item 1 text
|
|
|
1127
585
|
"
|
|
1128
586
|
`;
|
|
1129
587
|
|
|
1130
|
-
exports[`Regression > internal
|
|
1131
|
-
|
|
1132
|
-
exports[`Regression > internal > toc.yaml 1`] = `
|
|
588
|
+
exports[`Regression > internal 25`] = `
|
|
1133
589
|
"items:
|
|
1134
590
|
- name: Verbose root (index.yaml) will be transformed to index.html
|
|
1135
591
|
href: index.yaml
|
|
@@ -1146,9 +602,9 @@ exports[`Regression > internal > toc.yaml 1`] = `
|
|
|
1146
602
|
items:
|
|
1147
603
|
- name: Item 1
|
|
1148
604
|
href: sub/folder/item-1.md
|
|
1149
|
-
-
|
|
1150
|
-
|
|
1151
|
-
- name: Latex
|
|
605
|
+
- href: mermaid.md
|
|
606
|
+
name: Mermaid usage
|
|
607
|
+
- name: Latex usage
|
|
1152
608
|
href: latex.md
|
|
1153
609
|
- name: Images
|
|
1154
610
|
href: images.md
|
|
@@ -1156,6 +612,20 @@ exports[`Regression > internal > toc.yaml 1`] = `
|
|
|
1156
612
|
href: autotitle.md
|
|
1157
613
|
- name: includes
|
|
1158
614
|
href: includes.md
|
|
615
|
+
- name: generic
|
|
616
|
+
items:
|
|
617
|
+
- name: Note 1
|
|
618
|
+
href: generic/1.md
|
|
619
|
+
- name: Note 1
|
|
620
|
+
href: generic/2.md
|
|
621
|
+
- name: '3'
|
|
622
|
+
href: generic/3.md
|
|
623
|
+
- name: Sub notes
|
|
624
|
+
items:
|
|
625
|
+
- name: Sub note 1
|
|
626
|
+
href: generic/Sub notes/1.md
|
|
627
|
+
- name: Sub note 2
|
|
628
|
+
href: generic/Sub notes/2.md
|
|
1159
629
|
- name: openapi
|
|
1160
630
|
items:
|
|
1161
631
|
- name: Overview
|
|
@@ -1166,5 +636,726 @@ exports[`Regression > internal > toc.yaml 1`] = `
|
|
|
1166
636
|
href: openapi/test-controller/index.md
|
|
1167
637
|
- href: openapi/test-controller/getWithPayloadResponse.md
|
|
1168
638
|
name: Simple get operation. тест новой верстки 3
|
|
639
|
+
path: toc.yaml
|
|
1169
640
|
"
|
|
1170
641
|
`;
|
|
642
|
+
|
|
643
|
+
exports[`Regression > internal 26`] = `
|
|
644
|
+
"<!DOCTYPE html>
|
|
645
|
+
<html lang="ru" dir="ltr">
|
|
646
|
+
<head>
|
|
647
|
+
<meta charset="utf-8">
|
|
648
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
649
|
+
<base href="./" />
|
|
650
|
+
<title>Title</title>
|
|
651
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
652
|
+
|
|
653
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
654
|
+
|
|
655
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
656
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
657
|
+
</head>
|
|
658
|
+
<body class="g-root g-root_theme_light">
|
|
659
|
+
<div id="root"></div>
|
|
660
|
+
<script type="application/json" id="diplodoc-state">
|
|
661
|
+
{"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"]}
|
|
662
|
+
</script>
|
|
663
|
+
<script type="application/javascript">
|
|
664
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
665
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
666
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
667
|
+
})(data.innerText));
|
|
668
|
+
window.STATIC_CONTENT = false;
|
|
669
|
+
</script>
|
|
670
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
671
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
672
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
673
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
674
|
+
|
|
675
|
+
</body>
|
|
676
|
+
</html>"
|
|
677
|
+
`;
|
|
678
|
+
|
|
679
|
+
exports[`Regression > internal 27`] = `
|
|
680
|
+
"<!DOCTYPE html>
|
|
681
|
+
<html lang="ru" dir="ltr">
|
|
682
|
+
<head>
|
|
683
|
+
<meta charset="utf-8">
|
|
684
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
685
|
+
<base href="./" />
|
|
686
|
+
<title>Autotitles</title>
|
|
687
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
688
|
+
|
|
689
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
690
|
+
|
|
691
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
692
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
693
|
+
</head>
|
|
694
|
+
<body class="g-root g-root_theme_light">
|
|
695
|
+
<div id="root"></div>
|
|
696
|
+
<script type="application/json" id="diplodoc-state">
|
|
697
|
+
{"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"]}
|
|
698
|
+
</script>
|
|
699
|
+
<script type="application/javascript">
|
|
700
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
701
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
702
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
703
|
+
})(data.innerText));
|
|
704
|
+
window.STATIC_CONTENT = false;
|
|
705
|
+
</script>
|
|
706
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
707
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
708
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
709
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
710
|
+
|
|
711
|
+
</body>
|
|
712
|
+
</html>"
|
|
713
|
+
`;
|
|
714
|
+
|
|
715
|
+
exports[`Regression > internal 28`] = `
|
|
716
|
+
"<!DOCTYPE html>
|
|
717
|
+
<html lang="ru" dir="ltr">
|
|
718
|
+
<head>
|
|
719
|
+
<meta charset="utf-8">
|
|
720
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
721
|
+
<base href="./" />
|
|
722
|
+
<title>Redirect to d.md</title>
|
|
723
|
+
<meta http-equiv="refresh" content="0; url=d.md">
|
|
724
|
+
|
|
725
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
726
|
+
<script type="application/javascript">
|
|
727
|
+
window.location.replace("d.md");
|
|
728
|
+
</script>
|
|
729
|
+
|
|
730
|
+
</head>
|
|
731
|
+
<body class="g-root g-root_theme_light">
|
|
732
|
+
If you are not redirected automatically, follow this <a href="d.md">link</a>.
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
</body>
|
|
737
|
+
</html>"
|
|
738
|
+
`;
|
|
739
|
+
|
|
740
|
+
exports[`Regression > internal 29`] = `
|
|
741
|
+
"<!DOCTYPE html>
|
|
742
|
+
<html lang="ru" dir="ltr">
|
|
743
|
+
<head>
|
|
744
|
+
<meta charset="utf-8">
|
|
745
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
746
|
+
<base href="../" />
|
|
747
|
+
<title>Note 1</title>
|
|
748
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
749
|
+
|
|
750
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
751
|
+
|
|
752
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
753
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
754
|
+
</head>
|
|
755
|
+
<body class="g-root g-root_theme_light">
|
|
756
|
+
<div id="root"></div>
|
|
757
|
+
<script type="application/json" id="diplodoc-state">
|
|
758
|
+
{"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"]}
|
|
759
|
+
</script>
|
|
760
|
+
<script type="application/javascript">
|
|
761
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
762
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
763
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
764
|
+
})(data.innerText));
|
|
765
|
+
window.STATIC_CONTENT = false;
|
|
766
|
+
</script>
|
|
767
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
768
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
769
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
770
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
771
|
+
|
|
772
|
+
</body>
|
|
773
|
+
</html>"
|
|
774
|
+
`;
|
|
775
|
+
|
|
776
|
+
exports[`Regression > internal 30`] = `
|
|
777
|
+
"<!DOCTYPE html>
|
|
778
|
+
<html lang="ru" dir="ltr">
|
|
779
|
+
<head>
|
|
780
|
+
<meta charset="utf-8">
|
|
781
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
782
|
+
<base href="../" />
|
|
783
|
+
<title>Note 1</title>
|
|
784
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
785
|
+
|
|
786
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
787
|
+
|
|
788
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
789
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
790
|
+
</head>
|
|
791
|
+
<body class="g-root g-root_theme_light">
|
|
792
|
+
<div id="root"></div>
|
|
793
|
+
<script type="application/json" id="diplodoc-state">
|
|
794
|
+
{"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"]}
|
|
795
|
+
</script>
|
|
796
|
+
<script type="application/javascript">
|
|
797
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
798
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
799
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
800
|
+
})(data.innerText));
|
|
801
|
+
window.STATIC_CONTENT = false;
|
|
802
|
+
</script>
|
|
803
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
804
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
805
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
806
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
807
|
+
|
|
808
|
+
</body>
|
|
809
|
+
</html>"
|
|
810
|
+
`;
|
|
811
|
+
|
|
812
|
+
exports[`Regression > internal 31`] = `
|
|
813
|
+
"<!DOCTYPE html>
|
|
814
|
+
<html lang="ru" dir="ltr">
|
|
815
|
+
<head>
|
|
816
|
+
<meta charset="utf-8">
|
|
817
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
818
|
+
<base href="../" />
|
|
819
|
+
<title></title>
|
|
820
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
821
|
+
|
|
822
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
823
|
+
|
|
824
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
825
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
826
|
+
</head>
|
|
827
|
+
<body class="g-root g-root_theme_light">
|
|
828
|
+
<div id="root"></div>
|
|
829
|
+
<script type="application/json" id="diplodoc-state">
|
|
830
|
+
{"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"]}
|
|
831
|
+
</script>
|
|
832
|
+
<script type="application/javascript">
|
|
833
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
834
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
835
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
836
|
+
})(data.innerText));
|
|
837
|
+
window.STATIC_CONTENT = false;
|
|
838
|
+
</script>
|
|
839
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
840
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
841
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
842
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
843
|
+
|
|
844
|
+
</body>
|
|
845
|
+
</html>"
|
|
846
|
+
`;
|
|
847
|
+
|
|
848
|
+
exports[`Regression > internal 32`] = `
|
|
849
|
+
"<!DOCTYPE html>
|
|
850
|
+
<html lang="ru" dir="ltr">
|
|
851
|
+
<head>
|
|
852
|
+
<meta charset="utf-8">
|
|
853
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
854
|
+
<base href="../../" />
|
|
855
|
+
<title>Sub note 1</title>
|
|
856
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
857
|
+
|
|
858
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
859
|
+
|
|
860
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
861
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
862
|
+
</head>
|
|
863
|
+
<body class="g-root g-root_theme_light">
|
|
864
|
+
<div id="root"></div>
|
|
865
|
+
<script type="application/json" id="diplodoc-state">
|
|
866
|
+
{"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"]}
|
|
867
|
+
</script>
|
|
868
|
+
<script type="application/javascript">
|
|
869
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
870
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
871
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
872
|
+
})(data.innerText));
|
|
873
|
+
window.STATIC_CONTENT = false;
|
|
874
|
+
</script>
|
|
875
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
876
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
877
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
878
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
879
|
+
|
|
880
|
+
</body>
|
|
881
|
+
</html>"
|
|
882
|
+
`;
|
|
883
|
+
|
|
884
|
+
exports[`Regression > internal 33`] = `
|
|
885
|
+
"<!DOCTYPE html>
|
|
886
|
+
<html lang="ru" dir="ltr">
|
|
887
|
+
<head>
|
|
888
|
+
<meta charset="utf-8">
|
|
889
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
890
|
+
<base href="../../" />
|
|
891
|
+
<title>Sub note 2</title>
|
|
892
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
893
|
+
|
|
894
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
895
|
+
|
|
896
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
897
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
898
|
+
</head>
|
|
899
|
+
<body class="g-root g-root_theme_light">
|
|
900
|
+
<div id="root"></div>
|
|
901
|
+
<script type="application/json" id="diplodoc-state">
|
|
902
|
+
{"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"]}
|
|
903
|
+
</script>
|
|
904
|
+
<script type="application/javascript">
|
|
905
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
906
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
907
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
908
|
+
})(data.innerText));
|
|
909
|
+
window.STATIC_CONTENT = false;
|
|
910
|
+
</script>
|
|
911
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
912
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
913
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
914
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
915
|
+
|
|
916
|
+
</body>
|
|
917
|
+
</html>"
|
|
918
|
+
`;
|
|
919
|
+
|
|
920
|
+
exports[`Regression > internal 34`] = `
|
|
921
|
+
"<!DOCTYPE html>
|
|
922
|
+
<html lang="ru" dir="ltr">
|
|
923
|
+
<head>
|
|
924
|
+
<meta charset="utf-8">
|
|
925
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
926
|
+
<base href="./" />
|
|
927
|
+
<title>Images</title>
|
|
928
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
929
|
+
|
|
930
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
931
|
+
|
|
932
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
933
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
934
|
+
</head>
|
|
935
|
+
<body class="g-root g-root_theme_light">
|
|
936
|
+
<div id="root"></div>
|
|
937
|
+
<script type="application/json" id="diplodoc-state">
|
|
938
|
+
{"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","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[],"title":"Images"},"router":{"pathname":"images","depth":1,"base":"./"},"lang":"ru","langs":["ru"]}
|
|
939
|
+
</script>
|
|
940
|
+
<script type="application/javascript">
|
|
941
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
942
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
943
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
944
|
+
})(data.innerText));
|
|
945
|
+
window.STATIC_CONTENT = false;
|
|
946
|
+
</script>
|
|
947
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
948
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
949
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
950
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
951
|
+
|
|
952
|
+
</body>
|
|
953
|
+
</html>"
|
|
954
|
+
`;
|
|
955
|
+
|
|
956
|
+
exports[`Regression > internal 35`] = `
|
|
957
|
+
"<!DOCTYPE html>
|
|
958
|
+
<html lang="ru" dir="ltr">
|
|
959
|
+
<head>
|
|
960
|
+
<meta charset="utf-8">
|
|
961
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
962
|
+
<base href="./" />
|
|
963
|
+
<title>Included item</title>
|
|
964
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
965
|
+
|
|
966
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
967
|
+
|
|
968
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
969
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
970
|
+
</head>
|
|
971
|
+
<body class="g-root g-root_theme_light">
|
|
972
|
+
<div id="root"></div>
|
|
973
|
+
<script type="application/json" id="diplodoc-state">
|
|
974
|
+
{"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"]}
|
|
975
|
+
</script>
|
|
976
|
+
<script type="application/javascript">
|
|
977
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
978
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
979
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
980
|
+
})(data.innerText));
|
|
981
|
+
window.STATIC_CONTENT = false;
|
|
982
|
+
</script>
|
|
983
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
984
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
985
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
986
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
987
|
+
|
|
988
|
+
</body>
|
|
989
|
+
</html>"
|
|
990
|
+
`;
|
|
991
|
+
|
|
992
|
+
exports[`Regression > internal 36`] = `
|
|
993
|
+
"<!DOCTYPE html>
|
|
994
|
+
<html lang="ru" dir="ltr">
|
|
995
|
+
<head>
|
|
996
|
+
<meta charset="utf-8">
|
|
997
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
998
|
+
<base href="./" />
|
|
999
|
+
<title></title>
|
|
1000
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1001
|
+
|
|
1002
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1003
|
+
|
|
1004
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
1005
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1006
|
+
</head>
|
|
1007
|
+
<body class="g-root g-root_theme_light">
|
|
1008
|
+
<div id="root"></div>
|
|
1009
|
+
<script type="application/json" id="diplodoc-state">
|
|
1010
|
+
{"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"]}
|
|
1011
|
+
</script>
|
|
1012
|
+
<script type="application/javascript">
|
|
1013
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1014
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1015
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1016
|
+
})(data.innerText));
|
|
1017
|
+
window.STATIC_CONTENT = false;
|
|
1018
|
+
</script>
|
|
1019
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
1020
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
1021
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
1022
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
1023
|
+
|
|
1024
|
+
</body>
|
|
1025
|
+
</html>"
|
|
1026
|
+
`;
|
|
1027
|
+
|
|
1028
|
+
exports[`Regression > internal 37`] = `
|
|
1029
|
+
"<!DOCTYPE html>
|
|
1030
|
+
<html lang="ru" dir="ltr">
|
|
1031
|
+
<head>
|
|
1032
|
+
<meta charset="utf-8">
|
|
1033
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1034
|
+
<base href="./" />
|
|
1035
|
+
<title></title>
|
|
1036
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1037
|
+
|
|
1038
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1039
|
+
|
|
1040
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
1041
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1042
|
+
</head>
|
|
1043
|
+
<body class="g-root g-root_theme_light">
|
|
1044
|
+
<div id="root"></div>
|
|
1045
|
+
<script type="application/json" id="diplodoc-state">
|
|
1046
|
+
{"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"]}
|
|
1047
|
+
</script>
|
|
1048
|
+
<script type="application/javascript">
|
|
1049
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1050
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1051
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1052
|
+
})(data.innerText));
|
|
1053
|
+
window.STATIC_CONTENT = false;
|
|
1054
|
+
</script>
|
|
1055
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
1056
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
1057
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
1058
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
1059
|
+
|
|
1060
|
+
</body>
|
|
1061
|
+
</html>"
|
|
1062
|
+
`;
|
|
1063
|
+
|
|
1064
|
+
exports[`Regression > internal 38`] = `
|
|
1065
|
+
"<!DOCTYPE html>
|
|
1066
|
+
<html lang="ru" dir="ltr">
|
|
1067
|
+
<head>
|
|
1068
|
+
<meta charset="utf-8">
|
|
1069
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1070
|
+
<base href="./" />
|
|
1071
|
+
<title>Latex usage</title>
|
|
1072
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1073
|
+
|
|
1074
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1075
|
+
|
|
1076
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
1077
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1078
|
+
<link type="text/css" rel="stylesheet" href="_bundle/latex-extension.css"/>
|
|
1079
|
+
</head>
|
|
1080
|
+
<body class="g-root g-root_theme_light">
|
|
1081
|
+
<div id="root"></div>
|
|
1082
|
+
<script type="application/json" id="diplodoc-state">
|
|
1083
|
+
{"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"]}
|
|
1084
|
+
</script>
|
|
1085
|
+
<script type="application/javascript">
|
|
1086
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1087
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1088
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1089
|
+
})(data.innerText));
|
|
1090
|
+
window.STATIC_CONTENT = false;
|
|
1091
|
+
</script>
|
|
1092
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
1093
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
1094
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
1095
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
1096
|
+
<script type="application/javascript" defer src="_bundle/latex-extension.js"></script>
|
|
1097
|
+
|
|
1098
|
+
</body>
|
|
1099
|
+
</html>"
|
|
1100
|
+
`;
|
|
1101
|
+
|
|
1102
|
+
exports[`Regression > internal 39`] = `
|
|
1103
|
+
"<!DOCTYPE html>
|
|
1104
|
+
<html lang="ru" dir="ltr">
|
|
1105
|
+
<head>
|
|
1106
|
+
<meta charset="utf-8">
|
|
1107
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1108
|
+
<base href="../" />
|
|
1109
|
+
<title>Should use merged item</title>
|
|
1110
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1111
|
+
|
|
1112
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1113
|
+
|
|
1114
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
1115
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1116
|
+
</head>
|
|
1117
|
+
<body class="g-root g-root_theme_light">
|
|
1118
|
+
<div id="root"></div>
|
|
1119
|
+
<script type="application/json" id="diplodoc-state">
|
|
1120
|
+
{"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"]}
|
|
1121
|
+
</script>
|
|
1122
|
+
<script type="application/javascript">
|
|
1123
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1124
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1125
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1126
|
+
})(data.innerText));
|
|
1127
|
+
window.STATIC_CONTENT = false;
|
|
1128
|
+
</script>
|
|
1129
|
+
<script type="application/javascript" defer src="merge/toc.js"></script>
|
|
1130
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
1131
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
1132
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
1133
|
+
|
|
1134
|
+
</body>
|
|
1135
|
+
</html>"
|
|
1136
|
+
`;
|
|
1137
|
+
|
|
1138
|
+
exports[`Regression > internal 40`] = `
|
|
1139
|
+
"<!DOCTYPE html>
|
|
1140
|
+
<html lang="ru" dir="ltr">
|
|
1141
|
+
<head>
|
|
1142
|
+
<meta charset="utf-8">
|
|
1143
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1144
|
+
<base href="../" />
|
|
1145
|
+
<title>Merged item</title>
|
|
1146
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1147
|
+
|
|
1148
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1149
|
+
|
|
1150
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
1151
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1152
|
+
</head>
|
|
1153
|
+
<body class="g-root g-root_theme_light">
|
|
1154
|
+
<div id="root"></div>
|
|
1155
|
+
<script type="application/json" id="diplodoc-state">
|
|
1156
|
+
{"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"]}
|
|
1157
|
+
</script>
|
|
1158
|
+
<script type="application/javascript">
|
|
1159
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1160
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1161
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1162
|
+
})(data.innerText));
|
|
1163
|
+
window.STATIC_CONTENT = false;
|
|
1164
|
+
</script>
|
|
1165
|
+
<script type="application/javascript" defer src="merge/toc.js"></script>
|
|
1166
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
1167
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
1168
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
1169
|
+
|
|
1170
|
+
</body>
|
|
1171
|
+
</html>"
|
|
1172
|
+
`;
|
|
1173
|
+
|
|
1174
|
+
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"};"`;
|
|
1175
|
+
|
|
1176
|
+
exports[`Regression > internal 42`] = `
|
|
1177
|
+
"<!DOCTYPE html>
|
|
1178
|
+
<html lang="ru" dir="ltr">
|
|
1179
|
+
<head>
|
|
1180
|
+
<meta charset="utf-8">
|
|
1181
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1182
|
+
<base href="./" />
|
|
1183
|
+
<title>Mermaid usage</title>
|
|
1184
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1185
|
+
|
|
1186
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1187
|
+
|
|
1188
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
1189
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1190
|
+
</head>
|
|
1191
|
+
<body class="g-root g-root_theme_light">
|
|
1192
|
+
<div id="root"></div>
|
|
1193
|
+
<script type="application/json" id="diplodoc-state">
|
|
1194
|
+
{"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"]}
|
|
1195
|
+
</script>
|
|
1196
|
+
<script type="application/javascript">
|
|
1197
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1198
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1199
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1200
|
+
})(data.innerText));
|
|
1201
|
+
window.STATIC_CONTENT = false;
|
|
1202
|
+
</script>
|
|
1203
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
1204
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
1205
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
1206
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
1207
|
+
<script type="application/javascript" defer src="_bundle/mermaid-extension.js"></script>
|
|
1208
|
+
|
|
1209
|
+
</body>
|
|
1210
|
+
</html>"
|
|
1211
|
+
`;
|
|
1212
|
+
|
|
1213
|
+
exports[`Regression > internal 43`] = `
|
|
1214
|
+
"<!DOCTYPE html>
|
|
1215
|
+
<html lang="ru" dir="ltr">
|
|
1216
|
+
<head>
|
|
1217
|
+
<meta charset="utf-8">
|
|
1218
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1219
|
+
<base href="../" />
|
|
1220
|
+
<title>OpenAPI definition</title>
|
|
1221
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1222
|
+
|
|
1223
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1224
|
+
|
|
1225
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
1226
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1227
|
+
<link type="text/css" rel="stylesheet" href="_assets/cut-extension.css"/>
|
|
1228
|
+
</head>
|
|
1229
|
+
<body class="g-root g-root_theme_light">
|
|
1230
|
+
<div id="root"></div>
|
|
1231
|
+
<script type="application/json" id="diplodoc-state">
|
|
1232
|
+
{"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"]}
|
|
1233
|
+
</script>
|
|
1234
|
+
<script type="application/javascript">
|
|
1235
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1236
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1237
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1238
|
+
})(data.innerText));
|
|
1239
|
+
window.STATIC_CONTENT = false;
|
|
1240
|
+
</script>
|
|
1241
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
1242
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
1243
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
1244
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
1245
|
+
<script type="application/javascript" defer src="_assets/cut-extension.js"></script>
|
|
1246
|
+
|
|
1247
|
+
</body>
|
|
1248
|
+
</html>"
|
|
1249
|
+
`;
|
|
1250
|
+
|
|
1251
|
+
exports[`Regression > internal 44`] = `
|
|
1252
|
+
"<!DOCTYPE html>
|
|
1253
|
+
<html lang="ru" dir="ltr">
|
|
1254
|
+
<head>
|
|
1255
|
+
<meta charset="utf-8">
|
|
1256
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1257
|
+
<base href="../../" />
|
|
1258
|
+
<title></title>
|
|
1259
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1260
|
+
|
|
1261
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1262
|
+
|
|
1263
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
1264
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1265
|
+
<link type="text/css" rel="stylesheet" href="_assets/cut-extension.css"/>
|
|
1266
|
+
</head>
|
|
1267
|
+
<body class="g-root g-root_theme_light">
|
|
1268
|
+
<div id="root"></div>
|
|
1269
|
+
<script type="application/json" id="diplodoc-state">
|
|
1270
|
+
{"data":{"leading":false,"html":"<div class=\\"openapi\\">/n<h1>Simple get operation. тест новой верстки 3</h1>/n<p>Defines a simple get operation with no inputs and a complex</p>/n<h2 id=\\"request\\"><a href=\\"openapi/test-controller/getWithPayloadResponse.html#request\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Request</span></a>Request</h2>/n<div class=\\"openapi__requests\\">/n<div class=\\"openapi__request__wrapper\\" style=\\"--method:var(--dc-openapi-methods-get);margin-bottom:12px\\">/n<div class=\\"openapi__request\\">/n<p class=\\"openapi__method\\">GET</p>/n/n <div class=\\"yfm-clipboard\\">/n <pre><code class=\\"hljs text\\">http://localhost:8080/test/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=\\"16\\">/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-16\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-16\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-16.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n</div>/n<p>Generated server url</p>/n</div>/n</div>/n<h2 id=\\"responses\\"><a href=\\"openapi/test-controller/getWithPayloadResponse.html#responses\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Responses</span></a>Responses</h2>/n<div class=\\"openapi__response__code__200\\">/n<h2 id=\\"200-ok\\"><a href=\\"openapi/test-controller/getWithPayloadResponse.html#200-ok\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">200 OK</span></a>200 OK</h2>/n<p>200!!!!</p>/n<div class=\\"openapi-entity\\">/n<h3 id=\\"body\\"><a href=\\"openapi/test-controller/getWithPayloadResponse.html#body\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Body</span></a>Body</h3>/n<details class=\\"yfm-cut\\"><summary class=\\"yfm-cut-title\\">application/json</summary><div class=\\"yfm-cut-content\\">/n <div class=\\"yfm-clipboard\\">/n <pre><code class=\\"hljs json\\"><span class=\\"hljs-punctuation\\">{</span>/n <span class=\\"hljs-attr\\">\\"A\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-string\\">\\"string\\"</span>/n<span class=\\"hljs-punctuation\\">}</span>/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=\\"42\\">/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-42\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-42\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-42.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n</div></details><table>/n<tbody>/n<tr>/n<td>/n<p><strong>Name</strong></p>/n</td>/n<td>/n<p><strong>Description</strong></p>/n</td>/n</tr>/n<tr>/n<td class=\\"openapi-table-parameter-name\\">/n<p>A</p>/n</td>/n<td>/n<p><strong>Type:</strong> string</p>/n</td>/n</tr>/n</tbody>/n</table>/n</div>/n</div>/n/n</div>/n<dfn class=\\"yfm yfm-term_dfn\\" id=\\":Deprecated_element\\" role=\\"dialog\\"><p>No longer supported, please use an alternative and newer version.</p>/n</dfn>","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/cut-extension.css"],"script":["_assets/cut-extension.js"]},"headings":[{"title":"Request","href":"openapi/test-controller/getWithPayloadResponse.html#request","level":2},{"title":"Responses","href":"openapi/test-controller/getWithPayloadResponse.html#responses","level":2},{"title":"200 OK","href":"openapi/test-controller/getWithPayloadResponse.html#200-ok","level":2,"items":[{"title":"Body","href":"openapi/test-controller/getWithPayloadResponse.html#body","level":3}]}],"title":""},"router":{"pathname":"openapi/test-controller/getWithPayloadResponse","depth":3,"base":"../../"},"lang":"ru","langs":["ru"]}
|
|
1271
|
+
</script>
|
|
1272
|
+
<script type="application/javascript">
|
|
1273
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1274
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1275
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1276
|
+
})(data.innerText));
|
|
1277
|
+
window.STATIC_CONTENT = false;
|
|
1278
|
+
</script>
|
|
1279
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
1280
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
1281
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
1282
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
1283
|
+
<script type="application/javascript" defer src="_assets/cut-extension.js"></script>
|
|
1284
|
+
|
|
1285
|
+
</body>
|
|
1286
|
+
</html>"
|
|
1287
|
+
`;
|
|
1288
|
+
|
|
1289
|
+
exports[`Regression > internal 45`] = `
|
|
1290
|
+
"<!DOCTYPE html>
|
|
1291
|
+
<html lang="ru" dir="ltr">
|
|
1292
|
+
<head>
|
|
1293
|
+
<meta charset="utf-8">
|
|
1294
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1295
|
+
<base href="../../" />
|
|
1296
|
+
<title>test-controller</title>
|
|
1297
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1298
|
+
|
|
1299
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1300
|
+
|
|
1301
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
1302
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1303
|
+
</head>
|
|
1304
|
+
<body class="g-root g-root_theme_light">
|
|
1305
|
+
<div id="root"></div>
|
|
1306
|
+
<script type="application/json" id="diplodoc-state">
|
|
1307
|
+
{"data":{"leading":false,"html":"<h2 id=\\"endpoints\\"><a href=\\"openapi/test-controller/index.html#endpoints\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Endpoints</span></a>Endpoints</h2>/n<ul>/n<li><a href=\\"openapi/test-controller/getWithPayloadResponse.html\\">Simple get operation. тест новой верстки 3</a></li>/n</ul>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[{"title":"Endpoints","href":"openapi/test-controller/index.html#endpoints","level":2}],"title":"test-controller"},"router":{"pathname":"openapi/test-controller/index","depth":3,"base":"../../"},"lang":"ru","langs":["ru"]}
|
|
1308
|
+
</script>
|
|
1309
|
+
<script type="application/javascript">
|
|
1310
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1311
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1312
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1313
|
+
})(data.innerText));
|
|
1314
|
+
window.STATIC_CONTENT = false;
|
|
1315
|
+
</script>
|
|
1316
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
1317
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
1318
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
1319
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
1320
|
+
|
|
1321
|
+
</body>
|
|
1322
|
+
</html>"
|
|
1323
|
+
`;
|
|
1324
|
+
|
|
1325
|
+
exports[`Regression > internal 46`] = `
|
|
1326
|
+
"<!DOCTYPE html>
|
|
1327
|
+
<html lang="ru" dir="ltr">
|
|
1328
|
+
<head>
|
|
1329
|
+
<meta charset="utf-8">
|
|
1330
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1331
|
+
<base href="../../" />
|
|
1332
|
+
<title>Item 1</title>
|
|
1333
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1334
|
+
|
|
1335
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1336
|
+
|
|
1337
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
1338
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1339
|
+
</head>
|
|
1340
|
+
<body class="g-root g-root_theme_light">
|
|
1341
|
+
<div id="root"></div>
|
|
1342
|
+
<script type="application/json" id="diplodoc-state">
|
|
1343
|
+
{"data":{"leading":false,"html":"<p>Item 1 text</p>/n<p><a href=\\"images.html\\">Images</a></p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[],"title":"Item 1"},"router":{"pathname":"sub/folder/item-1","depth":3,"base":"../../"},"lang":"ru","langs":["ru"]}
|
|
1344
|
+
</script>
|
|
1345
|
+
<script type="application/javascript">
|
|
1346
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1347
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1348
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1349
|
+
})(data.innerText));
|
|
1350
|
+
window.STATIC_CONTENT = false;
|
|
1351
|
+
</script>
|
|
1352
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
1353
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
1354
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
1355
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
1356
|
+
|
|
1357
|
+
</body>
|
|
1358
|
+
</html>"
|
|
1359
|
+
`;
|
|
1360
|
+
|
|
1361
|
+
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"};"`;
|