@diplodoc/cli-tests 5.9.4 → 5.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,23 +3,6 @@
3
3
  exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with only one rtl lang > filelist 1`] = `
4
4
  "[
5
5
  ".yfm",
6
- "_bundle/app-css-1",
7
- "_bundle/app-js-2",
8
- "_bundle/latex-extension.css",
9
- "_bundle/latex-extension.js",
10
- "_bundle/mermaid-extension.js",
11
- "_bundle/page-constructor-extension.css",
12
- "_bundle/page-constructor-extension.js",
13
- "_bundle/search-async-0",
14
- "_bundle/search-async-1",
15
- "_bundle/search-css-0",
16
- "_bundle/search-css-1",
17
- "_bundle/search-css-2",
18
- "_bundle/search-css-3",
19
- "_bundle/search-css-4",
20
- "_bundle/search-js-0",
21
- "_bundle/search-js-1",
22
- "_bundle/search-js-2",
23
6
  "index.html",
24
7
  "page.html",
25
8
  "toc.js"
@@ -37,13 +20,7 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
37
20
  <base href="./" />
38
21
  <title>Documentation | Documentation</title>
39
22
  <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
40
-
41
23
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
42
-
43
-
44
- <link type="text/css" rel="stylesheet" href="_bundle/search-css-2"/>
45
- <link type="text/css" rel="stylesheet" href="_bundle/search-css-3"/>
46
- <link type="text/css" rel="stylesheet" href="_bundle/search-css-4"/>
47
24
  </head>
48
25
  <body class="g-root g-root_theme_light">
49
26
  <div id="root"></div>
@@ -58,10 +35,6 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
58
35
  window.STATIC_CONTENT = false;
59
36
  </script>
60
37
  <script type="application/javascript" defer src="toc.js"></script>
61
- <script type="application/javascript" defer src="_bundle/search-js-1"></script>
62
- <script type="application/javascript" defer src="_bundle/search-js-2"></script>
63
- <script type="application/javascript" defer src="_bundle/app-js-2"></script>
64
-
65
38
  </body>
66
39
  </html>"
67
40
  `;
@@ -75,13 +48,7 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
75
48
  <base href="./" />
76
49
  <title>Documentation</title>
77
50
  <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
78
-
79
51
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
80
-
81
-
82
- <link type="text/css" rel="stylesheet" href="_bundle/search-css-2"/>
83
- <link type="text/css" rel="stylesheet" href="_bundle/search-css-3"/>
84
- <link type="text/css" rel="stylesheet" href="_bundle/search-css-4"/>
85
52
  </head>
86
53
  <body class="g-root g-root_theme_light">
87
54
  <div id="root"></div>
@@ -96,10 +63,6 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
96
63
  window.STATIC_CONTENT = false;
97
64
  </script>
98
65
  <script type="application/javascript" defer src="toc.js"></script>
99
- <script type="application/javascript" defer src="_bundle/search-js-1"></script>
100
- <script type="application/javascript" defer src="_bundle/search-js-2"></script>
101
- <script type="application/javascript" defer src="_bundle/app-js-2"></script>
102
-
103
66
  </body>
104
67
  </html>"
105
68
  `;
@@ -109,23 +72,6 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
109
72
  exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with rtl and ltr langs > filelist 1`] = `
110
73
  "[
111
74
  ".yfm",
112
- "_bundle/app-css-1",
113
- "_bundle/app-js-2",
114
- "_bundle/latex-extension.css",
115
- "_bundle/latex-extension.js",
116
- "_bundle/mermaid-extension.js",
117
- "_bundle/page-constructor-extension.css",
118
- "_bundle/page-constructor-extension.js",
119
- "_bundle/search-async-0",
120
- "_bundle/search-async-1",
121
- "_bundle/search-css-0",
122
- "_bundle/search-css-1",
123
- "_bundle/search-css-2",
124
- "_bundle/search-css-3",
125
- "_bundle/search-css-4",
126
- "_bundle/search-js-0",
127
- "_bundle/search-js-1",
128
- "_bundle/search-js-2",
129
75
  "ar/index.html",
130
76
  "ar/page.html",
131
77
  "ar/toc.js",
@@ -147,13 +93,7 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
147
93
  <base href="../" />
148
94
  <title>Documentation | Documentation</title>
149
95
  <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
