@diplodoc/cli-tests 4.60.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/e2e/__snapshots__/include-toc.test.ts.snap +106 -106
- package/e2e/__snapshots__/load-custom-resources.spec.ts.snap +303 -350
- package/e2e/__snapshots__/metadata.spec.ts.snap +124 -147
- package/e2e/__snapshots__/plugin-corner-cases.spec.ts.snap +0 -0
- package/e2e/__snapshots__/regression.test.ts.snap +906 -715
- package/e2e/__snapshots__/restricted-access.test.ts.snap +234 -0
- package/e2e/__snapshots__/rtl.spec.ts.snap +258 -308
- 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,88 @@
|
|
|
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/app-css-3",
|
|
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-css-0",
|
|
56
|
+
"_bundle/search-js-1",
|
|
57
|
+
"_bundle/search-css-3",
|
|
58
|
+
"_bundle/search-css-1",
|
|
59
|
+
"_bundle/search-js-2",
|
|
60
|
+
"_bundle/search-css-2",
|
|
61
|
+
"autotitle.html",
|
|
62
|
+
"c.md",
|
|
63
|
+
"generic/1.html",
|
|
64
|
+
"generic/2.html",
|
|
65
|
+
"generic/3.html",
|
|
66
|
+
"generic/Sub notes/1.html",
|
|
67
|
+
"generic/Sub notes/2.html",
|
|
68
|
+
"images.html",
|
|
69
|
+
"included-item.html",
|
|
70
|
+
"includes.html",
|
|
71
|
+
"index.html",
|
|
72
|
+
"latex.html",
|
|
73
|
+
"merge/merge.html",
|
|
74
|
+
"merge/merged.html",
|
|
75
|
+
"merge/toc.js",
|
|
76
|
+
"mermaid.html",
|
|
77
|
+
"openapi/index.html",
|
|
78
|
+
"openapi/test-controller/getWithPayloadResponse.html",
|
|
79
|
+
"openapi/test-controller/index.html",
|
|
80
|
+
"sub/folder/item-1.html",
|
|
81
|
+
"toc.js"
|
|
82
|
+
]"
|
|
83
|
+
`;
|
|
84
|
+
|
|
85
|
+
exports[`Regression > internal 1`] = `
|
|
49
86
|
"---
|
|
50
87
|
metadata:
|
|
51
88
|
- name: generator
|
|
@@ -77,56 +114,13 @@ default-var-value
|
|
|
77
114
|
|
|
78
115
|
[](./latex.md)
|
|
79
116
|
|
|
80
|
-
|
|
81
|
-
"
|
|
82
|
-
`;
|
|
117
|
+
[noext-link](./includes)
|
|
83
118
|
|
|
84
|
-
|
|
119
|
+
{% include [user](includes/user-hash.md) %}
|
|
85
120
|
"
|
|
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
121
|
`;
|
|
128
122
|
|
|
129
|
-
exports[`Regression > internal
|
|
123
|
+
exports[`Regression > internal 2`] = `
|
|
130
124
|
"---
|
|
131
125
|
metadata:
|
|
132
126
|
- name: generator
|
|
@@ -158,118 +152,65 @@ Content
|
|
|
158
152
|
"
|
|
159
153
|
`;
|
|
160
154
|
|
|
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
|
-
]"
|
|
155
|
+
exports[`Regression > internal 3`] = `
|
|
156
|
+
"---
|
|
157
|
+
metadata:
|
|
158
|
+
- name: generator
|
|
159
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
160
|
+
---
|
|
161
|
+
# Note 1
|
|
162
|
+
|
|
163
|
+
Note content 1
|
|
164
|
+
"
|
|
186
165
|
`;
|
|
187
166
|
|
|
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
|
-
]"
|
|
167
|
+
exports[`Regression > internal 4`] = `
|
|
168
|
+
"---
|
|
169
|
+
metadata:
|
|
170
|
+
- name: generator
|
|
171
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
172
|
+
---
|
|
173
|
+
# Note 1
|
|
174
|
+
|
|
175
|
+
Note content 1
|
|
176
|
+
"
|
|
225
177
|
`;
|
|
226
178
|
|
|
227
|
-
exports[`Regression > internal
|
|
179
|
+
exports[`Regression > internal 5`] = `
|
|
180
|
+
"---
|
|
181
|
+
metadata:
|
|
182
|
+
- name: generator
|
|
183
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
184
|
+
---
|
|
185
|
+
Note content 1
|
|
186
|
+
"
|
|
187
|
+
`;
|
|
188
|
+
|
|
189
|
+
exports[`Regression > internal 6`] = `
|
|
190
|
+
"---
|
|
191
|
+
metadata:
|
|
192
|
+
- name: generator
|
|
193
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
194
|
+
---
|
|
195
|
+
# Sub note 1
|
|
196
|
+
|
|
197
|
+
Note content 1
|
|
198
|
+
"
|
|
199
|
+
`;
|
|
200
|
+
|
|
201
|
+
exports[`Regression > internal 7`] = `
|
|
202
|
+
"---
|
|
203
|
+
metadata:
|
|
204
|
+
- name: generator
|
|
205
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
206
|
+
---
|
|
207
|
+
# Sub note 2
|
|
208
|
+
|
|
209
|
+
Note content 2
|
|
228
210
|
"
|
|
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
211
|
`;
|
|
271
212
|
|
|
272
|
-
exports[`Regression > internal
|
|
213
|
+
exports[`Regression > internal 8`] = `
|
|
273
214
|
"---
|
|
274
215
|
metadata:
|
|
275
216
|
- name: generator
|
|
@@ -287,52 +228,7 @@ metadata:
|
|
|
287
228
|
"
|
|
288
229
|
`;
|
|
289
230
|
|
|
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`] = `
|
|
231
|
+
exports[`Regression > internal 9`] = `
|
|
336
232
|
"---
|
|
337
233
|
metadata:
|
|
338
234
|
- name: generator
|
|
@@ -354,52 +250,7 @@ Included item text
|
|
|
354
250
|
"
|
|
355
251
|
`;
|
|
356
252
|
|
|
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`] = `
|
|
253
|
+
exports[`Regression > internal 10`] = `
|
|
403
254
|
"---
|
|
404
255
|
metadata:
|
|
405
256
|
- name: generator
|
|
@@ -407,68 +258,31 @@ metadata:
|
|
|
407
258
|
---
|
|
408
259
|
Text
|
|
409
260
|
|
|
410
|
-
{% include [user](includes/user.md) %}
|
|
261
|
+
{% include [user](includes/user-hash.md) %}
|
|
262
|
+
|
|
263
|
+
{% include [test](includes/test-hash.md) %}
|
|
411
264
|
|
|
412
|
-
{% include [
|
|
265
|
+
<!--{% include [For includes/deep.md](includes/deep.md) %}-->
|
|
266
|
+
{% include [For includes/deep-hash.md](includes/deep-hash.md) %}
|
|
413
267
|
"
|
|
414
268
|
`;
|
|
415
269
|
|
|
416
|
-
exports[`Regression > internal
|
|
417
|
-
"
|
|
270
|
+
exports[`Regression > internal 11`] = `
|
|
271
|
+
"{% include [user](./user-hash.md) %}
|
|
418
272
|
"
|
|
419
273
|
`;
|
|
420
274
|
|
|
421
|
-
exports[`Regression > internal
|
|
422
|
-
"
|
|
275
|
+
exports[`Regression > internal 12`] = `
|
|
276
|
+
"Test
|
|
423
277
|
"
|
|
424
278
|
`;
|
|
425
279
|
|
|
426
|
-
exports[`Regression > internal
|
|
280
|
+
exports[`Regression > internal 13`] = `
|
|
281
|
+
"Bob
|
|
427
282
|
"
|
|
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
283
|
`;
|
|
470
284
|
|
|
471
|
-
exports[`Regression > internal
|
|
285
|
+
exports[`Regression > internal 14`] = `
|
|
472
286
|
"description:
|
|
473
287
|
- Some text
|
|
474
288
|
links:
|
|
@@ -483,53 +297,7 @@ meta:
|
|
|
483
297
|
"
|
|
484
298
|
`;
|
|
485
299
|
|
|
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`] = `
|
|
300
|
+
exports[`Regression > internal 15`] = `
|
|
533
301
|
"---
|
|
534
302
|
metadata:
|
|
535
303
|
- name: generator
|
|
@@ -541,52 +309,7 @@ $/sqrt{3x-1}+(1+x)^2$
|
|
|
541
309
|
"
|
|
542
310
|
`;
|
|
543
311
|
|
|
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`] = `
|
|
312
|
+
exports[`Regression > internal 16`] = `
|
|
590
313
|
"---
|
|
591
314
|
metadata:
|
|
592
315
|
- name: generator
|
|
@@ -598,58 +321,11 @@ metadata:
|
|
|
598
321
|
"
|
|
599
322
|
`;
|
|
600
323
|
|
|
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`] = `
|
|
324
|
+
exports[`Regression > internal 17`] = `
|
|
648
325
|
"---
|
|
649
326
|
metadata:
|
|
650
327
|
- name: generator
|
|
651
328
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
652
|
-
sourcePath: merge-source/merged.md
|
|
653
329
|
---
|
|
654
330
|
# Merged item
|
|
655
331
|
|
|
@@ -657,63 +333,17 @@ Should be linked in toc.yaml
|
|
|
657
333
|
"
|
|
658
334
|
`;
|
|
659
335
|
|
|
660
|
-
exports[`Regression > internal
|
|
661
|
-
|
|
662
|
-
exports[`Regression > internal > merge/toc.yaml 1`] = `
|
|
336
|
+
exports[`Regression > internal 18`] = `
|
|
663
337
|
"items:
|
|
664
338
|
- name: Use merged
|
|
665
339
|
href: merge.md
|
|
666
340
|
- name: Merged item
|
|
667
341
|
href: merged.md
|
|
342
|
+
path: merge/toc.yaml
|
|
668
343
|
"
|
|
669
344
|
`;
|
|
670
345
|
|
|
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`] = `
|
|
346
|
+
exports[`Regression > internal 19`] = `
|
|
717
347
|
"---
|
|
718
348
|
metadata:
|
|
719
349
|
- name: generator
|
|
@@ -735,53 +365,7 @@ Some mermaid info
|
|
|
735
365
|
"
|
|
736
366
|
`;
|
|
737
367
|
|
|
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`] = `
|
|
368
|
+
exports[`Regression > internal 20`] = `
|
|
785
369
|
"---
|
|
786
370
|
metadata:
|
|
787
371
|
- name: generator
|
|
@@ -880,53 +464,7 @@ metadata:
|
|
|
880
464
|
<!-- markdownlint-disable-file -->"
|
|
881
465
|
`;
|
|
882
466
|
|
|
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`] = `
|
|
467
|
+
exports[`Regression > internal 21`] = `
|
|
930
468
|
"---
|
|
931
469
|
metadata:
|
|
932
470
|
- name: generator
|
|
@@ -1010,52 +548,7 @@ Generated server url
|
|
|
1010
548
|
[*Deprecated]: No longer supported, please use an alternative and newer version."
|
|
1011
549
|
`;
|
|
1012
550
|
|
|
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`] = `
|
|
551
|
+
exports[`Regression > internal 22`] = `
|
|
1059
552
|
"---
|
|
1060
553
|
metadata:
|
|
1061
554
|
- name: generator
|
|
@@ -1070,52 +563,17 @@ metadata:
|
|
|
1070
563
|
<!-- markdownlint-disable-file -->"
|
|
1071
564
|
`;
|
|
1072
565
|
|
|
1073
|
-
exports[`Regression > internal
|
|
566
|
+
exports[`Regression > internal 23`] = `
|
|
567
|
+
"files:
|
|
568
|
+
- from: c.md
|
|
569
|
+
to: d.md
|
|
570
|
+
common:
|
|
571
|
+
- from: ./a.md
|
|
572
|
+
to: ./b.md
|
|
1074
573
|
"
|
|
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
574
|
`;
|
|
1117
575
|
|
|
1118
|
-
exports[`Regression > internal
|
|
576
|
+
exports[`Regression > internal 24`] = `
|
|
1119
577
|
"---
|
|
1120
578
|
metadata:
|
|
1121
579
|
- name: generator
|
|
@@ -1129,9 +587,7 @@ Item 1 text
|
|
|
1129
587
|
"
|
|
1130
588
|
`;
|
|
1131
589
|
|
|
1132
|
-
exports[`Regression > internal
|
|
1133
|
-
|
|
1134
|
-
exports[`Regression > internal > toc.yaml 1`] = `
|
|
590
|
+
exports[`Regression > internal 25`] = `
|
|
1135
591
|
"items:
|
|
1136
592
|
- name: Verbose root (index.yaml) will be transformed to index.html
|
|
1137
593
|
href: index.yaml
|
|
@@ -1148,9 +604,9 @@ exports[`Regression > internal > toc.yaml 1`] = `
|
|
|
1148
604
|
items:
|
|
1149
605
|
- name: Item 1
|
|
1150
606
|
href: sub/folder/item-1.md
|
|
1151
|
-
-
|
|
1152
|
-
|
|
1153
|
-
- name: Latex
|
|
607
|
+
- href: mermaid.md
|
|
608
|
+
name: Mermaid usage
|
|
609
|
+
- name: Latex usage
|
|
1154
610
|
href: latex.md
|
|
1155
611
|
- name: Images
|
|
1156
612
|
href: images.md
|
|
@@ -1158,6 +614,20 @@ exports[`Regression > internal > toc.yaml 1`] = `
|
|
|
1158
614
|
href: autotitle.md
|
|
1159
615
|
- name: includes
|
|
1160
616
|
href: includes.md
|
|
617
|
+
- name: generic
|
|
618
|
+
items:
|
|
619
|
+
- name: Note 1
|
|
620
|
+
href: generic/1.md
|
|
621
|
+
- name: Note 1
|
|
622
|
+
href: generic/2.md
|
|
623
|
+
- name: '3'
|
|
624
|
+
href: generic/3.md
|
|
625
|
+
- name: Sub notes
|
|
626
|
+
items:
|
|
627
|
+
- name: Sub note 1
|
|
628
|
+
href: generic/Sub notes/1.md
|
|
629
|
+
- name: Sub note 2
|
|
630
|
+
href: generic/Sub notes/2.md
|
|
1161
631
|
- name: openapi
|
|
1162
632
|
items:
|
|
1163
633
|
- name: Overview
|
|
@@ -1168,5 +638,726 @@ exports[`Regression > internal > toc.yaml 1`] = `
|
|
|
1168
638
|
href: openapi/test-controller/index.md
|
|
1169
639
|
- href: openapi/test-controller/getWithPayloadResponse.md
|
|
1170
640
|
name: Simple get operation. тест новой верстки 3
|
|
641
|
+
path: toc.yaml
|
|
1171
642
|
"
|
|
1172
643
|
`;
|
|
644
|
+
|
|
645
|
+
exports[`Regression > internal 26`] = `
|
|
646
|
+
"<!DOCTYPE html>
|
|
647
|
+
<html lang="ru" dir="ltr">
|
|
648
|
+
<head>
|
|
649
|
+
<meta charset="utf-8">
|
|
650
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
651
|
+
<base href="./" />
|
|
652
|
+
<title>Title</title>
|
|
653
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
654
|
+
|
|
655
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
656
|
+
|
|
657
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
658
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
659
|
+
</head>
|
|
660
|
+
<body class="g-root g-root_theme_light">
|
|
661
|
+
<div id="root"></div>
|
|
662
|
+
<script type="application/json" id="diplodoc-state">
|
|
663
|
+
{"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"]}
|
|
664
|
+
</script>
|
|
665
|
+
<script type="application/javascript">
|
|
666
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
667
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
668
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
669
|
+
})(data.innerText));
|
|
670
|
+
window.STATIC_CONTENT = false;
|
|
671
|
+
</script>
|
|
672
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
673
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
674
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
675
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
676
|
+
|
|
677
|
+
</body>
|
|
678
|
+
</html>"
|
|
679
|
+
`;
|
|
680
|
+
|
|
681
|
+
exports[`Regression > internal 27`] = `
|
|
682
|
+
"<!DOCTYPE html>
|
|
683
|
+
<html lang="ru" dir="ltr">
|
|
684
|
+
<head>
|
|
685
|
+
<meta charset="utf-8">
|
|
686
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
687
|
+
<base href="./" />
|
|
688
|
+
<title>Autotitles</title>
|
|
689
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
690
|
+
|
|
691
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
692
|
+
|
|
693
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
694
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
695
|
+
</head>
|
|
696
|
+
<body class="g-root g-root_theme_light">
|
|
697
|
+
<div id="root"></div>
|
|
698
|
+
<script type="application/json" id="diplodoc-state">
|
|
699
|
+
{"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"]}
|
|
700
|
+
</script>
|
|
701
|
+
<script type="application/javascript">
|
|
702
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
703
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
704
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
705
|
+
})(data.innerText));
|
|
706
|
+
window.STATIC_CONTENT = false;
|
|
707
|
+
</script>
|
|
708
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
709
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
710
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
711
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
712
|
+
|
|
713
|
+
</body>
|
|
714
|
+
</html>"
|
|
715
|
+
`;
|
|
716
|
+
|
|
717
|
+
exports[`Regression > internal 28`] = `
|
|
718
|
+
"<!DOCTYPE html>
|
|
719
|
+
<html lang="ru" dir="ltr">
|
|
720
|
+
<head>
|
|
721
|
+
<meta charset="utf-8">
|
|
722
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
723
|
+
<base href="./" />
|
|
724
|
+
<title>Redirect to d.md</title>
|
|
725
|
+
<meta http-equiv="refresh" content="0; url=d.md">
|
|
726
|
+
|
|
727
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
728
|
+
<script type="application/javascript">
|
|
729
|
+
window.location.replace("d.md");
|
|
730
|
+
</script>
|
|
731
|
+
|
|
732
|
+
</head>
|
|
733
|
+
<body class="g-root g-root_theme_light">
|
|
734
|
+
If you are not redirected automatically, follow this <a href="d.md">link</a>.
|
|
735
|
+
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
</body>
|
|
739
|
+
</html>"
|
|
740
|
+
`;
|
|
741
|
+
|
|
742
|
+
exports[`Regression > internal 29`] = `
|
|
743
|
+
"<!DOCTYPE html>
|
|
744
|
+
<html lang="ru" dir="ltr">
|
|
745
|
+
<head>
|
|
746
|
+
<meta charset="utf-8">
|
|
747
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
748
|
+
<base href="../" />
|
|
749
|
+
<title>Note 1</title>
|
|
750
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
751
|
+
|
|
752
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
753
|
+
|
|
754
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
755
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
756
|
+
</head>
|
|
757
|
+
<body class="g-root g-root_theme_light">
|
|
758
|
+
<div id="root"></div>
|
|
759
|
+
<script type="application/json" id="diplodoc-state">
|
|
760
|
+
{"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"]}
|
|
761
|
+
</script>
|
|
762
|
+
<script type="application/javascript">
|
|
763
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
764
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
765
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
766
|
+
})(data.innerText));
|
|
767
|
+
window.STATIC_CONTENT = false;
|
|
768
|
+
</script>
|
|
769
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
770
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
771
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
772
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
773
|
+
|
|
774
|
+
</body>
|
|
775
|
+
</html>"
|
|
776
|
+
`;
|
|
777
|
+
|
|
778
|
+
exports[`Regression > internal 30`] = `
|
|
779
|
+
"<!DOCTYPE html>
|
|
780
|
+
<html lang="ru" dir="ltr">
|
|
781
|
+
<head>
|
|
782
|
+
<meta charset="utf-8">
|
|
783
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
784
|
+
<base href="../" />
|
|
785
|
+
<title>Note 1</title>
|
|
786
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
787
|
+
|
|
788
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
789
|
+
|
|
790
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
791
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
792
|
+
</head>
|
|
793
|
+
<body class="g-root g-root_theme_light">
|
|
794
|
+
<div id="root"></div>
|
|
795
|
+
<script type="application/json" id="diplodoc-state">
|
|
796
|
+
{"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"]}
|
|
797
|
+
</script>
|
|
798
|
+
<script type="application/javascript">
|
|
799
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
800
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
801
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
802
|
+
})(data.innerText));
|
|
803
|
+
window.STATIC_CONTENT = false;
|
|
804
|
+
</script>
|
|
805
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
806
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
807
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
808
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
809
|
+
|
|
810
|
+
</body>
|
|
811
|
+
</html>"
|
|
812
|
+
`;
|
|
813
|
+
|
|
814
|
+
exports[`Regression > internal 31`] = `
|
|
815
|
+
"<!DOCTYPE html>
|
|
816
|
+
<html lang="ru" dir="ltr">
|
|
817
|
+
<head>
|
|
818
|
+
<meta charset="utf-8">
|
|
819
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
820
|
+
<base href="../" />
|
|
821
|
+
<title></title>
|
|
822
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
823
|
+
|
|
824
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
825
|
+
|
|
826
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
827
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
828
|
+
</head>
|
|
829
|
+
<body class="g-root g-root_theme_light">
|
|
830
|
+
<div id="root"></div>
|
|
831
|
+
<script type="application/json" id="diplodoc-state">
|
|
832
|
+
{"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"]}
|
|
833
|
+
</script>
|
|
834
|
+
<script type="application/javascript">
|
|
835
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
836
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
837
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
838
|
+
})(data.innerText));
|
|
839
|
+
window.STATIC_CONTENT = false;
|
|
840
|
+
</script>
|
|
841
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
842
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
843
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
844
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
845
|
+
|
|
846
|
+
</body>
|
|
847
|
+
</html>"
|
|
848
|
+
`;
|
|
849
|
+
|
|
850
|
+
exports[`Regression > internal 32`] = `
|
|
851
|
+
"<!DOCTYPE html>
|
|
852
|
+
<html lang="ru" dir="ltr">
|
|
853
|
+
<head>
|
|
854
|
+
<meta charset="utf-8">
|
|
855
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
856
|
+
<base href="../../" />
|
|
857
|
+
<title>Sub note 1</title>
|
|
858
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
859
|
+
|
|
860
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
861
|
+
|
|
862
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
863
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
864
|
+
</head>
|
|
865
|
+
<body class="g-root g-root_theme_light">
|
|
866
|
+
<div id="root"></div>
|
|
867
|
+
<script type="application/json" id="diplodoc-state">
|
|
868
|
+
{"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"]}
|
|
869
|
+
</script>
|
|
870
|
+
<script type="application/javascript">
|
|
871
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
872
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
873
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
874
|
+
})(data.innerText));
|
|
875
|
+
window.STATIC_CONTENT = false;
|
|
876
|
+
</script>
|
|
877
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
878
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
879
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
880
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
881
|
+
|
|
882
|
+
</body>
|
|
883
|
+
</html>"
|
|
884
|
+
`;
|
|
885
|
+
|
|
886
|
+
exports[`Regression > internal 33`] = `
|
|
887
|
+
"<!DOCTYPE html>
|
|
888
|
+
<html lang="ru" dir="ltr">
|
|
889
|
+
<head>
|
|
890
|
+
<meta charset="utf-8">
|
|
891
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
892
|
+
<base href="../../" />
|
|
893
|
+
<title>Sub note 2</title>
|
|
894
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
895
|
+
|
|
896
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
897
|
+
|
|
898
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
899
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
900
|
+
</head>
|
|
901
|
+
<body class="g-root g-root_theme_light">
|
|
902
|
+
<div id="root"></div>
|
|
903
|
+
<script type="application/json" id="diplodoc-state">
|
|
904
|
+
{"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"]}
|
|
905
|
+
</script>
|
|
906
|
+
<script type="application/javascript">
|
|
907
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
908
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
909
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
910
|
+
})(data.innerText));
|
|
911
|
+
window.STATIC_CONTENT = false;
|
|
912
|
+
</script>
|
|
913
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
914
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
915
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
916
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
917
|
+
|
|
918
|
+
</body>
|
|
919
|
+
</html>"
|
|
920
|
+
`;
|
|
921
|
+
|
|
922
|
+
exports[`Regression > internal 34`] = `
|
|
923
|
+
"<!DOCTYPE html>
|
|
924
|
+
<html lang="ru" dir="ltr">
|
|
925
|
+
<head>
|
|
926
|
+
<meta charset="utf-8">
|
|
927
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
928
|
+
<base href="./" />
|
|
929
|
+
<title>Images</title>
|
|
930
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
931
|
+
|
|
932
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
933
|
+
|
|
934
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
935
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
936
|
+
</head>
|
|
937
|
+
<body class="g-root g-root_theme_light">
|
|
938
|
+
<div id="root"></div>
|
|
939
|
+
<script type="application/json" id="diplodoc-state">
|
|
940
|
+
{"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"]}
|
|
941
|
+
</script>
|
|
942
|
+
<script type="application/javascript">
|
|
943
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
944
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
945
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
946
|
+
})(data.innerText));
|
|
947
|
+
window.STATIC_CONTENT = false;
|
|
948
|
+
</script>
|
|
949
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
950
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
951
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
952
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
953
|
+
|
|
954
|
+
</body>
|
|
955
|
+
</html>"
|
|
956
|
+
`;
|
|
957
|
+
|
|
958
|
+
exports[`Regression > internal 35`] = `
|
|
959
|
+
"<!DOCTYPE html>
|
|
960
|
+
<html lang="ru" dir="ltr">
|
|
961
|
+
<head>
|
|
962
|
+
<meta charset="utf-8">
|
|
963
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
964
|
+
<base href="./" />
|
|
965
|
+
<title>Included item</title>
|
|
966
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
967
|
+
|
|
968
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
969
|
+
|
|
970
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
971
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
972
|
+
</head>
|
|
973
|
+
<body class="g-root g-root_theme_light">
|
|
974
|
+
<div id="root"></div>
|
|
975
|
+
<script type="application/json" id="diplodoc-state">
|
|
976
|
+
{"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"]}
|
|
977
|
+
</script>
|
|
978
|
+
<script type="application/javascript">
|
|
979
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
980
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
981
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
982
|
+
})(data.innerText));
|
|
983
|
+
window.STATIC_CONTENT = false;
|
|
984
|
+
</script>
|
|
985
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
986
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
987
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
988
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
989
|
+
|
|
990
|
+
</body>
|
|
991
|
+
</html>"
|
|
992
|
+
`;
|
|
993
|
+
|
|
994
|
+
exports[`Regression > internal 36`] = `
|
|
995
|
+
"<!DOCTYPE html>
|
|
996
|
+
<html lang="ru" dir="ltr">
|
|
997
|
+
<head>
|
|
998
|
+
<meta charset="utf-8">
|
|
999
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1000
|
+
<base href="./" />
|
|
1001
|
+
<title></title>
|
|
1002
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1003
|
+
|
|
1004
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1005
|
+
|
|
1006
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
1007
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1008
|
+
</head>
|
|
1009
|
+
<body class="g-root g-root_theme_light">
|
|
1010
|
+
<div id="root"></div>
|
|
1011
|
+
<script type="application/json" id="diplodoc-state">
|
|
1012
|
+
{"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"]}
|
|
1013
|
+
</script>
|
|
1014
|
+
<script type="application/javascript">
|
|
1015
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1016
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1017
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1018
|
+
})(data.innerText));
|
|
1019
|
+
window.STATIC_CONTENT = false;
|
|
1020
|
+
</script>
|
|
1021
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
1022
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
1023
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
1024
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
1025
|
+
|
|
1026
|
+
</body>
|
|
1027
|
+
</html>"
|
|
1028
|
+
`;
|
|
1029
|
+
|
|
1030
|
+
exports[`Regression > internal 37`] = `
|
|
1031
|
+
"<!DOCTYPE html>
|
|
1032
|
+
<html lang="ru" dir="ltr">
|
|
1033
|
+
<head>
|
|
1034
|
+
<meta charset="utf-8">
|
|
1035
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1036
|
+
<base href="./" />
|
|
1037
|
+
<title></title>
|
|
1038
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1039
|
+
|
|
1040
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1041
|
+
|
|
1042
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
1043
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1044
|
+
</head>
|
|
1045
|
+
<body class="g-root g-root_theme_light">
|
|
1046
|
+
<div id="root"></div>
|
|
1047
|
+
<script type="application/json" id="diplodoc-state">
|
|
1048
|
+
{"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"]}
|
|
1049
|
+
</script>
|
|
1050
|
+
<script type="application/javascript">
|
|
1051
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1052
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1053
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1054
|
+
})(data.innerText));
|
|
1055
|
+
window.STATIC_CONTENT = false;
|
|
1056
|
+
</script>
|
|
1057
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
1058
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
1059
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
1060
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
1061
|
+
|
|
1062
|
+
</body>
|
|
1063
|
+
</html>"
|
|
1064
|
+
`;
|
|
1065
|
+
|
|
1066
|
+
exports[`Regression > internal 38`] = `
|
|
1067
|
+
"<!DOCTYPE html>
|
|
1068
|
+
<html lang="ru" dir="ltr">
|
|
1069
|
+
<head>
|
|
1070
|
+
<meta charset="utf-8">
|
|
1071
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1072
|
+
<base href="./" />
|
|
1073
|
+
<title>Latex usage</title>
|
|
1074
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1075
|
+
|
|
1076
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1077
|
+
|
|
1078
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
1079
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1080
|
+
<link type="text/css" rel="stylesheet" href="_bundle/latex-extension.css"/>
|
|
1081
|
+
</head>
|
|
1082
|
+
<body class="g-root g-root_theme_light">
|
|
1083
|
+
<div id="root"></div>
|
|
1084
|
+
<script type="application/json" id="diplodoc-state">
|
|
1085
|
+
{"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"]}
|
|
1086
|
+
</script>
|
|
1087
|
+
<script type="application/javascript">
|
|
1088
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1089
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1090
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1091
|
+
})(data.innerText));
|
|
1092
|
+
window.STATIC_CONTENT = false;
|
|
1093
|
+
</script>
|
|
1094
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
1095
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
1096
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
1097
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
1098
|
+
<script type="application/javascript" defer src="_bundle/latex-extension.js"></script>
|
|
1099
|
+
|
|
1100
|
+
</body>
|
|
1101
|
+
</html>"
|
|
1102
|
+
`;
|
|
1103
|
+
|
|
1104
|
+
exports[`Regression > internal 39`] = `
|
|
1105
|
+
"<!DOCTYPE html>
|
|
1106
|
+
<html lang="ru" dir="ltr">
|
|
1107
|
+
<head>
|
|
1108
|
+
<meta charset="utf-8">
|
|
1109
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1110
|
+
<base href="../" />
|
|
1111
|
+
<title>Should use merged item</title>
|
|
1112
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1113
|
+
|
|
1114
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1115
|
+
|
|
1116
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
1117
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1118
|
+
</head>
|
|
1119
|
+
<body class="g-root g-root_theme_light">
|
|
1120
|
+
<div id="root"></div>
|
|
1121
|
+
<script type="application/json" id="diplodoc-state">
|
|
1122
|
+
{"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"]}
|
|
1123
|
+
</script>
|
|
1124
|
+
<script type="application/javascript">
|
|
1125
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1126
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1127
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1128
|
+
})(data.innerText));
|
|
1129
|
+
window.STATIC_CONTENT = false;
|
|
1130
|
+
</script>
|
|
1131
|
+
<script type="application/javascript" defer src="merge/toc.js"></script>
|
|
1132
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
1133
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
1134
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
1135
|
+
|
|
1136
|
+
</body>
|
|
1137
|
+
</html>"
|
|
1138
|
+
`;
|
|
1139
|
+
|
|
1140
|
+
exports[`Regression > internal 40`] = `
|
|
1141
|
+
"<!DOCTYPE html>
|
|
1142
|
+
<html lang="ru" dir="ltr">
|
|
1143
|
+
<head>
|
|
1144
|
+
<meta charset="utf-8">
|
|
1145
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1146
|
+
<base href="../" />
|
|
1147
|
+
<title>Merged item</title>
|
|
1148
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1149
|
+
|
|
1150
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1151
|
+
|
|
1152
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
1153
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1154
|
+
</head>
|
|
1155
|
+
<body class="g-root g-root_theme_light">
|
|
1156
|
+
<div id="root"></div>
|
|
1157
|
+
<script type="application/json" id="diplodoc-state">
|
|
1158
|
+
{"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"]}
|
|
1159
|
+
</script>
|
|
1160
|
+
<script type="application/javascript">
|
|
1161
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1162
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1163
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1164
|
+
})(data.innerText));
|
|
1165
|
+
window.STATIC_CONTENT = false;
|
|
1166
|
+
</script>
|
|
1167
|
+
<script type="application/javascript" defer src="merge/toc.js"></script>
|
|
1168
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
1169
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
1170
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
1171
|
+
|
|
1172
|
+
</body>
|
|
1173
|
+
</html>"
|
|
1174
|
+
`;
|
|
1175
|
+
|
|
1176
|
+
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"};"`;
|
|
1177
|
+
|
|
1178
|
+
exports[`Regression > internal 42`] = `
|
|
1179
|
+
"<!DOCTYPE html>
|
|
1180
|
+
<html lang="ru" dir="ltr">
|
|
1181
|
+
<head>
|
|
1182
|
+
<meta charset="utf-8">
|
|
1183
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1184
|
+
<base href="./" />
|
|
1185
|
+
<title>Mermaid usage</title>
|
|
1186
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1187
|
+
|
|
1188
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1189
|
+
|
|
1190
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
1191
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1192
|
+
</head>
|
|
1193
|
+
<body class="g-root g-root_theme_light">
|
|
1194
|
+
<div id="root"></div>
|
|
1195
|
+
<script type="application/json" id="diplodoc-state">
|
|
1196
|
+
{"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"]}
|
|
1197
|
+
</script>
|
|
1198
|
+
<script type="application/javascript">
|
|
1199
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1200
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1201
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1202
|
+
})(data.innerText));
|
|
1203
|
+
window.STATIC_CONTENT = false;
|
|
1204
|
+
</script>
|
|
1205
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
1206
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
1207
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
1208
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
1209
|
+
<script type="application/javascript" defer src="_bundle/mermaid-extension.js"></script>
|
|
1210
|
+
|
|
1211
|
+
</body>
|
|
1212
|
+
</html>"
|
|
1213
|
+
`;
|
|
1214
|
+
|
|
1215
|
+
exports[`Regression > internal 43`] = `
|
|
1216
|
+
"<!DOCTYPE html>
|
|
1217
|
+
<html lang="ru" dir="ltr">
|
|
1218
|
+
<head>
|
|
1219
|
+
<meta charset="utf-8">
|
|
1220
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1221
|
+
<base href="../" />
|
|
1222
|
+
<title>OpenAPI definition</title>
|
|
1223
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1224
|
+
|
|
1225
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1226
|
+
|
|
1227
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
1228
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1229
|
+
<link type="text/css" rel="stylesheet" href="_assets/cut-extension.css"/>
|
|
1230
|
+
</head>
|
|
1231
|
+
<body class="g-root g-root_theme_light">
|
|
1232
|
+
<div id="root"></div>
|
|
1233
|
+
<script type="application/json" id="diplodoc-state">
|
|
1234
|
+
{"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"]}
|
|
1235
|
+
</script>
|
|
1236
|
+
<script type="application/javascript">
|
|
1237
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1238
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1239
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1240
|
+
})(data.innerText));
|
|
1241
|
+
window.STATIC_CONTENT = false;
|
|
1242
|
+
</script>
|
|
1243
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
1244
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
1245
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
1246
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
1247
|
+
<script type="application/javascript" defer src="_assets/cut-extension.js"></script>
|
|
1248
|
+
|
|
1249
|
+
</body>
|
|
1250
|
+
</html>"
|
|
1251
|
+
`;
|
|
1252
|
+
|
|
1253
|
+
exports[`Regression > internal 44`] = `
|
|
1254
|
+
"<!DOCTYPE html>
|
|
1255
|
+
<html lang="ru" dir="ltr">
|
|
1256
|
+
<head>
|
|
1257
|
+
<meta charset="utf-8">
|
|
1258
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1259
|
+
<base href="../../" />
|
|
1260
|
+
<title></title>
|
|
1261
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1262
|
+
|
|
1263
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1264
|
+
|
|
1265
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
1266
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1267
|
+
<link type="text/css" rel="stylesheet" href="_assets/cut-extension.css"/>
|
|
1268
|
+
</head>
|
|
1269
|
+
<body class="g-root g-root_theme_light">
|
|
1270
|
+
<div id="root"></div>
|
|
1271
|
+
<script type="application/json" id="diplodoc-state">
|
|
1272
|
+
{"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"]}
|
|
1273
|
+
</script>
|
|
1274
|
+
<script type="application/javascript">
|
|
1275
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1276
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1277
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1278
|
+
})(data.innerText));
|
|
1279
|
+
window.STATIC_CONTENT = false;
|
|
1280
|
+
</script>
|
|
1281
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
1282
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
1283
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
1284
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
1285
|
+
<script type="application/javascript" defer src="_assets/cut-extension.js"></script>
|
|
1286
|
+
|
|
1287
|
+
</body>
|
|
1288
|
+
</html>"
|
|
1289
|
+
`;
|
|
1290
|
+
|
|
1291
|
+
exports[`Regression > internal 45`] = `
|
|
1292
|
+
"<!DOCTYPE html>
|
|
1293
|
+
<html lang="ru" dir="ltr">
|
|
1294
|
+
<head>
|
|
1295
|
+
<meta charset="utf-8">
|
|
1296
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1297
|
+
<base href="../../" />
|
|
1298
|
+
<title>test-controller</title>
|
|
1299
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1300
|
+
|
|
1301
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1302
|
+
|
|
1303
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
1304
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1305
|
+
</head>
|
|
1306
|
+
<body class="g-root g-root_theme_light">
|
|
1307
|
+
<div id="root"></div>
|
|
1308
|
+
<script type="application/json" id="diplodoc-state">
|
|
1309
|
+
{"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"]}
|
|
1310
|
+
</script>
|
|
1311
|
+
<script type="application/javascript">
|
|
1312
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1313
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1314
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1315
|
+
})(data.innerText));
|
|
1316
|
+
window.STATIC_CONTENT = false;
|
|
1317
|
+
</script>
|
|
1318
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
1319
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
1320
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
1321
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
1322
|
+
|
|
1323
|
+
</body>
|
|
1324
|
+
</html>"
|
|
1325
|
+
`;
|
|
1326
|
+
|
|
1327
|
+
exports[`Regression > internal 46`] = `
|
|
1328
|
+
"<!DOCTYPE html>
|
|
1329
|
+
<html lang="ru" dir="ltr">
|
|
1330
|
+
<head>
|
|
1331
|
+
<meta charset="utf-8">
|
|
1332
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1333
|
+
<base href="../../" />
|
|
1334
|
+
<title>Item 1</title>
|
|
1335
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1336
|
+
|
|
1337
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1338
|
+
|
|
1339
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
1340
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1341
|
+
</head>
|
|
1342
|
+
<body class="g-root g-root_theme_light">
|
|
1343
|
+
<div id="root"></div>
|
|
1344
|
+
<script type="application/json" id="diplodoc-state">
|
|
1345
|
+
{"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"]}
|
|
1346
|
+
</script>
|
|
1347
|
+
<script type="application/javascript">
|
|
1348
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1349
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1350
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1351
|
+
})(data.innerText));
|
|
1352
|
+
window.STATIC_CONTENT = false;
|
|
1353
|
+
</script>
|
|
1354
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
1355
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
1356
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
1357
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
1358
|
+
|
|
1359
|
+
</body>
|
|
1360
|
+
</html>"
|
|
1361
|
+
`;
|
|
1362
|
+
|
|
1363
|
+
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"};"`;
|