@diplodoc/cli-tests 4.60.0 → 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 +293 -344
- package/e2e/__snapshots__/metadata.spec.ts.snap +119 -144
- package/e2e/__snapshots__/plugin-corner-cases.spec.ts.snap +0 -0
- package/e2e/__snapshots__/regression.test.ts.snap +904 -715
- package/e2e/__snapshots__/restricted-access.test.ts.snap +234 -0
- package/e2e/__snapshots__/rtl.spec.ts.snap +248 -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 +1 -1
|
@@ -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
|
-
window.__DATA__ = unescapeJsonFromHtml(data.innerText);
|
|
36
|
-
window.STATIC_CONTENT = false;
|
|
37
|
-
</script>
|
|
38
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
39
|
-
|
|
40
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
41
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
42
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
43
|
-
</body>
|
|
44
|
-
</html>
|
|
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
|
+
]"
|
|
46
35
|
`;
|
|
47
36
|
|
|
48
|
-
exports[`Regression > internal >
|
|
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
|
+
]"
|
|
81
|
+
`;
|
|
82
|
+
|
|
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,118 +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/page-constructor-extension.css",
|
|
203
|
-
"_bundle/page-constructor-extension.js",
|
|
204
|
-
"_bundle/search-js-0",
|
|
205
|
-
"_bundle/search-js-1",
|
|
206
|
-
"_bundle/search-css-0",
|
|
207
|
-
"_bundle/search-js-2",
|
|
208
|
-
"_bundle/search-css-1",
|
|
209
|
-
"autotitle.html",
|
|
210
|
-
"images.html",
|
|
211
|
-
"included-item.html",
|
|
212
|
-
"includes.html",
|
|
213
|
-
"index.html",
|
|
214
|
-
"latex.html",
|
|
215
|
-
"merge/merge.html",
|
|
216
|
-
"merge/merged.html",
|
|
217
|
-
"merge/toc.js",
|
|
218
|
-
"mermaid.html",
|
|
219
|
-
"openapi/index.html",
|
|
220
|
-
"openapi/test-controller/getWithPayloadResponse.html",
|
|
221
|
-
"openapi/test-controller/index.html",
|
|
222
|
-
"sub/folder/item-1.html",
|
|
223
|
-
"toc.js"
|
|
224
|
-
]"
|
|
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
|
+
"
|
|
225
175
|
`;
|
|
226
176
|
|
|
227
|
-
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
|
|
184
|
+
"
|
|
185
|
+
`;
|
|
186
|
+
|
|
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
|
|
228
208
|
"
|
|
229
|
-
<!DOCTYPE html>
|
|
230
|
-
<html lang="ru" dir="ltr">
|
|
231
|
-
<head>
|
|
232
|
-
<meta charset="utf-8">
|
|
233
|
-
<base href="./" />
|
|
234
|
-
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION" />
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
238
|
-
<title>Images</title>
|
|
239
|
-
<style type="text/css">
|
|
240
|
-
body {
|
|
241
|
-
height: 100vh;
|
|
242
|
-
}
|
|
243
|
-
</style>
|
|
244
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0" />
|
|
245
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1" />
|
|
246
|
-
|
|
247
|
-
</head>
|
|
248
|
-
<body class="g-root g-root_theme_light">
|
|
249
|
-
<div id="root"></div>
|
|
250
|
-
<script type="application/json" id="diplodoc-state">
|
|
251
|
-
{"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"]}
|
|
252
|
-
</script>
|
|
253
|
-
<script type="application/javascript">
|
|
254
|
-
function unescapeJsonFromHtml(escaped) {
|
|
255
|
-
const unescaped = escaped.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
256
|
-
return JSON.parse(unescaped);
|
|
257
|
-
}
|
|
258
|
-
const data = document.querySelector('script#diplodoc-state');
|
|
259
|
-
window.__DATA__ = unescapeJsonFromHtml(data.innerText);
|
|
260
|
-
window.STATIC_CONTENT = false;
|
|
261
|
-
</script>
|
|
262
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
263
|
-
|
|
264
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
265
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
266
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
267
|
-
</body>
|
|
268
|
-
</html>
|
|
269
|
-
"
|
|
270
209
|
`;
|
|
271
210
|
|
|
272
|
-
exports[`Regression > internal
|
|
211
|
+
exports[`Regression > internal 8`] = `
|
|
273
212
|
"---
|
|
274
213
|
metadata:
|
|
275
214
|
- name: generator
|
|
@@ -287,52 +226,7 @@ metadata:
|
|
|
287
226
|
"
|
|
288
227
|
`;
|
|
289
228
|
|
|
290
|
-
exports[`Regression > internal
|
|
291
|
-
"
|
|
292
|
-
<!DOCTYPE html>
|
|
293
|
-
<html lang="ru" dir="ltr">
|
|
294
|
-
<head>
|
|
295
|
-
<meta charset="utf-8">
|
|
296
|
-
<base href="./" />
|
|
297
|
-
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION" />
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
301
|
-
<title>Included item</title>
|
|
302
|
-
<style type="text/css">
|
|
303
|
-
body {
|
|
304
|
-
height: 100vh;
|
|
305
|
-
}
|
|
306
|
-
</style>
|
|
307
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0" />
|
|
308
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1" />
|
|
309
|
-
|
|
310
|
-
</head>
|
|
311
|
-
<body class="g-root g-root_theme_light">
|
|
312
|
-
<div id="root"></div>
|
|
313
|
-
<script type="application/json" id="diplodoc-state">
|
|
314
|
-
{"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"]}
|
|
315
|
-
</script>
|
|
316
|
-
<script type="application/javascript">
|
|
317
|
-
function unescapeJsonFromHtml(escaped) {
|
|
318
|
-
const unescaped = escaped.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
319
|
-
return JSON.parse(unescaped);
|
|
320
|
-
}
|
|
321
|
-
const data = document.querySelector('script#diplodoc-state');
|
|
322
|
-
window.__DATA__ = unescapeJsonFromHtml(data.innerText);
|
|
323
|
-
window.STATIC_CONTENT = false;
|
|
324
|
-
</script>
|
|
325
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
326
|
-
|
|
327
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
328
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
329
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
330
|
-
</body>
|
|
331
|
-
</html>
|
|
332
|
-
"
|
|
333
|
-
`;
|
|
334
|
-
|
|
335
|
-
exports[`Regression > internal > included-item.md 1`] = `
|
|
229
|
+
exports[`Regression > internal 9`] = `
|
|
336
230
|
"---
|
|
337
231
|
metadata:
|
|
338
232
|
- name: generator
|
|
@@ -354,52 +248,7 @@ Included item text
|
|
|
354
248
|
"
|
|
355
249
|
`;
|
|
356
250
|
|
|
357
|
-
exports[`Regression > internal
|
|
358
|
-
"
|
|
359
|
-
<!DOCTYPE html>
|
|
360
|
-
<html lang="ru" dir="ltr">
|
|
361
|
-
<head>
|
|
362
|
-
<meta charset="utf-8">
|
|
363
|
-
<base href="./" />
|
|
364
|
-
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION" />
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
368
|
-
<title></title>
|
|
369
|
-
<style type="text/css">
|
|
370
|
-
body {
|
|
371
|
-
height: 100vh;
|
|
372
|
-
}
|
|
373
|
-
</style>
|
|
374
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0" />
|
|
375
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1" />
|
|
376
|
-
|
|
377
|
-
</head>
|
|
378
|
-
<body class="g-root g-root_theme_light">
|
|
379
|
-
<div id="root"></div>
|
|
380
|
-
<script type="application/json" id="diplodoc-state">
|
|
381
|
-
{"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"]}
|
|
382
|
-
</script>
|
|
383
|
-
<script type="application/javascript">
|
|
384
|
-
function unescapeJsonFromHtml(escaped) {
|
|
385
|
-
const unescaped = escaped.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
386
|
-
return JSON.parse(unescaped);
|
|
387
|
-
}
|
|
388
|
-
const data = document.querySelector('script#diplodoc-state');
|
|
389
|
-
window.__DATA__ = unescapeJsonFromHtml(data.innerText);
|
|
390
|
-
window.STATIC_CONTENT = false;
|
|
391
|
-
</script>
|
|
392
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
393
|
-
|
|
394
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
395
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
396
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
397
|
-
</body>
|
|
398
|
-
</html>
|
|
399
|
-
"
|
|
400
|
-
`;
|
|
401
|
-
|
|
402
|
-
exports[`Regression > internal > includes.md 1`] = `
|
|
251
|
+
exports[`Regression > internal 10`] = `
|
|
403
252
|
"---
|
|
404
253
|
metadata:
|
|
405
254
|
- name: generator
|
|
@@ -407,68 +256,31 @@ metadata:
|
|
|
407
256
|
---
|
|
408
257
|
Text
|
|
409
258
|
|
|
410
|
-
{% include [user](includes/user.md) %}
|
|
259
|
+
{% include [user](includes/user-hash.md) %}
|
|
260
|
+
|
|
261
|
+
{% include [test](includes/test-hash.md) %}
|
|
411
262
|
|
|
412
|
-
{% include [
|
|
263
|
+
<!--{% include [For includes/deep.md](includes/deep.md) %}-->
|
|
264
|
+
{% include [For includes/deep-hash.md](includes/deep-hash.md) %}
|
|
413
265
|
"
|
|
414
266
|
`;
|
|
415
267
|
|
|
416
|
-
exports[`Regression > internal
|
|
417
|
-
"
|
|
268
|
+
exports[`Regression > internal 11`] = `
|
|
269
|
+
"{% include [user](./user-hash.md) %}
|
|
418
270
|
"
|
|
419
271
|
`;
|
|
420
272
|
|
|
421
|
-
exports[`Regression > internal
|
|
422
|
-
"
|
|
273
|
+
exports[`Regression > internal 12`] = `
|
|
274
|
+
"Test
|
|
423
275
|
"
|
|
424
276
|
`;
|
|
425
277
|
|
|
426
|
-
exports[`Regression > internal
|
|
278
|
+
exports[`Regression > internal 13`] = `
|
|
279
|
+
"Bob
|
|
427
280
|
"
|
|
428
|
-
<!DOCTYPE html>
|
|
429
|
-
<html lang="ru" dir="ltr">
|
|
430
|
-
<head>
|
|
431
|
-
<meta charset="utf-8">
|
|
432
|
-
<base href="./" />
|
|
433
|
-
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION" />
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
437
|
-
<title></title>
|
|
438
|
-
<style type="text/css">
|
|
439
|
-
body {
|
|
440
|
-
height: 100vh;
|
|
441
|
-
}
|
|
442
|
-
</style>
|
|
443
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0" />
|
|
444
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1" />
|
|
445
|
-
|
|
446
|
-
</head>
|
|
447
|
-
<body class="g-root g-root_theme_light">
|
|
448
|
-
<div id="root"></div>
|
|
449
|
-
<script type="application/json" id="diplodoc-state">
|
|
450
|
-
{"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"]}
|
|
451
|
-
</script>
|
|
452
|
-
<script type="application/javascript">
|
|
453
|
-
function unescapeJsonFromHtml(escaped) {
|
|
454
|
-
const unescaped = escaped.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
455
|
-
return JSON.parse(unescaped);
|
|
456
|
-
}
|
|
457
|
-
const data = document.querySelector('script#diplodoc-state');
|
|
458
|
-
window.__DATA__ = unescapeJsonFromHtml(data.innerText);
|
|
459
|
-
window.STATIC_CONTENT = false;
|
|
460
|
-
</script>
|
|
461
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
462
|
-
|
|
463
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
464
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
465
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
466
|
-
</body>
|
|
467
|
-
</html>
|
|
468
|
-
"
|
|
469
281
|
`;
|
|
470
282
|
|
|
471
|
-
exports[`Regression > internal
|
|
283
|
+
exports[`Regression > internal 14`] = `
|
|
472
284
|
"description:
|
|
473
285
|
- Some text
|
|
474
286
|
links:
|
|
@@ -483,53 +295,7 @@ meta:
|
|
|
483
295
|
"
|
|
484
296
|
`;
|
|
485
297
|
|
|
486
|
-
exports[`Regression > internal
|
|
487
|
-
"
|
|
488
|
-
<!DOCTYPE html>
|
|
489
|
-
<html lang="ru" dir="ltr">
|
|
490
|
-
<head>
|
|
491
|
-
<meta charset="utf-8">
|
|
492
|
-
<base href="./" />
|
|
493
|
-
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION" />
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
497
|
-
<title>Latex usage</title>
|
|
498
|
-
<style type="text/css">
|
|
499
|
-
body {
|
|
500
|
-
height: 100vh;
|
|
501
|
-
}
|
|
502
|
-
</style>
|
|
503
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0" />
|
|
504
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1" />
|
|
505
|
-
<link rel="stylesheet" type="text/css" href="_bundle/latex-extension.css" id="custom-style">
|
|
506
|
-
<script src="_bundle/latex-extension.js"></script>
|
|
507
|
-
</head>
|
|
508
|
-
<body class="g-root g-root_theme_light">
|
|
509
|
-
<div id="root"></div>
|
|
510
|
-
<script type="application/json" id="diplodoc-state">
|
|
511
|
-
{"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"]}
|
|
512
|
-
</script>
|
|
513
|
-
<script type="application/javascript">
|
|
514
|
-
function unescapeJsonFromHtml(escaped) {
|
|
515
|
-
const unescaped = escaped.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
516
|
-
return JSON.parse(unescaped);
|
|
517
|
-
}
|
|
518
|
-
const data = document.querySelector('script#diplodoc-state');
|
|
519
|
-
window.__DATA__ = unescapeJsonFromHtml(data.innerText);
|
|
520
|
-
window.STATIC_CONTENT = false;
|
|
521
|
-
</script>
|
|
522
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
523
|
-
|
|
524
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
525
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
526
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
527
|
-
</body>
|
|
528
|
-
</html>
|
|
529
|
-
"
|
|
530
|
-
`;
|
|
531
|
-
|
|
532
|
-
exports[`Regression > internal > latex.md 1`] = `
|
|
298
|
+
exports[`Regression > internal 15`] = `
|
|
533
299
|
"---
|
|
534
300
|
metadata:
|
|
535
301
|
- name: generator
|
|
@@ -541,52 +307,7 @@ $/sqrt{3x-1}+(1+x)^2$
|
|
|
541
307
|
"
|
|
542
308
|
`;
|
|
543
309
|
|
|
544
|
-
exports[`Regression > internal
|
|
545
|
-
"
|
|
546
|
-
<!DOCTYPE html>
|
|
547
|
-
<html lang="ru" dir="ltr">
|
|
548
|
-
<head>
|
|
549
|
-
<meta charset="utf-8">
|
|
550
|
-
<base href="../" />
|
|
551
|
-
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION" />
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
555
|
-
<title>Should use merged item</title>
|
|
556
|
-
<style type="text/css">
|
|
557
|
-
body {
|
|
558
|
-
height: 100vh;
|
|
559
|
-
}
|
|
560
|
-
</style>
|
|
561
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0" />
|
|
562
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1" />
|
|
563
|
-
|
|
564
|
-
</head>
|
|
565
|
-
<body class="g-root g-root_theme_light">
|
|
566
|
-
<div id="root"></div>
|
|
567
|
-
<script type="application/json" id="diplodoc-state">
|
|
568
|
-
{"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"]}
|
|
569
|
-
</script>
|
|
570
|
-
<script type="application/javascript">
|
|
571
|
-
function unescapeJsonFromHtml(escaped) {
|
|
572
|
-
const unescaped = escaped.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
573
|
-
return JSON.parse(unescaped);
|
|
574
|
-
}
|
|
575
|
-
const data = document.querySelector('script#diplodoc-state');
|
|
576
|
-
window.__DATA__ = unescapeJsonFromHtml(data.innerText);
|
|
577
|
-
window.STATIC_CONTENT = false;
|
|
578
|
-
</script>
|
|
579
|
-
<script src="merge/toc.js" type="application/javascript"></script>
|
|
580
|
-
|
|
581
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
582
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
583
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
584
|
-
</body>
|
|
585
|
-
</html>
|
|
586
|
-
"
|
|
587
|
-
`;
|
|
588
|
-
|
|
589
|
-
exports[`Regression > internal > merge/merge.md 1`] = `
|
|
310
|
+
exports[`Regression > internal 16`] = `
|
|
590
311
|
"---
|
|
591
312
|
metadata:
|
|
592
313
|
- name: generator
|
|
@@ -598,58 +319,11 @@ metadata:
|
|
|
598
319
|
"
|
|
599
320
|
`;
|
|
600
321
|
|
|
601
|
-
exports[`Regression > internal
|
|
602
|
-
"
|
|
603
|
-
<!DOCTYPE html>
|
|
604
|
-
<html lang="ru" dir="ltr">
|
|
605
|
-
<head>
|
|
606
|
-
<meta charset="utf-8">
|
|
607
|
-
<base href="../" />
|
|
608
|
-
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION" />
|
|
609
|
-
<meta name="sourcePath" content="merge-source/merged.md" />
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
613
|
-
<title>Merged item</title>
|
|
614
|
-
<style type="text/css">
|
|
615
|
-
body {
|
|
616
|
-
height: 100vh;
|
|
617
|
-
}
|
|
618
|
-
</style>
|
|
619
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0" />
|
|
620
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1" />
|
|
621
|
-
|
|
622
|
-
</head>
|
|
623
|
-
<body class="g-root g-root_theme_light">
|
|
624
|
-
<div id="root"></div>
|
|
625
|
-
<script type="application/json" id="diplodoc-state">
|
|
626
|
-
{"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"]}
|
|
627
|
-
</script>
|
|
628
|
-
<script type="application/javascript">
|
|
629
|
-
function unescapeJsonFromHtml(escaped) {
|
|
630
|
-
const unescaped = escaped.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
631
|
-
return JSON.parse(unescaped);
|
|
632
|
-
}
|
|
633
|
-
const data = document.querySelector('script#diplodoc-state');
|
|
634
|
-
window.__DATA__ = unescapeJsonFromHtml(data.innerText);
|
|
635
|
-
window.STATIC_CONTENT = false;
|
|
636
|
-
</script>
|
|
637
|
-
<script src="merge/toc.js" type="application/javascript"></script>
|
|
638
|
-
|
|
639
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
640
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
641
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
642
|
-
</body>
|
|
643
|
-
</html>
|
|
644
|
-
"
|
|
645
|
-
`;
|
|
646
|
-
|
|
647
|
-
exports[`Regression > internal > merge/merged.md 1`] = `
|
|
322
|
+
exports[`Regression > internal 17`] = `
|
|
648
323
|
"---
|
|
649
324
|
metadata:
|
|
650
325
|
- name: generator
|
|
651
326
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
652
|
-
sourcePath: merge-source/merged.md
|
|
653
327
|
---
|
|
654
328
|
# Merged item
|
|
655
329
|
|
|
@@ -657,63 +331,17 @@ Should be linked in toc.yaml
|
|
|
657
331
|
"
|
|
658
332
|
`;
|
|
659
333
|
|
|
660
|
-
exports[`Regression > internal
|
|
661
|
-
|
|
662
|
-
exports[`Regression > internal > merge/toc.yaml 1`] = `
|
|
334
|
+
exports[`Regression > internal 18`] = `
|
|
663
335
|
"items:
|
|
664
336
|
- name: Use merged
|
|
665
337
|
href: merge.md
|
|
666
338
|
- name: Merged item
|
|
667
339
|
href: merged.md
|
|
340
|
+
path: merge/toc.yaml
|
|
668
341
|
"
|
|
669
342
|
`;
|
|
670
343
|
|
|
671
|
-
exports[`Regression > internal
|
|
672
|
-
"
|
|
673
|
-
<!DOCTYPE html>
|
|
674
|
-
<html lang="ru" dir="ltr">
|
|
675
|
-
<head>
|
|
676
|
-
<meta charset="utf-8">
|
|
677
|
-
<base href="./" />
|
|
678
|
-
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION" />
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
682
|
-
<title>Mermaid usage</title>
|
|
683
|
-
<style type="text/css">
|
|
684
|
-
body {
|
|
685
|
-
height: 100vh;
|
|
686
|
-
}
|
|
687
|
-
</style>
|
|
688
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0" />
|
|
689
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1" />
|
|
690
|
-
<script src="_bundle/mermaid-extension.js"></script>
|
|
691
|
-
</head>
|
|
692
|
-
<body class="g-root g-root_theme_light">
|
|
693
|
-
<div id="root"></div>
|
|
694
|
-
<script type="application/json" id="diplodoc-state">
|
|
695
|
-
{"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"]}
|
|
696
|
-
</script>
|
|
697
|
-
<script type="application/javascript">
|
|
698
|
-
function unescapeJsonFromHtml(escaped) {
|
|
699
|
-
const unescaped = escaped.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
700
|
-
return JSON.parse(unescaped);
|
|
701
|
-
}
|
|
702
|
-
const data = document.querySelector('script#diplodoc-state');
|
|
703
|
-
window.__DATA__ = unescapeJsonFromHtml(data.innerText);
|
|
704
|
-
window.STATIC_CONTENT = false;
|
|
705
|
-
</script>
|
|
706
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
707
|
-
|
|
708
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
709
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
710
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
711
|
-
</body>
|
|
712
|
-
</html>
|
|
713
|
-
"
|
|
714
|
-
`;
|
|
715
|
-
|
|
716
|
-
exports[`Regression > internal > mermaid.md 1`] = `
|
|
344
|
+
exports[`Regression > internal 19`] = `
|
|
717
345
|
"---
|
|
718
346
|
metadata:
|
|
719
347
|
- name: generator
|
|
@@ -735,53 +363,7 @@ Some mermaid info
|
|
|
735
363
|
"
|
|
736
364
|
`;
|
|
737
365
|
|
|
738
|
-
exports[`Regression > internal
|
|
739
|
-
"
|
|
740
|
-
<!DOCTYPE html>
|
|
741
|
-
<html lang="ru" dir="ltr">
|
|
742
|
-
<head>
|
|
743
|
-
<meta charset="utf-8">
|
|
744
|
-
<base href="../" />
|
|
745
|
-
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION" />
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
749
|
-
<title>OpenAPI definition</title>
|
|
750
|
-
<style type="text/css">
|
|
751
|
-
body {
|
|
752
|
-
height: 100vh;
|
|
753
|
-
}
|
|
754
|
-
</style>
|
|
755
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0" />
|
|
756
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1" />
|
|
757
|
-
<link rel="stylesheet" type="text/css" href="_assets/cut-extension.css" id="custom-style">
|
|
758
|
-
<script src="_assets/cut-extension.js"></script>
|
|
759
|
-
</head>
|
|
760
|
-
<body class="g-root g-root_theme_light">
|
|
761
|
-
<div id="root"></div>
|
|
762
|
-
<script type="application/json" id="diplodoc-state">
|
|
763
|
-
{"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"]}
|
|
764
|
-
</script>
|
|
765
|
-
<script type="application/javascript">
|
|
766
|
-
function unescapeJsonFromHtml(escaped) {
|
|
767
|
-
const unescaped = escaped.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
768
|
-
return JSON.parse(unescaped);
|
|
769
|
-
}
|
|
770
|
-
const data = document.querySelector('script#diplodoc-state');
|
|
771
|
-
window.__DATA__ = unescapeJsonFromHtml(data.innerText);
|
|
772
|
-
window.STATIC_CONTENT = false;
|
|
773
|
-
</script>
|
|
774
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
775
|
-
|
|
776
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
777
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
778
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
779
|
-
</body>
|
|
780
|
-
</html>
|
|
781
|
-
"
|
|
782
|
-
`;
|
|
783
|
-
|
|
784
|
-
exports[`Regression > internal > openapi/index.md 1`] = `
|
|
366
|
+
exports[`Regression > internal 20`] = `
|
|
785
367
|
"---
|
|
786
368
|
metadata:
|
|
787
369
|
- name: generator
|
|
@@ -880,53 +462,7 @@ metadata:
|
|
|
880
462
|
<!-- markdownlint-disable-file -->"
|
|
881
463
|
`;
|
|
882
464
|
|
|
883
|
-
exports[`Regression > internal
|
|
884
|
-
"
|
|
885
|
-
<!DOCTYPE html>
|
|
886
|
-
<html lang="ru" dir="ltr">
|
|
887
|
-
<head>
|
|
888
|
-
<meta charset="utf-8">
|
|
889
|
-
<base href="../../" />
|
|
890
|
-
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION" />
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
894
|
-
<title></title>
|
|
895
|
-
<style type="text/css">
|
|
896
|
-
body {
|
|
897
|
-
height: 100vh;
|
|
898
|
-
}
|
|
899
|
-
</style>
|
|
900
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0" />
|
|
901
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1" />
|
|
902
|
-
<link rel="stylesheet" type="text/css" href="_assets/cut-extension.css" id="custom-style">
|
|
903
|
-
<script src="_assets/cut-extension.js"></script>
|
|
904
|
-
</head>
|
|
905
|
-
<body class="g-root g-root_theme_light">
|
|
906
|
-
<div id="root"></div>
|
|
907
|
-
<script type="application/json" id="diplodoc-state">
|
|
908
|
-
{"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"]}
|
|
909
|
-
</script>
|
|
910
|
-
<script type="application/javascript">
|
|
911
|
-
function unescapeJsonFromHtml(escaped) {
|
|
912
|
-
const unescaped = escaped.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
913
|
-
return JSON.parse(unescaped);
|
|
914
|
-
}
|
|
915
|
-
const data = document.querySelector('script#diplodoc-state');
|
|
916
|
-
window.__DATA__ = unescapeJsonFromHtml(data.innerText);
|
|
917
|
-
window.STATIC_CONTENT = false;
|
|
918
|
-
</script>
|
|
919
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
920
|
-
|
|
921
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
922
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
923
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
924
|
-
</body>
|
|
925
|
-
</html>
|
|
926
|
-
"
|
|
927
|
-
`;
|
|
928
|
-
|
|
929
|
-
exports[`Regression > internal > openapi/test-controller/getWithPayloadResponse.md 1`] = `
|
|
465
|
+
exports[`Regression > internal 21`] = `
|
|
930
466
|
"---
|
|
931
467
|
metadata:
|
|
932
468
|
- name: generator
|
|
@@ -1010,52 +546,7 @@ Generated server url
|
|
|
1010
546
|
[*Deprecated]: No longer supported, please use an alternative and newer version."
|
|
1011
547
|
`;
|
|
1012
548
|
|
|
1013
|
-
exports[`Regression > internal
|
|
1014
|
-
"
|
|
1015
|
-
<!DOCTYPE html>
|
|
1016
|
-
<html lang="ru" dir="ltr">
|
|
1017
|
-
<head>
|
|
1018
|
-
<meta charset="utf-8">
|
|
1019
|
-
<base href="../../" />
|
|
1020
|
-
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION" />
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1024
|
-
<title>test-controller</title>
|
|
1025
|
-
<style type="text/css">
|
|
1026
|
-
body {
|
|
1027
|
-
height: 100vh;
|
|
1028
|
-
}
|
|
1029
|
-
</style>
|
|
1030
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0" />
|
|
1031
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1" />
|
|
1032
|
-
|
|
1033
|
-
</head>
|
|
1034
|
-
<body class="g-root g-root_theme_light">
|
|
1035
|
-
<div id="root"></div>
|
|
1036
|
-
<script type="application/json" id="diplodoc-state">
|
|
1037
|
-
{"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"]}
|
|
1038
|
-
</script>
|
|
1039
|
-
<script type="application/javascript">
|
|
1040
|
-
function unescapeJsonFromHtml(escaped) {
|
|
1041
|
-
const unescaped = escaped.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1042
|
-
return JSON.parse(unescaped);
|
|
1043
|
-
}
|
|
1044
|
-
const data = document.querySelector('script#diplodoc-state');
|
|
1045
|
-
window.__DATA__ = unescapeJsonFromHtml(data.innerText);
|
|
1046
|
-
window.STATIC_CONTENT = false;
|
|
1047
|
-
</script>
|
|
1048
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
1049
|
-
|
|
1050
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
1051
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
1052
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
1053
|
-
</body>
|
|
1054
|
-
</html>
|
|
1055
|
-
"
|
|
1056
|
-
`;
|
|
1057
|
-
|
|
1058
|
-
exports[`Regression > internal > openapi/test-controller/index.md 1`] = `
|
|
549
|
+
exports[`Regression > internal 22`] = `
|
|
1059
550
|
"---
|
|
1060
551
|
metadata:
|
|
1061
552
|
- name: generator
|
|
@@ -1070,52 +561,17 @@ metadata:
|
|
|
1070
561
|
<!-- markdownlint-disable-file -->"
|
|
1071
562
|
`;
|
|
1072
563
|
|
|
1073
|
-
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
|
|
1074
571
|
"
|
|
1075
|
-
<!DOCTYPE html>
|
|
1076
|
-
<html lang="ru" dir="ltr">
|
|
1077
|
-
<head>
|
|
1078
|
-
<meta charset="utf-8">
|
|
1079
|
-
<base href="../../" />
|
|
1080
|
-
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION" />
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1084
|
-
<title>Item 1</title>
|
|
1085
|
-
<style type="text/css">
|
|
1086
|
-
body {
|
|
1087
|
-
height: 100vh;
|
|
1088
|
-
}
|
|
1089
|
-
</style>
|
|
1090
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0" />
|
|
1091
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1" />
|
|
1092
|
-
|
|
1093
|
-
</head>
|
|
1094
|
-
<body class="g-root g-root_theme_light">
|
|
1095
|
-
<div id="root"></div>
|
|
1096
|
-
<script type="application/json" id="diplodoc-state">
|
|
1097
|
-
{"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"]}
|
|
1098
|
-
</script>
|
|
1099
|
-
<script type="application/javascript">
|
|
1100
|
-
function unescapeJsonFromHtml(escaped) {
|
|
1101
|
-
const unescaped = escaped.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1102
|
-
return JSON.parse(unescaped);
|
|
1103
|
-
}
|
|
1104
|
-
const data = document.querySelector('script#diplodoc-state');
|
|
1105
|
-
window.__DATA__ = unescapeJsonFromHtml(data.innerText);
|
|
1106
|
-
window.STATIC_CONTENT = false;
|
|
1107
|
-
</script>
|
|
1108
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
1109
|
-
|
|
1110
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
1111
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
1112
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
1113
|
-
</body>
|
|
1114
|
-
</html>
|
|
1115
|
-
"
|
|
1116
572
|
`;
|
|
1117
573
|
|
|
1118
|
-
exports[`Regression > internal
|
|
574
|
+
exports[`Regression > internal 24`] = `
|
|
1119
575
|
"---
|
|
1120
576
|
metadata:
|
|
1121
577
|
- name: generator
|
|
@@ -1129,9 +585,7 @@ Item 1 text
|
|
|
1129
585
|
"
|
|
1130
586
|
`;
|
|
1131
587
|
|
|
1132
|
-
exports[`Regression > internal
|
|
1133
|
-
|
|
1134
|
-
exports[`Regression > internal > toc.yaml 1`] = `
|
|
588
|
+
exports[`Regression > internal 25`] = `
|
|
1135
589
|
"items:
|
|
1136
590
|
- name: Verbose root (index.yaml) will be transformed to index.html
|
|
1137
591
|
href: index.yaml
|
|
@@ -1148,9 +602,9 @@ exports[`Regression > internal > toc.yaml 1`] = `
|
|
|
1148
602
|
items:
|
|
1149
603
|
- name: Item 1
|
|
1150
604
|
href: sub/folder/item-1.md
|
|
1151
|
-
-
|
|
1152
|
-
|
|
1153
|
-
- name: Latex
|
|
605
|
+
- href: mermaid.md
|
|
606
|
+
name: Mermaid usage
|
|
607
|
+
- name: Latex usage
|
|
1154
608
|
href: latex.md
|
|
1155
609
|
- name: Images
|
|
1156
610
|
href: images.md
|
|
@@ -1158,6 +612,20 @@ exports[`Regression > internal > toc.yaml 1`] = `
|
|
|
1158
612
|
href: autotitle.md
|
|
1159
613
|
- name: includes
|
|
1160
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
|
|
1161
629
|
- name: openapi
|
|
1162
630
|
items:
|
|
1163
631
|
- name: Overview
|
|
@@ -1168,5 +636,726 @@ exports[`Regression > internal > toc.yaml 1`] = `
|
|
|
1168
636
|
href: openapi/test-controller/index.md
|
|
1169
637
|
- href: openapi/test-controller/getWithPayloadResponse.md
|
|
1170
638
|
name: Simple get operation. тест новой верстки 3
|
|
639
|
+
path: toc.yaml
|
|
1171
640
|
"
|
|
1172
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"};"`;
|