150
-
151
96
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
152
-
153
-
154
- <link type="text/css" rel="stylesheet" href="_bundle/search-css-2"/>
155
- <link type="text/css" rel="stylesheet" href="_bundle/search-css-3"/>
156
- <link type="text/css" rel="stylesheet" href="_bundle/search-css-4"/>
157
97
  </head>
158
98
  <body class="g-root g-root_theme_light">
159
99
  <div id="root"></div>
@@ -168,10 +108,6 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
168
108
  window.STATIC_CONTENT = false;
169
109
  </script>
170
110
  <script type="application/javascript" defer src="ar/toc.js"></script>
171
- <script type="application/javascript" defer src="_bundle/search-js-1"></script>
172
- <script type="application/javascript" defer src="_bundle/search-js-2"></script>
173
- <script type="application/javascript" defer src="_bundle/app-js-2"></script>
174
-
175
111
  </body>
176
112
  </html>"
177
113
  `;
@@ -185,13 +121,7 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
185
121
  <base href="../" />
186
122
  <title>Documentation</title>
187
123
  <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
188
-
189
124
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
190
-
191
-
192
- <link type="text/css" rel="stylesheet" href="_bundle/search-css-2"/>
193
- <link type="text/css" rel="stylesheet" href="_bundle/search-css-3"/>
194
- <link type="text/css" rel="stylesheet" href="_bundle/search-css-4"/>
195
125
  </head>
196
126
  <body class="g-root g-root_theme_light">
197
127
  <div id="root"></div>
@@ -206,10 +136,6 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
206
136
  window.STATIC_CONTENT = false;
207
137
  </script>
208
138
  <script type="application/javascript" defer src="ar/toc.js"></script>
209
- <script type="application/javascript" defer src="_bundle/search-js-1"></script>
210
- <script type="application/javascript" defer src="_bundle/search-js-2"></script>
211
- <script type="application/javascript" defer src="_bundle/app-js-2"></script>
212
-
213
139
  </body>
214
140
  </html>"
215
141
  `;
@@ -226,12 +152,7 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
226
152
  <title>Documentation | Documentation</title>
227
153
  <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
228
154
  <meta name="noIndex" content="true">
229
-
230
155
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
231
-
232
-
233
- <link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
234
- <link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
235
156
  </head>
236
157
  <body class="g-root g-root_theme_light">
237
158
  <div id="root"></div>
@@ -246,10 +167,6 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
246
167
  window.STATIC_CONTENT = false;
247
168
  </script>
248
169
  <script type="application/javascript" defer src="en/toc.js"></script>
249
- <script type="application/javascript" defer src="_bundle/search-js-1"></script>
250
- <script type="application/javascript" defer src="_bundle/search-js-2"></script>
251
- <script type="application/javascript" defer src="_bundle/app-js-2"></script>
252
-
253
170
  </body>
254
171
  </html>"
255
172
  `;
@@ -264,12 +181,7 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
264
181
  <title>Documentation</title>
265
182
  <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
266
183
  <meta name="yfm" content="builder">
267
-
268
184
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
269
-
270
-
271
- <link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
272
- <link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
273
185
  </head>
274
186
  <body class="g-root g-root_theme_light">
275
187
  <div id="root"></div>
@@ -284,10 +196,6 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
284
196
  window.STATIC_CONTENT = false;
285
197
  </script>
286
198
  <script type="application/javascript" defer src="en/toc.js"></script>
287
- <script type="application/javascript" defer src="_bundle/search-js-1"></script>
288
- <script type="application/javascript" defer src="_bundle/search-js-2"></script>
289
- <script type="application/javascript" defer src="_bundle/app-js-2"></script>
290
-
291
199
  </body>
292
200
  </html>"
293
201
  `;
@@ -303,19 +211,13 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
303
211
  <base href="./" />
304
212
  <title>Redirect to ./ar/index.html</title>
305
213
  <meta http-equiv="refresh" content="0; url=./ar/index.html">
306
-
307
214
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
308
-
309
215
  <script type="application/javascript">
310
216
  window.location.replace("./ar/index.html");
311
217
  </script>
312
-
313
218
  </head>
314
219
  <body class="g-root g-root_theme_light">
315
220
  If you are not redirected automatically, follow this <a href="./ar/index.html">link</a>.
316
-
317
-
318
-
319
221
  </body>
