@diplodoc/cli-tests 0.0.0-rc-reusable-e2es-202504041505 → 0.0.0-rc-fix-lint-202505221548
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/bin.mjs +4 -6
- package/e2e/__snapshots__/include-toc.test.ts.snap +21 -13
- package/e2e/__snapshots__/load-custom-resources.spec.ts.snap +257 -310
- package/e2e/__snapshots__/metadata.spec.ts.snap +111 -137
- package/e2e/__snapshots__/plugin-corner-cases.spec.ts.snap +0 -0
- package/e2e/__snapshots__/regression.test.ts.snap +799 -604
- package/e2e/__snapshots__/rtl.spec.ts.snap +226 -282
- package/e2e/__snapshots__/translation.spec.ts.snap +426 -0
- package/e2e/generate-map.spec.ts +2 -5
- package/e2e/include-toc.test.ts +15 -18
- package/e2e/load-custom-resources.spec.ts +3 -6
- package/e2e/metadata.spec.ts +3 -6
- package/e2e/plugin-corner-cases.spec.ts +3 -6
- package/e2e/regression.test.ts +13 -11
- package/e2e/rtl.spec.ts +3 -6
- package/e2e/translation.spec.ts +55 -0
- package/fixtures/cliAdapter.ts +46 -6
- package/fixtures/runners/binary.ts +5 -19
- package/fixtures/runners/source.ts +3 -8
- package/fixtures/utils/file.ts +23 -16
- package/fixtures/utils/test.ts +2 -2
- package/mocks/include-toc/test6/input/toc.yaml +1 -0
- package/mocks/regression/input/1.md +6 -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 +2 -0
- package/mocks/regression/input/redirects.yaml +6 -0
- package/mocks/regression/input/sub/folder/item-1.md +2 -0
- package/mocks/regression/input/toc.yaml +7 -3
- package/mocks/translation/dir-files/input/ru/_includes/test.md +1 -0
- package/mocks/translation/dir-files/input/ru/_no-translate/exclude.md +1 -0
- package/mocks/translation/dir-files/input/ru/aboba.md +7 -0
- package/mocks/translation/dir-files/input/ru/index.md +3 -0
- package/mocks/translation/dir-files/input/ru/nested/index-yfm.md +2 -0
- package/mocks/translation/dir-files/input/ru/nested/index.yaml +24 -0
- package/mocks/translation/dir-files/input/ru/nested/not-in-toc.md +20 -0
- package/mocks/translation/dir-files/input/ru/nested/syntax/base.md +1 -0
- package/mocks/translation/dir-files/input/ru/nested/syntax/index.md +2 -0
- package/mocks/translation/dir-files/input/ru/nested/syntax/lists.md +1 -0
- package/mocks/translation/dir-files/input/ru/nested/toc.yaml +18 -0
- package/mocks/translation/dir-files/input/ru/not-in-toc.md +20 -0
- package/mocks/translation/dir-files/input/ru/toc.yaml +7 -0
- package/mocks/translation/yaml-scheme/input/ru/.yfm +1 -0
- package/mocks/translation/yaml-scheme/input/ru/index-direct.yaml +133 -0
- package/mocks/translation/yaml-scheme/input/ru/index.yaml +32 -0
- package/mocks/translation/yaml-scheme/input/ru/toc.yaml +19 -0
- package/package.json +8 -6
|
@@ -1,48 +1,39 @@
|
|
|
1
1
|
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
2
2
|
|
|
3
3
|
exports[`Regression > internal > 1.html 1`] = `
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
<
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
</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
|
-
"
|
|
4
|
+
"<!DOCTYPE html>
|
|
5
|
+
<html lang="ru" dir="ltr">
|
|
6
|
+
<head>
|
|
7
|
+
<meta charset="utf-8">
|
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
9
|
+
<base href="./" />
|
|
10
|
+
<title>Title</title>
|
|
11
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
12
|
+
|
|
13
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
14
|
+
|
|
15
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
16
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
17
|
+
</head>
|
|
18
|
+
<body class="g-root g-root_theme_light">
|
|
19
|
+
<div id="root"></div>
|
|
20
|
+
<script type="application/json" id="diplodoc-state">
|
|
21
|
+
{"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=\\"nowhere-link.html\\">nowhere-link</a></p>/n<p><a href=\\"includes\\">noext-link</a></p>/n<p>Bob</p>/n<p>Forbibben text before {% include <a href=\\"includes/user-3afe8b28d0fa.html\\">user</a> %}</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"]}
|
|
22
|
+
</script>
|
|
23
|
+
<script type="application/javascript">
|
|
24
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
25
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
26
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
27
|
+
})(data.innerText));
|
|
28
|
+
window.STATIC_CONTENT = false;
|
|
29
|
+
</script>
|
|
30
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
31
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
32
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
33
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
34
|
+
|
|
35
|
+
</body>
|
|
36
|
+
</html>"
|
|
46
37
|
`;
|
|
47
38
|
|
|
48
39
|
exports[`Regression > internal > 1.md 1`] = `
|
|
@@ -77,53 +68,50 @@ default-var-value
|
|
|
77
68
|
|
|
78
69
|
[](./latex.md)
|
|
79
70
|
|
|
80
|
-
|
|
71
|
+
[nowhere-link](./nowhere-link.md)
|
|
72
|
+
|
|
73
|
+
[noext-link](./includes)
|
|
74
|
+
|
|
75
|
+
{% include [user](includes/user-3afe8b28d0fa.md) %}
|
|
76
|
+
|
|
77
|
+
Forbibben text before {% include [user](includes/user-3afe8b28d0fa.md) %}
|
|
81
78
|
"
|
|
82
79
|
`;
|
|
83
80
|
|
|
84
81
|
exports[`Regression > internal > autotitle.html 1`] = `
|
|
85
|
-
"
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
<
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
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
|
-
"
|
|
82
|
+
"<!DOCTYPE html>
|
|
83
|
+
<html lang="ru" dir="ltr">
|
|
84
|
+
<head>
|
|
85
|
+
<meta charset="utf-8">
|
|
86
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
87
|
+
<base href="./" />
|
|
88
|
+
<title>Autotitles</title>
|
|
89
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
90
|
+
|
|
91
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
92
|
+
|
|
93
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
94
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
95
|
+
</head>
|
|
96
|
+
<body class="g-root g-root_theme_light">
|
|
97
|
+
<div id="root"></div>
|
|
98
|
+
<script type="application/json" id="diplodoc-state">
|
|
99
|
+
{"data":{"leading":false,"html":"<p>Empty title<br />/n<a href=\\"1.html\\">Title</a></p>/n<p>Empty subtitle<br />/n<a href=\\"1.html#subtitle\\">Subtitle</a></p>/n<p>Special title<br />/n<a href=\\"1.html\\">Title</a></p>/n<p>Special subtitle<br />/n<a href=\\"1.html#subtitle\\">Subtitle</a></p>/n<p>Empty local title<br />/n<a href=\\"autotitle.html#header\\">Header</a></p>/n<p>Special local title<br />/n<a href=\\"autotitle.html#header\\">Header</a></p>/n<h2 id=\\"header\\"><a href=\\"autotitle.html#header\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Header</span></a>Header</h2>/n<p>Content</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[{"title":"Header","href":"autotitle.html#header","level":2}],"title":"Autotitles"},"router":{"pathname":"autotitle","depth":1,"base":"./"},"lang":"ru","langs":["ru"]}
|
|
100
|
+
</script>
|
|
101
|
+
<script type="application/javascript">
|
|
102
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
103
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
104
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
105
|
+
})(data.innerText));
|
|
106
|
+
window.STATIC_CONTENT = false;
|
|
107
|
+
</script>
|
|
108
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
109
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
110
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
111
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
112
|
+
|
|
113
|
+
</body>
|
|
114
|
+
</html>"
|
|
127
115
|
`;
|
|
128
116
|
|
|
129
117
|
exports[`Regression > internal > autotitle.md 1`] = `
|
|
@@ -158,6 +146,31 @@ Content
|
|
|
158
146
|
"
|
|
159
147
|
`;
|
|
160
148
|
|
|
149
|
+
exports[`Regression > internal > c.md 1`] = `
|
|
150
|
+
"<!DOCTYPE html>
|
|
151
|
+
<html lang="ru" dir="ltr">
|
|
152
|
+
<head>
|
|
153
|
+
<meta charset="utf-8">
|
|
154
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
155
|
+
<base href="./" />
|
|
156
|
+
<title>Redirect to d.md</title>
|
|
157
|
+
<meta http-equiv="refresh" content="0; url=d.md">
|
|
158
|
+
|
|
159
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
160
|
+
<script type="application/javascript">
|
|
161
|
+
window.location.replace("d.md");
|
|
162
|
+
</script>
|
|
163
|
+
|
|
164
|
+
</head>
|
|
165
|
+
<body class="g-root g-root_theme_light">
|
|
166
|
+
If you are not redirected automatically, follow this <a href="d.md">link</a>.
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
</body>
|
|
171
|
+
</html>"
|
|
172
|
+
`;
|
|
173
|
+
|
|
161
174
|
exports[`Regression > internal > filelist 1`] = `
|
|
162
175
|
"[
|
|
163
176
|
"1.md",
|
|
@@ -166,11 +179,17 @@ exports[`Regression > internal > filelist 1`] = `
|
|
|
166
179
|
"_assets/3.png",
|
|
167
180
|
"_assets/empty.pdf",
|
|
168
181
|
"autotitle.md",
|
|
182
|
+
"generic/1.md",
|
|
183
|
+
"generic/2.md",
|
|
184
|
+
"generic/3.md",
|
|
185
|
+
"generic/Sub notes/1.md",
|
|
186
|
+
"generic/Sub notes/2.md",
|
|
169
187
|
"images.md",
|
|
170
188
|
"included-item.md",
|
|
171
189
|
"includes.md",
|
|
172
|
-
"includes/
|
|
173
|
-
"includes/
|
|
190
|
+
"includes/deep-3afe8b28d0fa.md",
|
|
191
|
+
"includes/test-3afe8b28d0fa.md",
|
|
192
|
+
"includes/user-3afe8b28d0fa.md",
|
|
174
193
|
"index.yaml",
|
|
175
194
|
"latex.md",
|
|
176
195
|
"merge/merge.md",
|
|
@@ -180,6 +199,7 @@ exports[`Regression > internal > filelist 1`] = `
|
|
|
180
199
|
"openapi/index.md",
|
|
181
200
|
"openapi/test-controller/getWithPayloadResponse.md",
|
|
182
201
|
"openapi/test-controller/index.md",
|
|
202
|
+
"redirects.yaml",
|
|
183
203
|
"sub/folder/item-1.md",
|
|
184
204
|
"toc.yaml"
|
|
185
205
|
]"
|
|
@@ -205,6 +225,12 @@ exports[`Regression > internal > filelist 2`] = `
|
|
|
205
225
|
"_bundle/search-js-2",
|
|
206
226
|
"_bundle/search-css-1",
|
|
207
227
|
"autotitle.html",
|
|
228
|
+
"c.md",
|
|
229
|
+
"generic/1.html",
|
|
230
|
+
"generic/2.html",
|
|
231
|
+
"generic/3.html",
|
|
232
|
+
"generic/Sub notes/1.html",
|
|
233
|
+
"generic/Sub notes/2.html",
|
|
208
234
|
"images.html",
|
|
209
235
|
"included-item.html",
|
|
210
236
|
"includes.html",
|
|
@@ -222,49 +248,278 @@ exports[`Regression > internal > filelist 2`] = `
|
|
|
222
248
|
]"
|
|
223
249
|
`;
|
|
224
250
|
|
|
225
|
-
exports[`Regression > internal >
|
|
251
|
+
exports[`Regression > internal > generic/1.html 1`] = `
|
|
252
|
+
"<!DOCTYPE html>
|
|
253
|
+
<html lang="ru" dir="ltr">
|
|
254
|
+
<head>
|
|
255
|
+
<meta charset="utf-8">
|
|
256
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
257
|
+
<base href="../" />
|
|
258
|
+
<title>Note 1</title>
|
|
259
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
260
|
+
|
|
261
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
262
|
+
|
|
263
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
264
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
265
|
+
</head>
|
|
266
|
+
<body class="g-root g-root_theme_light">
|
|
267
|
+
<div id="root"></div>
|
|
268
|
+
<script type="application/json" id="diplodoc-state">
|
|
269
|
+
{"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"]}
|
|
270
|
+
</script>
|
|
271
|
+
<script type="application/javascript">
|
|
272
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
273
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
274
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
275
|
+
})(data.innerText));
|
|
276
|
+
window.STATIC_CONTENT = false;
|
|
277
|
+
</script>
|
|
278
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
279
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
280
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
281
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
282
|
+
|
|
283
|
+
</body>
|
|
284
|
+
</html>"
|
|
285
|
+
`;
|
|
286
|
+
|
|
287
|
+
exports[`Regression > internal > generic/1.md 1`] = `
|
|
288
|
+
"---
|
|
289
|
+
metadata:
|
|
290
|
+
- name: generator
|
|
291
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
292
|
+
---
|
|
293
|
+
# Note 1
|
|
294
|
+
|
|
295
|
+
Note content 1
|
|
226
296
|
"
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
297
|
+
`;
|
|
298
|
+
|
|
299
|
+
exports[`Regression > internal > generic/2.html 1`] = `
|
|
300
|
+
"<!DOCTYPE html>
|
|
301
|
+
<html lang="ru" dir="ltr">
|
|
302
|
+
<head>
|
|
303
|
+
<meta charset="utf-8">
|
|
304
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
305
|
+
<base href="../" />
|
|
306
|
+
<title>Note 1</title>
|
|
307
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
308
|
+
|
|
309
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
310
|
+
|
|
311
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
312
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
313
|
+
</head>
|
|
314
|
+
<body class="g-root g-root_theme_light">
|
|
315
|
+
<div id="root"></div>
|
|
316
|
+
<script type="application/json" id="diplodoc-state">
|
|
317
|
+
{"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"]}
|
|
318
|
+
</script>
|
|
319
|
+
<script type="application/javascript">
|
|
320
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
321
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
322
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
323
|
+
})(data.innerText));
|
|
324
|
+
window.STATIC_CONTENT = false;
|
|
325
|
+
</script>
|
|
326
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
327
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
328
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
329
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
330
|
+
|
|
331
|
+
</body>
|
|
332
|
+
</html>"
|
|
333
|
+
`;
|
|
334
|
+
|
|
335
|
+
exports[`Regression > internal > generic/2.md 1`] = `
|
|
336
|
+
"---
|
|
337
|
+
metadata:
|
|
338
|
+
- name: generator
|
|
339
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
340
|
+
---
|
|
341
|
+
# Note 1
|
|
342
|
+
|
|
343
|
+
Note content 1
|
|
344
|
+
"
|
|
345
|
+
`;
|
|
346
|
+
|
|
347
|
+
exports[`Regression > internal > generic/3.html 1`] = `
|
|
348
|
+
"<!DOCTYPE html>
|
|
349
|
+
<html lang="ru" dir="ltr">
|
|
350
|
+
<head>
|
|
351
|
+
<meta charset="utf-8">
|
|
352
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
353
|
+
<base href="../" />
|
|
354
|
+
<title></title>
|
|
355
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
356
|
+
|
|
357
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
358
|
+
|
|
359
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
360
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
361
|
+
</head>
|
|
362
|
+
<body class="g-root g-root_theme_light">
|
|
363
|
+
<div id="root"></div>
|
|
364
|
+
<script type="application/json" id="diplodoc-state">
|
|
365
|
+
{"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"]}
|
|
366
|
+
</script>
|
|
367
|
+
<script type="application/javascript">
|
|
368
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
369
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
370
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
371
|
+
})(data.innerText));
|
|
372
|
+
window.STATIC_CONTENT = false;
|
|
373
|
+
</script>
|
|
374
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
375
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
376
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
377
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
378
|
+
|
|
379
|
+
</body>
|
|
380
|
+
</html>"
|
|
381
|
+
`;
|
|
382
|
+
|
|
383
|
+
exports[`Regression > internal > generic/3.md 1`] = `
|
|
384
|
+
"---
|
|
385
|
+
metadata:
|
|
386
|
+
- name: generator
|
|
387
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
388
|
+
---
|
|
389
|
+
Note content 1
|
|
390
|
+
"
|
|
391
|
+
`;
|
|
392
|
+
|
|
393
|
+
exports[`Regression > internal > generic/Sub notes/1.html 1`] = `
|
|
394
|
+
"<!DOCTYPE html>
|
|
395
|
+
<html lang="ru" dir="ltr">
|
|
396
|
+
<head>
|
|
397
|
+
<meta charset="utf-8">
|
|
398
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
399
|
+
<base href="../../" />
|
|
400
|
+
<title>Sub note 1</title>
|
|
401
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
402
|
+
|
|
403
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
404
|
+
|
|
405
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
406
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
407
|
+
</head>
|
|
408
|
+
<body class="g-root g-root_theme_light">
|
|
409
|
+
<div id="root"></div>
|
|
410
|
+
<script type="application/json" id="diplodoc-state">
|
|
411
|
+
{"data":{"leading":false,"html":"<p>Note content 1</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[],"title":"Sub note 1"},"router":{"pathname":"generic/Sub notes/1","depth":3,"base":"../../"},"lang":"ru","langs":["ru"]}
|
|
412
|
+
</script>
|
|
413
|
+
<script type="application/javascript">
|
|
414
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
415
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
416
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
417
|
+
})(data.innerText));
|
|
418
|
+
window.STATIC_CONTENT = false;
|
|
419
|
+
</script>
|
|
420
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
421
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
422
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
423
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
424
|
+
|
|
425
|
+
</body>
|
|
426
|
+
</html>"
|
|
427
|
+
`;
|
|
428
|
+
|
|
429
|
+
exports[`Regression > internal > generic/Sub notes/1.md 1`] = `
|
|
430
|
+
"---
|
|
431
|
+
metadata:
|
|
432
|
+
- name: generator
|
|
433
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
434
|
+
---
|
|
435
|
+
# Sub note 1
|
|
436
|
+
|
|
437
|
+
Note content 1
|
|
438
|
+
"
|
|
439
|
+
`;
|
|
440
|
+
|
|
441
|
+
exports[`Regression > internal > generic/Sub notes/2.html 1`] = `
|
|
442
|
+
"<!DOCTYPE html>
|
|
443
|
+
<html lang="ru" dir="ltr">
|
|
444
|
+
<head>
|
|
445
|
+
<meta charset="utf-8">
|
|
446
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
447
|
+
<base href="../../" />
|
|
448
|
+
<title>Sub note 2</title>
|
|
449
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
450
|
+
|
|
451
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
452
|
+
|
|
453
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
454
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
455
|
+
</head>
|
|
456
|
+
<body class="g-root g-root_theme_light">
|
|
457
|
+
<div id="root"></div>
|
|
458
|
+
<script type="application/json" id="diplodoc-state">
|
|
459
|
+
{"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"]}
|
|
460
|
+
</script>
|
|
461
|
+
<script type="application/javascript">
|
|
462
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
463
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
464
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
465
|
+
})(data.innerText));
|
|
466
|
+
window.STATIC_CONTENT = false;
|
|
467
|
+
</script>
|
|
468
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
469
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
470
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
471
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
472
|
+
|
|
473
|
+
</body>
|
|
474
|
+
</html>"
|
|
475
|
+
`;
|
|
476
|
+
|
|
477
|
+
exports[`Regression > internal > generic/Sub notes/2.md 1`] = `
|
|
478
|
+
"---
|
|
479
|
+
metadata:
|
|
480
|
+
- name: generator
|
|
481
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
482
|
+
---
|
|
483
|
+
# Sub note 2
|
|
484
|
+
|
|
485
|
+
Note content 2
|
|
486
|
+
"
|
|
487
|
+
`;
|
|
488
|
+
|
|
489
|
+
exports[`Regression > internal > images.html 1`] = `
|
|
490
|
+
"<!DOCTYPE html>
|
|
491
|
+
<html lang="ru" dir="ltr">
|
|
492
|
+
<head>
|
|
493
|
+
<meta charset="utf-8">
|
|
494
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
495
|
+
<base href="./" />
|
|
496
|
+
<title>Images</title>
|
|
497
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
498
|
+
|
|
499
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
500
|
+
|
|
501
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
502
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
503
|
+
</head>
|
|
504
|
+
<body class="g-root g-root_theme_light">
|
|
505
|
+
<div id="root"></div>
|
|
506
|
+
<script type="application/json" id="diplodoc-state">
|
|
507
|
+
{"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"]}
|
|
508
|
+
</script>
|
|
509
|
+
<script type="application/javascript">
|
|
510
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
511
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
512
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
513
|
+
})(data.innerText));
|
|
514
|
+
window.STATIC_CONTENT = false;
|
|
515
|
+
</script>
|
|
516
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
517
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
518
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
519
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
520
|
+
|
|
521
|
+
</body>
|
|
522
|
+
</html>"
|
|
268
523
|
`;
|
|
269
524
|
|
|
270
525
|
exports[`Regression > internal > images.md 1`] = `
|
|
@@ -286,48 +541,39 @@ metadata:
|
|
|
286
541
|
`;
|
|
287
542
|
|
|
288
543
|
exports[`Regression > internal > included-item.html 1`] = `
|
|
289
|
-
"
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
<
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
</script>
|
|
323
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
324
|
-
|
|
325
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
326
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
327
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
328
|
-
</body>
|
|
329
|
-
</html>
|
|
330
|
-
"
|
|
544
|
+
"<!DOCTYPE html>
|
|
545
|
+
<html lang="ru" dir="ltr">
|
|
546
|
+
<head>
|
|
547
|
+
<meta charset="utf-8">
|
|
548
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
549
|
+
<base href="./" />
|
|
550
|
+
<title>Included item</title>
|
|
551
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
552
|
+
|
|
553
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
554
|
+
|
|
555
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
556
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
557
|
+
</head>
|
|
558
|
+
<body class="g-root g-root_theme_light">
|
|
559
|
+
<div id="root"></div>
|
|
560
|
+
<script type="application/json" id="diplodoc-state">
|
|
561
|
+
{"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"]}
|
|
562
|
+
</script>
|
|
563
|
+
<script type="application/javascript">
|
|
564
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
565
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
566
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
567
|
+
})(data.innerText));
|
|
568
|
+
window.STATIC_CONTENT = false;
|
|
569
|
+
</script>
|
|
570
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
571
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
572
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
573
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
574
|
+
|
|
575
|
+
</body>
|
|
576
|
+
</html>"
|
|
331
577
|
`;
|
|
332
578
|
|
|
333
579
|
exports[`Regression > internal > included-item.md 1`] = `
|
|
@@ -353,48 +599,39 @@ Included item text
|
|
|
353
599
|
`;
|
|
354
600
|
|
|
355
601
|
exports[`Regression > internal > includes.html 1`] = `
|
|
356
|
-
"
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
<
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
</script>
|
|
390
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
391
|
-
|
|
392
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
393
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
394
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
395
|
-
</body>
|
|
396
|
-
</html>
|
|
397
|
-
"
|
|
602
|
+
"<!DOCTYPE html>
|
|
603
|
+
<html lang="ru" dir="ltr">
|
|
604
|
+
<head>
|
|
605
|
+
<meta charset="utf-8">
|
|
606
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
607
|
+
<base href="./" />
|
|
608
|
+
<title></title>
|
|
609
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
610
|
+
|
|
611
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
612
|
+
|
|
613
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
614
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
615
|
+
</head>
|
|
616
|
+
<body class="g-root g-root_theme_light">
|
|
617
|
+
<div id="root"></div>
|
|
618
|
+
<script type="application/json" id="diplodoc-state">
|
|
619
|
+
{"data":{"leading":false,"html":"<p>Text</p>/n<p>Bob</p>/n<p>Test</p>/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"]}
|
|
620
|
+
</script>
|
|
621
|
+
<script type="application/javascript">
|
|
622
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
623
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
624
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
625
|
+
})(data.innerText));
|
|
626
|
+
window.STATIC_CONTENT = false;
|
|
627
|
+
</script>
|
|
628
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
629
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
630
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
631
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
632
|
+
|
|
633
|
+
</body>
|
|
634
|
+
</html>"
|
|
398
635
|
`;
|
|
399
636
|
|
|
400
637
|
exports[`Regression > internal > includes.md 1`] = `
|
|
@@ -405,65 +642,63 @@ metadata:
|
|
|
405
642
|
---
|
|
406
643
|
Text
|
|
407
644
|
|
|
408
|
-
{% include [user](includes/user.md) %}
|
|
645
|
+
{% include [user](includes/user-3afe8b28d0fa.md) %}
|
|
646
|
+
|
|
647
|
+
{% include [test](includes/test-3afe8b28d0fa.md) %}
|
|
648
|
+
|
|
649
|
+
{% include [For includes/deep-3afe8b28d0fa.md](includes/deep-3afe8b28d0fa.md) %}
|
|
650
|
+
"
|
|
651
|
+
`;
|
|
409
652
|
|
|
410
|
-
|
|
653
|
+
exports[`Regression > internal > includes/deep-3afe8b28d0fa.md 1`] = `
|
|
654
|
+
"{% include [user](./user-3afe8b28d0fa.md) %}
|
|
411
655
|
"
|
|
412
656
|
`;
|
|
413
657
|
|
|
414
|
-
exports[`Regression > internal > includes/test.md 1`] = `
|
|
658
|
+
exports[`Regression > internal > includes/test-3afe8b28d0fa.md 1`] = `
|
|
415
659
|
"Test
|
|
416
660
|
"
|
|
417
661
|
`;
|
|
418
662
|
|
|
419
|
-
exports[`Regression > internal > includes/user.md 1`] = `
|
|
663
|
+
exports[`Regression > internal > includes/user-3afe8b28d0fa.md 1`] = `
|
|
420
664
|
"Bob
|
|
421
665
|
"
|
|
422
666
|
`;
|
|
423
667
|
|
|
424
668
|
exports[`Regression > internal > index.html 1`] = `
|
|
425
|
-
"
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
<
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
</script>
|
|
459
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
460
|
-
|
|
461
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
462
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
463
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
464
|
-
</body>
|
|
465
|
-
</html>
|
|
466
|
-
"
|
|
669
|
+
"<!DOCTYPE html>
|
|
670
|
+
<html lang="ru" dir="ltr">
|
|
671
|
+
<head>
|
|
672
|
+
<meta charset="utf-8">
|
|
673
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
674
|
+
<base href="./" />
|
|
675
|
+
<title></title>
|
|
676
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
677
|
+
|
|
678
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
679
|
+
|
|
680
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
681
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
682
|
+
</head>
|
|
683
|
+
<body class="g-root g-root_theme_light">
|
|
684
|
+
<div id="root"></div>
|
|
685
|
+
<script type="application/json" id="diplodoc-state">
|
|
686
|
+
{"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"]}
|
|
687
|
+
</script>
|
|
688
|
+
<script type="application/javascript">
|
|
689
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
690
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
691
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
692
|
+
})(data.innerText));
|
|
693
|
+
window.STATIC_CONTENT = false;
|
|
694
|
+
</script>
|
|
695
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
696
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
697
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
698
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
699
|
+
|
|
700
|
+
</body>
|
|
701
|
+
</html>"
|
|
467
702
|
`;
|
|
468
703
|
|
|
469
704
|
exports[`Regression > internal > index.yaml 1`] = `
|
|
@@ -482,49 +717,41 @@ meta:
|
|
|
482
717
|
`;
|
|
483
718
|
|
|
484
719
|
exports[`Regression > internal > latex.html 1`] = `
|
|
485
|
-
"
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
<
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
<
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
521
|
-
|
|
522
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
523
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
524
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
525
|
-
</body>
|
|
526
|
-
</html>
|
|
527
|
-
"
|
|
720
|
+
"<!DOCTYPE html>
|
|
721
|
+
<html lang="ru" dir="ltr">
|
|
722
|
+
<head>
|
|
723
|
+
<meta charset="utf-8">
|
|
724
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
725
|
+
<base href="./" />
|
|
726
|
+
<title>Latex usage</title>
|
|
727
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
728
|
+
|
|
729
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
730
|
+
|
|
731
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
732
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
733
|
+
<link type="text/css" rel="stylesheet" href="_bundle/latex-extension.css"/>
|
|
734
|
+
</head>
|
|
735
|
+
<body class="g-root g-root_theme_light">
|
|
736
|
+
<div id="root"></div>
|
|
737
|
+
<script type="application/json" id="diplodoc-state">
|
|
738
|
+
{"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"]}
|
|
739
|
+
</script>
|
|
740
|
+
<script type="application/javascript">
|
|
741
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
742
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
743
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
744
|
+
})(data.innerText));
|
|
745
|
+
window.STATIC_CONTENT = false;
|
|
746
|
+
</script>
|
|
747
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
748
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
749
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
750
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
751
|
+
<script type="application/javascript" defer src="_bundle/latex-extension.js"></script>
|
|
752
|
+
|
|
753
|
+
</body>
|
|
754
|
+
</html>"
|
|
528
755
|
`;
|
|
529
756
|
|
|
530
757
|
exports[`Regression > internal > latex.md 1`] = `
|
|
@@ -540,48 +767,39 @@ $/sqrt{3x-1}+(1+x)^2$
|
|
|
540
767
|
`;
|
|
541
768
|
|
|
542
769
|
exports[`Regression > internal > merge/merge.html 1`] = `
|
|
543
|
-
"
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
<
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
</script>
|
|
577
|
-
<script src="merge/toc.js" type="application/javascript"></script>
|
|
578
|
-
|
|
579
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
580
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
581
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
582
|
-
</body>
|
|
583
|
-
</html>
|
|
584
|
-
"
|
|
770
|
+
"<!DOCTYPE html>
|
|
771
|
+
<html lang="ru" dir="ltr">
|
|
772
|
+
<head>
|
|
773
|
+
<meta charset="utf-8">
|
|
774
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
775
|
+
<base href="../" />
|
|
776
|
+
<title>Should use merged item</title>
|
|
777
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
778
|
+
|
|
779
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
780
|
+
|
|
781
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
782
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
783
|
+
</head>
|
|
784
|
+
<body class="g-root g-root_theme_light">
|
|
785
|
+
<div id="root"></div>
|
|
786
|
+
<script type="application/json" id="diplodoc-state">
|
|
787
|
+
{"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"]}
|
|
788
|
+
</script>
|
|
789
|
+
<script type="application/javascript">
|
|
790
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
791
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
792
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
793
|
+
})(data.innerText));
|
|
794
|
+
window.STATIC_CONTENT = false;
|
|
795
|
+
</script>
|
|
796
|
+
<script type="application/javascript" defer src="merge/toc.js"></script>
|
|
797
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
798
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
799
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
800
|
+
|
|
801
|
+
</body>
|
|
802
|
+
</html>"
|
|
585
803
|
`;
|
|
586
804
|
|
|
587
805
|
exports[`Regression > internal > merge/merge.md 1`] = `
|
|
@@ -597,49 +815,40 @@ metadata:
|
|
|
597
815
|
`;
|
|
598
816
|
|
|
599
817
|
exports[`Regression > internal > merge/merged.html 1`] = `
|
|
600
|
-
"
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
<meta name="
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
<
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
</script>
|
|
635
|
-
<script src="merge/toc.js" type="application/javascript"></script>
|
|
636
|
-
|
|
637
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
638
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
639
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
640
|
-
</body>
|
|
641
|
-
</html>
|
|
642
|
-
"
|
|
818
|
+
"<!DOCTYPE html>
|
|
819
|
+
<html lang="ru" dir="ltr">
|
|
820
|
+
<head>
|
|
821
|
+
<meta charset="utf-8">
|
|
822
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
823
|
+
<base href="../" />
|
|
824
|
+
<title>Merged item</title>
|
|
825
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
826
|
+
<meta name="sourcePath" content="merge-source/merged.md">
|
|
827
|
+
|
|
828
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
829
|
+
|
|
830
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
831
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
832
|
+
</head>
|
|
833
|
+
<body class="g-root g-root_theme_light">
|
|
834
|
+
<div id="root"></div>
|
|
835
|
+
<script type="application/json" id="diplodoc-state">
|
|
836
|
+
{"data":{"leading":false,"html":"<p>Should be linked in toc.yaml</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"sourcePath":"merge-source/merged.md"},"headings":[],"title":"Merged item"},"router":{"pathname":"merge/merged","depth":2,"base":"../"},"lang":"ru","langs":["ru"]}
|
|
837
|
+
</script>
|
|
838
|
+
<script type="application/javascript">
|
|
839
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
840
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
841
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
842
|
+
})(data.innerText));
|
|
843
|
+
window.STATIC_CONTENT = false;
|
|
844
|
+
</script>
|
|
845
|
+
<script type="application/javascript" defer src="merge/toc.js"></script>
|
|
846
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
847
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
848
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
849
|
+
|
|
850
|
+
</body>
|
|
851
|
+
</html>"
|
|
643
852
|
`;
|
|
644
853
|
|
|
645
854
|
exports[`Regression > internal > merge/merged.md 1`] = `
|
|
@@ -655,7 +864,7 @@ Should be linked in toc.yaml
|
|
|
655
864
|
"
|
|
656
865
|
`;
|
|
657
866
|
|
|
658
|
-
exports[`Regression > internal > merge/toc.js 1`] = `"window.__DATA__.data.toc = {"items":[{"name":"Use merged","href":"merge/merge.html","id":"UUID"},{"name":"Merged item","href":"merge/merged.html","id":"UUID"}],"id":"UUID"};"`;
|
|
867
|
+
exports[`Regression > internal > merge/toc.js 1`] = `"window.__DATA__.data.toc = {"items":[{"name":"Use merged","href":"merge/merge.html","id":"UUID"},{"name":"Merged item","href":"merge/merged.html","id":"UUID"}],"path":"merge/toc.yaml","id":"UUID"};"`;
|
|
659
868
|
|
|
660
869
|
exports[`Regression > internal > merge/toc.yaml 1`] = `
|
|
661
870
|
"items:
|
|
@@ -663,52 +872,45 @@ exports[`Regression > internal > merge/toc.yaml 1`] = `
|
|
|
663
872
|
href: merge.md
|
|
664
873
|
- name: Merged item
|
|
665
874
|
href: merged.md
|
|
875
|
+
path: merge/toc.yaml
|
|
666
876
|
"
|
|
667
877
|
`;
|
|
668
878
|
|
|
669
879
|
exports[`Regression > internal > mermaid.html 1`] = `
|
|
670
|
-
"
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
<
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
705
|
-
|
|
706
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
707
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
708
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
709
|
-
</body>
|
|
710
|
-
</html>
|
|
711
|
-
"
|
|
880
|
+
"<!DOCTYPE html>
|
|
881
|
+
<html lang="ru" dir="ltr">
|
|
882
|
+
<head>
|
|
883
|
+
<meta charset="utf-8">
|
|
884
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
885
|
+
<base href="./" />
|
|
886
|
+
<title>Mermaid usage</title>
|
|
887
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
888
|
+
|
|
889
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
890
|
+
|
|
891
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
892
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
893
|
+
</head>
|
|
894
|
+
<body class="g-root g-root_theme_light">
|
|
895
|
+
<div id="root"></div>
|
|
896
|
+
<script type="application/json" id="diplodoc-state">
|
|
897
|
+
{"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"]}
|
|
898
|
+
</script>
|
|
899
|
+
<script type="application/javascript">
|
|
900
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
901
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
902
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
903
|
+
})(data.innerText));
|
|
904
|
+
window.STATIC_CONTENT = false;
|
|
905
|
+
</script>
|
|
906
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
907
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
908
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
909
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
910
|
+
<script type="application/javascript" defer src="_bundle/mermaid-extension.js"></script>
|
|
911
|
+
|
|
912
|
+
</body>
|
|
913
|
+
</html>"
|
|
712
914
|
`;
|
|
713
915
|
|
|
714
916
|
exports[`Regression > internal > mermaid.md 1`] = `
|
|
@@ -734,49 +936,41 @@ Some mermaid info
|
|
|
734
936
|
`;
|
|
735
937
|
|
|
736
938
|
exports[`Regression > internal > openapi/index.html 1`] = `
|
|
737
|
-
"
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
<
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
<
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
773
|
-
|
|
774
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
775
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
776
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
777
|
-
</body>
|
|
778
|
-
</html>
|
|
779
|
-
"
|
|
939
|
+
"<!DOCTYPE html>
|
|
940
|
+
<html lang="ru" dir="ltr">
|
|
941
|
+
<head>
|
|
942
|
+
<meta charset="utf-8">
|
|
943
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
944
|
+
<base href="../" />
|
|
945
|
+
<title>OpenAPI definition</title>
|
|
946
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
947
|
+
|
|
948
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
949
|
+
|
|
950
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
951
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
952
|
+
<link type="text/css" rel="stylesheet" href="_assets/cut-extension.css"/>
|
|
953
|
+
</head>
|
|
954
|
+
<body class="g-root g-root_theme_light">
|
|
955
|
+
<div id="root"></div>
|
|
956
|
+
<script type="application/json" id="diplodoc-state">
|
|
957
|
+
{"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"]}
|
|
958
|
+
</script>
|
|
959
|
+
<script type="application/javascript">
|
|
960
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
961
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
962
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
963
|
+
})(data.innerText));
|
|
964
|
+
window.STATIC_CONTENT = false;
|
|
965
|
+
</script>
|
|
966
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
967
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
968
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
969
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
970
|
+
<script type="application/javascript" defer src="_assets/cut-extension.js"></script>
|
|
971
|
+
|
|
972
|
+
</body>
|
|
973
|
+
</html>"
|
|
780
974
|
`;
|
|
781
975
|
|
|
782
976
|
exports[`Regression > internal > openapi/index.md 1`] = `
|
|
@@ -879,49 +1073,41 @@ metadata:
|
|
|
879
1073
|
`;
|
|
880
1074
|
|
|
881
1075
|
exports[`Regression > internal > openapi/test-controller/getWithPayloadResponse.html 1`] = `
|
|
882
|
-
"
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
<
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
<
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
918
|
-
|
|
919
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
920
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
921
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
922
|
-
</body>
|
|
923
|
-
</html>
|
|
924
|
-
"
|
|
1076
|
+
"<!DOCTYPE html>
|
|
1077
|
+
<html lang="ru" dir="ltr">
|
|
1078
|
+
<head>
|
|
1079
|
+
<meta charset="utf-8">
|
|
1080
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1081
|
+
<base href="../../" />
|
|
1082
|
+
<title></title>
|
|
1083
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1084
|
+
|
|
1085
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1086
|
+
|
|
1087
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
1088
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1089
|
+
<link type="text/css" rel="stylesheet" href="_assets/cut-extension.css"/>
|
|
1090
|
+
</head>
|
|
1091
|
+
<body class="g-root g-root_theme_light">
|
|
1092
|
+
<div id="root"></div>
|
|
1093
|
+
<script type="application/json" id="diplodoc-state">
|
|
1094
|
+
{"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"]}
|
|
1095
|
+
</script>
|
|
1096
|
+
<script type="application/javascript">
|
|
1097
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1098
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1099
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1100
|
+
})(data.innerText));
|
|
1101
|
+
window.STATIC_CONTENT = false;
|
|
1102
|
+
</script>
|
|
1103
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
1104
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
1105
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
1106
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
1107
|
+
<script type="application/javascript" defer src="_assets/cut-extension.js"></script>
|
|
1108
|
+
|
|
1109
|
+
</body>
|
|
1110
|
+
</html>"
|
|
925
1111
|
`;
|
|
926
1112
|
|
|
927
1113
|
exports[`Regression > internal > openapi/test-controller/getWithPayloadResponse.md 1`] = `
|
|
@@ -1009,48 +1195,39 @@ Generated server url
|
|
|
1009
1195
|
`;
|
|
1010
1196
|
|
|
1011
1197
|
exports[`Regression > internal > openapi/test-controller/index.html 1`] = `
|
|
1012
|
-
"
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
<
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
</script>
|
|
1046
|
-
<script src="toc.js" type="application/javascript"></script>
|
|
1047
|
-
|
|
1048
|
-
<script type="application/javascript" src="_bundle/search-js-0"></script>
|
|
1049
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
1050
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
1051
|
-
</body>
|
|
1052
|
-
</html>
|
|
1053
|
-
"
|
|
1198
|
+
"<!DOCTYPE html>
|
|
1199
|
+
<html lang="ru" dir="ltr">
|
|
1200
|
+
<head>
|
|
1201
|
+
<meta charset="utf-8">
|
|
1202
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1203
|
+
<base href="../../" />
|
|
1204
|
+
<title>test-controller</title>
|
|
1205
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1206
|
+
|
|
1207
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1208
|
+
|
|
1209
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
1210
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1211
|
+
</head>
|
|
1212
|
+
<body class="g-root g-root_theme_light">
|
|
1213
|
+
<div id="root"></div>
|
|
1214
|
+
<script type="application/json" id="diplodoc-state">
|
|
1215
|
+
{"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"]}
|
|
1216
|
+
</script>
|
|
1217
|
+
<script type="application/javascript">
|
|
1218
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1219
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1220
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1221
|
+
})(data.innerText));
|
|
1222
|
+
window.STATIC_CONTENT = false;
|
|
1223
|
+
</script>
|
|
1224
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
1225
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
1226
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
1227
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
1228
|
+
|
|
1229
|
+
</body>
|
|
1230
|
+
</html>"
|
|
1054
1231
|
`;
|
|
1055
1232
|
|
|
1056
1233
|
exports[`Regression > internal > openapi/test-controller/index.md 1`] = `
|
|
@@ -1068,49 +1245,50 @@ metadata:
|
|
|
1068
1245
|
<!-- markdownlint-disable-file -->"
|
|
1069
1246
|
`;
|
|
1070
1247
|
|
|
1071
|
-
exports[`Regression > internal >
|
|
1248
|
+
exports[`Regression > internal > redirects.yaml 1`] = `
|
|
1249
|
+
"files:
|
|
1250
|
+
- from: c.md
|
|
1251
|
+
to: d.md
|
|
1252
|
+
common:
|
|
1253
|
+
- from: ./a.md
|
|
1254
|
+
to: ./b.md
|
|
1072
1255
|
"
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
<script type="application/javascript" src="_bundle/app-js-1"></script>
|
|
1110
|
-
<script type="application/javascript" src="_bundle/search-js-2"></script>
|
|
1111
|
-
</body>
|
|
1112
|
-
</html>
|
|
1113
|
-
"
|
|
1256
|
+
`;
|
|
1257
|
+
|
|
1258
|
+
exports[`Regression > internal > sub/folder/item-1.html 1`] = `
|
|
1259
|
+
"<!DOCTYPE html>
|
|
1260
|
+
<html lang="ru" dir="ltr">
|
|
1261
|
+
<head>
|
|
1262
|
+
<meta charset="utf-8">
|
|
1263
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1264
|
+
<base href="../../" />
|
|
1265
|
+
<title>Item 1</title>
|
|
1266
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1267
|
+
|
|
1268
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1269
|
+
|
|
1270
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
1271
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
1272
|
+
</head>
|
|
1273
|
+
<body class="g-root g-root_theme_light">
|
|
1274
|
+
<div id="root"></div>
|
|
1275
|
+
<script type="application/json" id="diplodoc-state">
|
|
1276
|
+
{"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"]}
|
|
1277
|
+
</script>
|
|
1278
|
+
<script type="application/javascript">
|
|
1279
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1280
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1281
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1282
|
+
})(data.innerText));
|
|
1283
|
+
window.STATIC_CONTENT = false;
|
|
1284
|
+
</script>
|
|
1285
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
1286
|
+
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
1287
|
+
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
1288
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
1289
|
+
|
|
1290
|
+
</body>
|
|
1291
|
+
</html>"
|
|
1114
1292
|
`;
|
|
1115
1293
|
|
|
1116
1294
|
exports[`Regression > internal > sub/folder/item-1.md 1`] = `
|
|
@@ -1122,10 +1300,12 @@ metadata:
|
|
|
1122
1300
|
# Item 1
|
|
1123
1301
|
|
|
1124
1302
|
Item 1 text
|
|
1303
|
+
|
|
1304
|
+
[{#T}](../../images.md)
|
|
1125
1305
|
"
|
|
1126
1306
|
`;
|
|
1127
1307
|
|
|
1128
|
-
exports[`Regression > internal > toc.js 1`] = `"window.__DATA__.data.toc = {"items":[{"name":"Verbose root (index.yaml) will be transformed to index.html","href":"index.html","id":"UUID"},{"name":"Root will be transformed to index.html","href":"index.html","id":"UUID"},{"name":"Md item with not_var syntax","href":"1.html","id":"UUID"},{"name":"Md item named without extension","href":"1.html","id":"UUID"},{"name":"Item with empty href","id":"UUID"},{"name":"Included Item","href":"included-item.html","id":"UUID"},{"name":"Named include (items is Object here - this is not an error)","items":[{"name":"Item 1","href":"sub/folder/item-1.html","id":"UUID"}],"id":"UUID"},{"
|
|
1308
|
+
exports[`Regression > internal > toc.js 1`] = `"window.__DATA__.data.toc = {"items":[{"name":"Verbose root (index.yaml) will be transformed to index.html","href":"index.html","id":"UUID"},{"name":"Root will be transformed to index.html","href":"index.html","id":"UUID"},{"name":"Md item with not_var syntax","href":"1.html","id":"UUID"},{"name":"Md item named without extension","href":"1.html","id":"UUID"},{"name":"Item with empty href","id":"UUID"},{"name":"Included Item","href":"included-item.html","id":"UUID"},{"name":"Named include (items is Object here - this is not an error)","items":[{"name":"Item 1","href":"sub/folder/item-1.html","id":"UUID"}],"id":"UUID"},{"href":"mermaid.html","name":"Mermaid usage","id":"UUID"},{"name":"Latex usage","href":"latex.html","id":"UUID"},{"name":"Images","href":"images.html","id":"UUID"},{"name":"Autotitle","href":"autotitle.html","id":"UUID"},{"name":"includes","href":"includes.html","id":"UUID"},{"name":"generic","items":[{"name":"Note 1","href":"generic/1.html","id":"UUID"},{"name":"Note 1","href":"generic/2.html","id":"UUID"},{"name":"3","href":"generic/3.html","id":"UUID"},{"name":"Sub notes","items":[{"name":"Sub note 1","href":"generic/Sub notes/1.html","id":"UUID"},{"name":"Sub note 2","href":"generic/Sub notes/2.html","id":"UUID"}],"id":"UUID"}],"id":"UUID"},{"name":"openapi","items":[{"name":"Overview","href":"openapi/index.html","id":"UUID"},{"name":"test-controller","items":[{"name":"Overview","href":"openapi/test-controller/index.html","id":"UUID"},{"href":"openapi/test-controller/getWithPayloadResponse.html","name":"Simple get operation. тест новой верстки 3","id":"UUID"}],"id":"UUID"}],"id":"UUID"}],"path":"toc.yaml","id":"UUID"};"`;
|
|
1129
1309
|
|
|
1130
1310
|
exports[`Regression > internal > toc.yaml 1`] = `
|
|
1131
1311
|
"items:
|
|
@@ -1144,9 +1324,9 @@ exports[`Regression > internal > toc.yaml 1`] = `
|
|
|
1144
1324
|
items:
|
|
1145
1325
|
- name: Item 1
|
|
1146
1326
|
href: sub/folder/item-1.md
|
|
1147
|
-
-
|
|
1148
|
-
|
|
1149
|
-
- name: Latex
|
|
1327
|
+
- href: mermaid.md
|
|
1328
|
+
name: Mermaid usage
|
|
1329
|
+
- name: Latex usage
|
|
1150
1330
|
href: latex.md
|
|
1151
1331
|
- name: Images
|
|
1152
1332
|
href: images.md
|
|
@@ -1154,6 +1334,20 @@ exports[`Regression > internal > toc.yaml 1`] = `
|
|
|
1154
1334
|
href: autotitle.md
|
|
1155
1335
|
- name: includes
|
|
1156
1336
|
href: includes.md
|
|
1337
|
+
- name: generic
|
|
1338
|
+
items:
|
|
1339
|
+
- name: Note 1
|
|
1340
|
+
href: generic/1.md
|
|
1341
|
+
- name: Note 1
|
|
1342
|
+
href: generic/2.md
|
|
1343
|
+
- name: '3'
|
|
1344
|
+
href: generic/3.md
|
|
1345
|
+
- name: Sub notes
|
|
1346
|
+
items:
|
|
1347
|
+
- name: Sub note 1
|
|
1348
|
+
href: generic/Sub notes/1.md
|
|
1349
|
+
- name: Sub note 2
|
|
1350
|
+
href: generic/Sub notes/2.md
|
|
1157
1351
|
- name: openapi
|
|
1158
1352
|
items:
|
|
1159
1353
|
- name: Overview
|
|
@@ -1164,5 +1358,6 @@ exports[`Regression > internal > toc.yaml 1`] = `
|
|
|
1164
1358
|
href: openapi/test-controller/index.md
|
|
1165
1359
|
- href: openapi/test-controller/getWithPayloadResponse.md
|
|
1166
1360
|
name: Simple get operation. тест новой верстки 3
|
|
1361
|
+
path: toc.yaml
|
|
1167
1362
|
"
|
|
1168
1363
|
`;
|