320
222
  </html>"
321
223
  `;
@@ -3,28 +3,6 @@
3
3
  exports[`Local search > internal > filelist 1`] = `
4
4
  "[
5
5
  ".yfm",
6
- "_bundle/app-css-1",
7
- "_bundle/app-js-2",
8
- "_bundle/latex-extension.css",
9
- "_bundle/latex-extension.js",
10
- "_bundle/mermaid-extension.js",
11
- "_bundle/page-constructor-extension.css",
12
- "_bundle/page-constructor-extension.js",
13
- "_bundle/search-async-0",
14
- "_bundle/search-async-1",
15
- "_bundle/search-css-0",
16
- "_bundle/search-css-1",
17
- "_bundle/search-css-2",
18
- "_bundle/search-css-3",
19
- "_bundle/search-css-4",
20
- "_bundle/search-js-0",
21
- "_bundle/search-js-1",
22
- "_bundle/search-js-2",
23
- "_search/api.js",
24
- "_search/en/hash-resources.js",
25
- "_search/en/hash-index.js",
26
- "_search/en/hash-registry.js",
27
- "_search/en/index.html",
28
6
  "index.html",
29
7
  "toc.js"
30
8
  ]"
@@ -57,9 +35,6 @@ exports[`Local search > internal 2`] = `
57
35
  <meta http-equiv="Content-Security-Policy" content="worker-src 'self';">
58
36
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
59
37
  <link rel="icon" type="image/x-icon" href="https://storage.yandexcloud.net/diplodoc-www-assets/favicon/favicon.ico">
60
-
61
- <link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
62
- <link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
63
38
  </head>
64
39
  <body class="g-root g-root_theme_light">
65
40
  <div id="root"></div>
@@ -74,11 +49,6 @@ exports[`Local search > internal 2`] = `
74
49
  window.STATIC_CONTENT = false;
75
50
  </script>
76
51
  <script type="application/javascript" defer src="toc.js"></script>
77
- <script type="application/javascript" defer src="_search/en/hash-resources.js"></script>
78
- <script type="application/javascript" defer src="_bundle/search-js-1"></script>
79
- <script type="application/javascript" defer src="_bundle/search-js-2"></script>
80
- <script type="application/javascript" defer src="_bundle/app-js-2"></script>
81
-
82
52
  </body>
83
53
  </html>"
84
54
  `;
@@ -0,0 +1,159 @@
1
+ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
2
+
3
+ exports[`Single page mode > simple md2html single page with lang dirs > filelist 1`] = `
4
+ "[
5
+ "index.html",
6
+ "ru/index.html",
7
+ "ru/page.html",
8
+ "ru/project/config.html",
9
+ "ru/single-page-toc.js",
10
+ "ru/single-page.html",
11
+ "ru/single-page.json",
12
+ "ru/toc.js"
13
+ ]"
14
+ `;
15
+
16
+ exports[`Single page mode > simple md2html single page with lang dirs 1`] = `
17
+ "<!DOCTYPE html>
18
+ <html lang="ru" dir="ltr">
19
+ <head>
20
+ <meta charset="utf-8">
21
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
22
+ <base href="./" />
23
+ <title>Redirect to ./ru/index.html</title>
24
+ <meta http-equiv="refresh" content="0; url=./ru/index.html">
25
+ <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
26
+ <script type="application/javascript">
27
+ window.location.replace("./ru/index.html");
28
+ </script>
29
+ </head>
30
+ <body class="g-root g-root_theme_light">
31
+ If you are not redirected automatically, follow this <a href="./ru/index.html">link</a>.
32
+ </body>
33
+ </html>"
34
+ `;
35
+
36
+ exports[`Single page mode > simple md2html single page with lang dirs 2`] = `
37
+ "<!DOCTYPE html>
38
+ <html lang="ru" dir="ltr">
39
+ <head>
40
+ <meta charset="utf-8">
41
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
42
+ <base href="../" />
43
+ <title>Documentation | Documentation</title>
44
+ <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
45
+ <meta name="noIndex" content="true">
46
+ <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
47
+ </head>
48
+ <body class="g-root g-root_theme_light">
49
+ <div id="root"></div>
50
+ <script type="application/json" id="diplodoc-state">
51
+ {"data":{"leading":true,"data":{"title":"Documentation","description":"","links":[{"title":"Getting started with Documentation","description":"This guide will show you the basics of working with Documentation","href":"ru/page.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"title":"Documentation","noIndex":true},"title":"Documentation"},"router":{"pathname":"ru/index","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
52
+ </script>
53
+ <script type="application/javascript">
54
+ const data = document.querySelector('script#diplodoc-state');
55
+ window.__DATA__ = JSON.parse((function unescape(string) {
56
+ return string.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&amp;/g, "&");
57
+ })(data.innerText));
58
+ window.STATIC_CONTENT = false;
59
+ </script>
60
+ <script type="application/javascript" defer src="ru/toc.js"></script>
61
+ </body>
62
+ </html>"
63
+ `;
64
+
65
+ exports[`Single page mode > simple md2html single page with lang dirs 3`] = `
66
+ "<!DOCTYPE html>
67
+ <html lang="ru" dir="ltr">
68
+ <head>
69
+ <meta charset="utf-8">
70
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
71
+ <base href="../" />
72
+ <title>Page Title | Documentation</title>
73
+ <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
74
+ <meta name="yfm" content="builder in page">
75
+ <meta name="description" content="Some test description">
76
+ <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
77
+ <link rel="icon" type="image/x-icon" href="/favicon.ico">
78
+ </head>
79
+ <body class="g-root g-root_theme_light">
80
+ <div id="root"></div>
81
+ <script type="application/json" id="diplodoc-state">
82
+ {"data":{"leading":false,"html":"&lt;p&gt;Lorem&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"yfm","content":"builder in page"},{"name":"description","content":"Some test description"}],"title":"Page Title","description":"Some test description","interface":{"toc":false,"favicon-src":"/favicon.ico"}},"headings":[],"title":"Page Title"},"router":{"pathname":"ru/page","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":false,"search":true,"feedback":true,"favicon-src":"/favicon.ico"}}
83
+ </script>
84
+ <script type="application/javascript">
85
+ const data = document.querySelector('script#diplodoc-state');
86
+ window.__DATA__ = JSON.parse((function unescape(string) {
87
+ return string.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&amp;/g, "&");
88
+ })(data.innerText));
89
+ window.STATIC_CONTENT = false;
90
+ </script>
91
+ <script type="application/javascript" defer src="ru/toc.js"></script>
92
+ </body>
93
+ </html>"
94
+ `;
95
+
96
+ exports[`Single page mode > simple md2html single page with lang dirs 4`] = `
97
+ "<!DOCTYPE html>
98
+ <html lang="ru" dir="ltr">
99
+ <head>
100
+ <meta charset="utf-8">
101
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
102
+ <base href="../../" />
103
+ <title>Documentation</title>
104
+ <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
105
+ <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
106
+ </head>
107
+ <body class="g-root g-root_theme_light">
108
+ <div id="root"></div>
109
+ <script type="application/json" id="diplodoc-state">
110
+ {"data":{"leading":false,"html":"&lt;p&gt;Lorem&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[],"title":""},"router":{"pathname":"ru/project/config","depth":3,"base":"../../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
111
+ </script>
112
+ <script type="application/javascript">
113
+ const data = document.querySelector('script#diplodoc-state');
114
+ window.__DATA__ = JSON.parse((function unescape(string) {
115
+ return string.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&amp;/g, "&");
116
+ })(data.innerText));
117
+ window.STATIC_CONTENT = false;
118
+ </script>
119
+ <script type="application/javascript" defer src="ru/toc.js"></script>
120
+ </body>
121
+ </html>"
122
+ `;
123
+
124
+ exports[`Single page mode > simple md2html single page with lang dirs 5`] = `"window.__DATA__.data.toc = {"title":"Documentation","href":"ru/single-page.html#ru_index","items":[{"name":"Documentation","href":"ru/single-page.html#ru_page","id":"UUID"},{"name":"Config","href":"ru/single-page.html#ru_project_config","id":"UUID"}],"path":"ru/toc.yaml","id":"UUID"};"`;
125
+
126
+ exports[`Single page mode > simple md2html single page with lang dirs 6`] = `
127
+ "<!DOCTYPE html>
128
+ <html lang="ru" dir="ltr">
129
+ <head>
130
+ <meta charset="utf-8">
131
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
132
+ <base href="../" />
133
+ <title>Page Title | Documentation</title>
134
+ <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
135
+ <meta name="yfm" content="builder in page">
136
+ <meta name="description" content="Some test description">
137
+ <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
138
+ <link rel="icon" type="image/x-icon" href="/favicon.ico">
139
+ </head>
140
+ <body class="g-root g-root_theme_light">
141
+ <div id="root"></div>
142
+ <script type="application/json" id="diplodoc-state">
143
+ {"data":{"leading":false,"html":"&lt;h2 data-original-article=\\"ru/page.html\\"&gt;Page Title&lt;a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"ru/single-page.html#ru_page\\" id=\\"ru_page\\"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Lorem&lt;/p&gt;/n&lt;hr class=\\"yfm-page__delimeter\\"&gt;&lt;p&gt;Lorem&lt;/p&gt;/n","headings":[],"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"yfm","content":"builder in page"},{"name":"description","content":"Some test description"}],"title":"Page Title","description":"Some test description","interface":{"toc":false,"favicon-src":"/favicon.ico"}},"title":"Documentation"},"router":{"pathname":"ru/single-page","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":false,"search":true,"feedback":true,"favicon-src":"/favicon.ico"}}
144
+ </script>
145
+ <script type="application/javascript">
146
+ const data = document.querySelector('script#diplodoc-state');
147
+ window.__DATA__ = JSON.parse((function unescape(string) {
148
+ return string.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&amp;/g, "&");
149
+ })(data.innerText));
150
+ window.STATIC_CONTENT = false;
151
+ </script>
152
+ <script type="application/javascript" defer src="ru/single-page-toc.js"></script>
153
+ </body>
154
+ </html>"
155
+ `;
156
+
157
+ exports[`Single page mode > simple md2html single page with lang dirs 7`] = `"{"data":{"leading":false,"html":"<h2 data-original-article=\\"ru/page.html\\">Page Title<a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"ru/single-page.html#ru_page\\" id=\\"ru_page\\"></a></h2><p>Lorem</p>/n<hr class=\\"yfm-page__delimeter\\"><p>Lorem</p>/n","headings":[],"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"yfm","content":"builder in page"},{"name":"description","content":"Some test description"}],"title":"Page Title","description":"Some test description","interface":{"toc":false,"favicon-src":"/favicon.ico"}},"title":"Documentation","toc":{"title":"Documentation","href":"ru/index.html","items":[{"name":"Documentation","href":"ru/page.html","id":"UUID"},{"name":"Config","href":"ru/project/config.html","id":"UUID"}],"path":"ru/toc.yaml","id":"UUID"}},"router":{"pathname":"ru/single-page","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":false,"search":true,"feedback":true,"favicon-src":"/favicon.ico"}}"`;
158
+
159
+ exports[`Single page mode > simple md2html single page with lang dirs 8`] = `"window.__DATA__.data.toc = {"title":"Documentation","href":"ru/index.html","items":[{"name":"Documentation","href":"ru/page.html","id":"UUID"},{"name":"Config","href":"ru/project/config.html","id":"UUID"}],"path":"ru/toc.yaml","id":"UUID"};"`;
@@ -3,23 +3,6 @@
3
3
  exports[`Skip html extension > transforms links correctly > filelist 1`] = `
4
4
  "[
5
5
  ".yfm",
6
- "_bundle/app-css-1",
7
- "_bundle/app-js-2",
8
- "_bundle/latex-extension.css",
9
- "_bundle/latex-extension.js",
10
- "_bundle/mermaid-extension.js",
11
- "_bundle/page-constructor-extension.css",
12
- "_bundle/page-constructor-extension.js",
13
- "_bundle/search-async-0",
14
- "_bundle/search-async-1",
15
- "_bundle/search-css-0",
16
- "_bundle/search-css-1",
17
- "_bundle/search-css-2",
18
- "_bundle/search-css-3",
19
- "_bundle/search-css-4",
20
- "_bundle/search-js-0",
21
- "_bundle/search-js-1",
22
- "_bundle/search-js-2",
23
6
  "folder/index.html",
24
7
  "index-test-html/index.html",
25
8
  "index.html",
@@ -43,12 +26,7 @@ exports[`Skip html extension > transforms links correctly 2`] = `
43
26
  <base href="../" />
44
27
  <title>Page 3 | Skip html extension</title>
45
28
  <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
46
-
47
29
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
48
-
49
-
50
- <link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
51
- <link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
52
30
  </head>
53
31
  <body class="g-root g-root_theme_light">
54
32
  <div id="root"></div>
@@ -63,10 +41,6 @@ exports[`Skip html extension > transforms links correctly 2`] = `
63
41
  window.STATIC_CONTENT = false;
64
42
  </script>
65
43
  <script type="application/javascript" defer src="toc.js"></script>
66
- <script type="application/javascript" defer src="_bundle/search-js-1"></script>
67
- <script type="application/javascript" defer src="_bundle/search-js-2"></script>
68
- <script type="application/javascript" defer src="_bundle/app-js-2"></script>
69
-
70
44
  </body>
71
45
  </html>"
72
46
  `;
@@ -80,12 +54,7 @@ exports[`Skip html extension > transforms links correctly 3`] = `
80
54
  <base href="../" />
81
55
  <title>Folder | Skip html extension</title>
82
56
  <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
83
-
84
57
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
85
-
86
-
87
- <link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
88
- <link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
89
58
  </head>
90
59
  <body class="g-root g-root_theme_light">
91
60
  <div id="root"></div>
@@ -100,10 +69,6 @@ exports[`Skip html extension > transforms links correctly 3`] = `
100
69
  window.STATIC_CONTENT = false;
101
70
  </script>
102
71
  <script type="application/javascript" defer src="toc.js"></script>
103
- <script type="application/javascript" defer src="_bundle/search-js-1"></script>
104
- <script type="application/javascript" defer src="_bundle/search-js-2"></script>
105
- <script type="application/javascript" defer src="_bundle/app-js-2"></script>
106
-
107
72
  </body>
108
73
  </html>"
109
74
  `;
@@ -117,19 +82,13 @@ exports[`Skip html extension > transforms links correctly 4`] = `
117
82
  <base href="./" />
118
83
  <title>Redirect to ./ru</title>
119
84
  <meta http-equiv="refresh" content="0; url=./ru">
120
-
121
85
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
122
-
123
86
  <script type="application/javascript">
124
87
  window.location.replace("./ru");
125
88
  </script>
126
-
127
89
  </head>
128
90
  <body class="g-root g-root_theme_light">
129
91
  If you are not redirected automatically, follow this <a href="./ru">link</a>.
130
-
131
-
132
-
133
92
  </body>
134
93
  </html>"
135
94
  `;
@@ -143,12 +102,7 @@ exports[`Skip html extension > transforms links correctly 5`] = `
143
102
  <base href="./" />
144
103
  <title>Page 1 | Skip html extension</title>
145
104
  <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
146
-
147
105
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
148
-
149
-
150
- <link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
151
- <link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
152
106
  </head>
153
107
  <body class="g-root g-root_theme_light">
154
108
  <div id="root"></div>
@@ -163,10 +117,6 @@ exports[`Skip html extension > transforms links correctly 5`] = `
163
117
  window.STATIC_CONTENT = false;
164
118
  </script>
165
119
  <script type="application/javascript" defer src="toc.js"></script>
166
- <script type="application/javascript" defer src="_bundle/search-js-1"></script>
167
- <script type="application/javascript" defer src="_bundle/search-js-2"></script>
168
- <script type="application/javascript" defer src="_bundle/app-js-2"></script>
169
-
170
120
  </body>
171
121
  </html>"
172
122
  `;
@@ -180,12 +130,7 @@ exports[`Skip html extension > transforms links correctly 6`] = `
180
130
  <base href="./" />
181
131
  <title>Page 2 | Skip html extension</title>
182
132
  <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
183
-
184
133
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
185
-
186
-
187
- <link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
188
- <link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
189
134
  </head>
190
135
  <body class="g-root g-root_theme_light">
191
136
  <div id="root"></div>
@@ -200,10 +145,6 @@ exports[`Skip html extension > transforms links correctly 6`] = `
200
145
  window.STATIC_CONTENT = false;
201
146
  </script>
202
147
  <script type="application/javascript" defer src="toc.js"></script>
203
- <script type="application/javascript" defer src="_bundle/search-js-1"></script>
204
- <script type="application/javascript" defer src="_bundle/search-js-2"></script>
205
- <script type="application/javascript" defer src="_bundle/app-js-2"></script>
206
-
207
148
  </body>
208
149
  </html>"
209
150
  `;