@diplodoc/cli-tests 5.11.6 → 5.12.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.
@@ -0,0 +1,905 @@
1
+ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
2
+
3
+ exports[`Alternates > internal > filelist 1`] = `
4
+ "[
5
+ ".yfm",
6
+ "az/about.md",
7
+ "az/deep/test.md",
8
+ "az/index.yaml",
9
+ "az/toc.yaml",
10
+ "en/about.md",
11
+ "en/deep/test.md",
12
+ "en/index.yaml",
13
+ "en/toc.yaml",
14
+ "ru/about.md",
15
+ "ru/deep/test.md",
16
+ "ru/index.yaml",
17
+ "ru/toc.yaml"
18
+ ]"
19
+ `;
20
+
21
+ exports[`Alternates > internal > filelist 2`] = `
22
+ "[
23
+ ".yfm",
24
+ "az/about.html",
25
+ "az/deep/test.html",
26
+ "az/index.html",
27
+ "az/toc.js",
28
+ "en/about.html",
29
+ "en/deep/test.html",
30
+ "en/index.html",
31
+ "en/toc.js",
32
+ "index.html",
33
+ "ru/about.html",
34
+ "ru/deep/test.html",
35
+ "ru/index.html",
36
+ "ru/toc.js"
37
+ ]"
38
+ `;
39
+
40
+ exports[`Alternates > internal 1`] = `
41
+ "langs: ['ru', 'en', 'az']
42
+ "
43
+ `;
44
+
45
+ exports[`Alternates > internal 2`] = `
46
+ "---
47
+ metadata:
48
+ - name: generator
49
+ content: Diplodoc Platform vDIPLODOC-VERSION
50
+ alternate:
51
+ - az/about
52
+ - en/about
53
+ - ru/about
54
+ canonical: az/about.html
55
+ vcsPath: az/about.md
56
+ sourcePath: az/about.md
57
+ ---
58
+ # About
59
+
60
+ Content
61
+ "
62
+ `;
63
+
64
+ exports[`Alternates > internal 3`] = `
65
+ "---
66
+ metadata:
67
+ - name: generator
68
+ content: Diplodoc Platform vDIPLODOC-VERSION
69
+ alternate:
70
+ - az/deep/test
71
+ - en/deep/test
72
+ - ru/deep/test
73
+ canonical: az/deep/test.html
74
+ vcsPath: az/deep/test.md
75
+ sourcePath: az/deep/test.md
76
+ ---
77
+ # Test
78
+
79
+ Content
80
+ "
81
+ `;
82
+
83
+ exports[`Alternates > internal 4`] = `
84
+ "links:
85
+ - url: ./about
86
+ name: About
87
+ meta:
88
+ metadata:
89
+ - name: generator
90
+ content: Diplodoc Platform vDIPLODOC-VERSION
91
+ alternate:
92
+ - az/
93
+ - en/
94
+ - ru/
95
+ canonical: az/index.html
96
+ vcsPath: az/index.yaml
97
+ sourcePath: az/index.yaml
98
+ "
99
+ `;
100
+
101
+ exports[`Alternates > internal 5`] = `
102
+ "href: index.yaml
103
+ items:
104
+ - href: about.md
105
+ name: About
106
+ - href: deep/test.md
107
+ name: Test
108
+ path: az/toc.yaml
109
+ "
110
+ `;
111
+
112
+ exports[`Alternates > internal 6`] = `
113
+ "---
114
+ metadata:
115
+ - name: generator
116
+ content: Diplodoc Platform vDIPLODOC-VERSION
117
+ alternate:
118
+ - az/about
119
+ - en/about
120
+ - ru/about
121
+ canonical: en/about.html
122
+ vcsPath: en/about.md
123
+ sourcePath: en/about.md
124
+ ---
125
+ # About
126
+
127
+ Content
128
+ "
129
+ `;
130
+
131
+ exports[`Alternates > internal 7`] = `
132
+ "---
133
+ metadata:
134
+ - name: generator
135
+ content: Diplodoc Platform vDIPLODOC-VERSION
136
+ alternate:
137
+ - az/deep/test
138
+ - en/deep/test
139
+ - ru/deep/test
140
+ canonical: en/deep/test.html
141
+ vcsPath: en/deep/test.md
142
+ sourcePath: en/deep/test.md
143
+ ---
144
+ # Test
145
+
146
+ Content
147
+ "
148
+ `;
149
+
150
+ exports[`Alternates > internal 8`] = `
151
+ "links:
152
+ - url: ./about
153
+ name: About
154
+ meta:
155
+ metadata:
156
+ - name: generator
157
+ content: Diplodoc Platform vDIPLODOC-VERSION
158
+ alternate:
159
+ - az/
160
+ - en/
161
+ - ru/
162
+ canonical: en/index.html
163
+ vcsPath: en/index.yaml
164
+ sourcePath: en/index.yaml
165
+ "
166
+ `;
167
+
168
+ exports[`Alternates > internal 9`] = `
169
+ "href: index.yaml
170
+ items:
171
+ - href: about.md
172
+ name: About
173
+ - href: deep/test.md
174
+ name: Test
175
+ path: en/toc.yaml
176
+ "
177
+ `;
178
+
179
+ exports[`Alternates > internal 10`] = `
180
+ "---
181
+ metadata:
182
+ - name: generator
183
+ content: Diplodoc Platform vDIPLODOC-VERSION
184
+ alternate:
185
+ - az/about
186
+ - en/about
187
+ - ru/about
188
+ - https://my-other-site.com/about
189
+ canonical: ru/about.html
190
+ vcsPath: ru/about.md
191
+ sourcePath: ru/about.md
192
+ ---
193
+
194
+ # About
195
+
196
+ Content
197
+ "
198
+ `;
199
+
200
+ exports[`Alternates > internal 11`] = `
201
+ "---
202
+ metadata:
203
+ - name: generator
204
+ content: Diplodoc Platform vDIPLODOC-VERSION
205
+ alternate:
206
+ - az/deep/test
207
+ - en/deep/test
208
+ - ru/deep/test
209
+ canonical: ru/deep/test.html
210
+ vcsPath: ru/deep/test.md
211
+ sourcePath: ru/deep/test.md
212
+ ---
213
+ # Test
214
+
215
+ Content
216
+ "
217
+ `;
218
+
219
+ exports[`Alternates > internal 12`] = `
220
+ "links:
221
+ - url: ./about
222
+ name: About
223
+ meta:
224
+ metadata:
225
+ - name: generator
226
+ content: Diplodoc Platform vDIPLODOC-VERSION
227
+ alternate:
228
+ - az/
229
+ - en/
230
+ - ru/
231
+ canonical: ru/index.html
232
+ vcsPath: ru/index.yaml
233
+ sourcePath: ru/index.yaml
234
+ "
235
+ `;
236
+
237
+ exports[`Alternates > internal 13`] = `
238
+ "href: index.yaml
239
+ items:
240
+ - href: about.md
241
+ name: About
242
+ - href: deep/test.md
243
+ name: Test
244
+ path: ru/toc.yaml
245
+ "
246
+ `;
247
+
248
+ exports[`Alternates > internal 14`] = `
249
+ "langs: ['ru', 'en', 'az']
250
+ "
251
+ `;
252
+
253
+ exports[`Alternates > internal 15`] = `
254
+ "<!DOCTYPE html>
255
+ <html lang="az" dir="ltr">
256
+ <head>
257
+ <meta charset="utf-8">
258
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
259
+ <base href="../" />
260
+ <title>About</title>
261
+ <link rel="canonical" href="az/about.html">
262
+ <link rel="alternate" href="az/about.html" hreflang="az" />
263
+ <link rel="alternate" href="en/about.html" hreflang="en" />
264
+ <link rel="alternate" href="ru/about.html" hreflang="ru" />
265
+ <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
266
+ <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
267
+ </head>
268
+ <body class="g-root g-root_theme_light">
269
+ <div id="root"></div>
270
+ <script type="application/json" id="diplodoc-state">
271
+ {"data":{"leading":false,"html":"&lt;p&gt;Content&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/about.html","hreflang":"az"},{"href":"en/about.html","hreflang":"en"},{"href":"ru/about.html","hreflang":"ru"}],"canonical":"az/about.html","vcsPath":"az/about.md","sourcePath":"az/about.md"},"headings":[],"title":"About"},"router":{"pathname":"az/about","depth":2,"base":"../"},"lang":"az","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
272
+ </script>
273
+ <script type="application/javascript">
274
+ const data = document.querySelector('script#diplodoc-state');
275
+ window.__DATA__ = JSON.parse((function unescape(string) {
276
+ return string.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&amp;/g, "&");
277
+ })(data.innerText));
278
+ window.STATIC_CONTENT = false;
279
+ </script>
280
+ <script type="application/javascript" defer src="az/toc.js"></script>
281
+ </body>
282
+ </html>"
283
+ `;
284
+
285
+ exports[`Alternates > internal 16`] = `
286
+ "<!DOCTYPE html>
287
+ <html lang="az" dir="ltr">
288
+ <head>
289
+ <meta charset="utf-8">
290
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
291
+ <base href="../../" />
292
+ <title>Test</title>
293
+ <link rel="canonical" href="az/deep/test.html">
294
+ <link rel="alternate" href="az/deep/test.html" hreflang="az" />
295
+ <link rel="alternate" href="en/deep/test.html" hreflang="en" />
296
+ <link rel="alternate" href="ru/deep/test.html" hreflang="ru" />
297
+ <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
298
+ <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
299
+ </head>
300
+ <body class="g-root g-root_theme_light">
301
+ <div id="root"></div>
302
+ <script type="application/json" id="diplodoc-state">
303
+ {"data":{"leading":false,"html":"&lt;p&gt;Content&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/deep/test.html","hreflang":"az"},{"href":"en/deep/test.html","hreflang":"en"},{"href":"ru/deep/test.html","hreflang":"ru"}],"canonical":"az/deep/test.html","vcsPath":"az/deep/test.md","sourcePath":"az/deep/test.md"},"headings":[],"title":"Test"},"router":{"pathname":"az/deep/test","depth":3,"base":"../../"},"lang":"az","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
304
+ </script>
305
+ <script type="application/javascript">
306
+ const data = document.querySelector('script#diplodoc-state');
307
+ window.__DATA__ = JSON.parse((function unescape(string) {
308
+ return string.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&amp;/g, "&");
309
+ })(data.innerText));
310
+ window.STATIC_CONTENT = false;
311
+ </script>
312
+ <script type="application/javascript" defer src="az/toc.js"></script>
313
+ </body>
314
+ </html>"
315
+ `;
316
+
317
+ exports[`Alternates > internal 17`] = `
318
+ "<!DOCTYPE html>
319
+ <html lang="az" dir="ltr">
320
+ <head>
321
+ <meta charset="utf-8">
322
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
323
+ <base href="../" />
324
+ <title></title>
325
+ <link rel="canonical" href="az/index.html">
326
+ <link rel="alternate" href="az/index.html" hreflang="az" />
327
+ <link rel="alternate" href="en/index.html" hreflang="en" />
328
+ <link rel="alternate" href="ru/index.html" hreflang="ru" />
329
+ <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
330
+ <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
331
+ </head>
332
+ <body class="g-root g-root_theme_light">
333
+ <div id="root"></div>
334
+ <script type="application/json" id="diplodoc-state">
335
+ {"data":{"leading":true,"data":{"links":[{"url":"az/about/index.html","name":"About"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/index.html","hreflang":"az"},{"href":"en/index.html","hreflang":"en"},{"href":"ru/index.html","hreflang":"ru"}],"canonical":"az/index.html","vcsPath":"az/index.yaml","sourcePath":"az/index.yaml"},"title":""},"router":{"pathname":"az/index","depth":2,"base":"../"},"lang":"az","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
336
+ </script>
337
+ <script type="application/javascript">
338
+ const data = document.querySelector('script#diplodoc-state');
339
+ window.__DATA__ = JSON.parse((function unescape(string) {
340
+ return string.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&amp;/g, "&");
341
+ })(data.innerText));
342
+ window.STATIC_CONTENT = false;
343
+ </script>
344
+ <script type="application/javascript" defer src="az/toc.js"></script>
345
+ </body>
346
+ </html>"
347
+ `;
348
+
349
+ exports[`Alternates > internal 18`] = `"window.__DATA__.data.toc = {"href":"az/index.html","items":[{"href":"az/about.html","name":"About","id":"UUID"},{"href":"az/deep/test.html","name":"Test","id":"UUID"}],"path":"az/toc.yaml","id":"UUID"};"`;
350
+
351
+ exports[`Alternates > internal 19`] = `
352
+ "<!DOCTYPE html>
353
+ <html lang="en" dir="ltr">
354
+ <head>
355
+ <meta charset="utf-8">
356
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
357
+ <base href="../" />
358
+ <title>About</title>
359
+ <link rel="canonical" href="en/about.html">
360
+ <link rel="alternate" href="az/about.html" hreflang="az" />
361
+ <link rel="alternate" href="en/about.html" hreflang="en" />
362
+ <link rel="alternate" href="ru/about.html" hreflang="ru" />
363
+ <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
364
+ <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
365
+ </head>
366
+ <body class="g-root g-root_theme_light">
367
+ <div id="root"></div>
368
+ <script type="application/json" id="diplodoc-state">
369
+ {"data":{"leading":false,"html":"&lt;p&gt;Content&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/about.html","hreflang":"az"},{"href":"en/about.html","hreflang":"en"},{"href":"ru/about.html","hreflang":"ru"}],"canonical":"en/about.html","vcsPath":"en/about.md","sourcePath":"en/about.md"},"headings":[],"title":"About"},"router":{"pathname":"en/about","depth":2,"base":"../"},"lang":"en","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
370
+ </script>
371
+ <script type="application/javascript">
372
+ const data = document.querySelector('script#diplodoc-state');
373
+ window.__DATA__ = JSON.parse((function unescape(string) {
374
+ return string.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&amp;/g, "&");
375
+ })(data.innerText));
376
+ window.STATIC_CONTENT = false;
377
+ </script>
378
+ <script type="application/javascript" defer src="en/toc.js"></script>
379
+ </body>
380
+ </html>"
381
+ `;
382
+
383
+ exports[`Alternates > internal 20`] = `
384
+ "<!DOCTYPE html>
385
+ <html lang="en" dir="ltr">
386
+ <head>
387
+ <meta charset="utf-8">
388
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
389
+ <base href="../../" />
390
+ <title>Test</title>
391
+ <link rel="canonical" href="en/deep/test.html">
392
+ <link rel="alternate" href="az/deep/test.html" hreflang="az" />
393
+ <link rel="alternate" href="en/deep/test.html" hreflang="en" />
394
+ <link rel="alternate" href="ru/deep/test.html" hreflang="ru" />
395
+ <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
396
+ <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
397
+ </head>
398
+ <body class="g-root g-root_theme_light">
399
+ <div id="root"></div>
400
+ <script type="application/json" id="diplodoc-state">
401
+ {"data":{"leading":false,"html":"&lt;p&gt;Content&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/deep/test.html","hreflang":"az"},{"href":"en/deep/test.html","hreflang":"en"},{"href":"ru/deep/test.html","hreflang":"ru"}],"canonical":"en/deep/test.html","vcsPath":"en/deep/test.md","sourcePath":"en/deep/test.md"},"headings":[],"title":"Test"},"router":{"pathname":"en/deep/test","depth":3,"base":"../../"},"lang":"en","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
402
+ </script>
403
+ <script type="application/javascript">
404
+ const data = document.querySelector('script#diplodoc-state');
405
+ window.__DATA__ = JSON.parse((function unescape(string) {
406
+ return string.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&amp;/g, "&");
407
+ })(data.innerText));
408
+ window.STATIC_CONTENT = false;
409
+ </script>
410
+ <script type="application/javascript" defer src="en/toc.js"></script>
411
+ </body>
412
+ </html>"
413
+ `;
414
+
415
+ exports[`Alternates > internal 21`] = `
416
+ "<!DOCTYPE html>
417
+ <html lang="en" dir="ltr">
418
+ <head>
419
+ <meta charset="utf-8">
420
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
421
+ <base href="../" />
422
+ <title></title>
423
+ <link rel="canonical" href="en/index.html">
424
+ <link rel="alternate" href="az/index.html" hreflang="az" />
425
+ <link rel="alternate" href="en/index.html" hreflang="en" />
426
+ <link rel="alternate" href="ru/index.html" hreflang="ru" />
427
+ <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
428
+ <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
429
+ </head>
430
+ <body class="g-root g-root_theme_light">
431
+ <div id="root"></div>
432
+ <script type="application/json" id="diplodoc-state">
433
+ {"data":{"leading":true,"data":{"links":[{"url":"en/about/index.html","name":"About"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/index.html","hreflang":"az"},{"href":"en/index.html","hreflang":"en"},{"href":"ru/index.html","hreflang":"ru"}],"canonical":"en/index.html","vcsPath":"en/index.yaml","sourcePath":"en/index.yaml"},"title":""},"router":{"pathname":"en/index","depth":2,"base":"../"},"lang":"en","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
434
+ </script>
435
+ <script type="application/javascript">
436
+ const data = document.querySelector('script#diplodoc-state');
437
+ window.__DATA__ = JSON.parse((function unescape(string) {
438
+ return string.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&amp;/g, "&");
439
+ })(data.innerText));
440
+ window.STATIC_CONTENT = false;
441
+ </script>
442
+ <script type="application/javascript" defer src="en/toc.js"></script>
443
+ </body>
444
+ </html>"
445
+ `;
446
+
447
+ exports[`Alternates > internal 22`] = `"window.__DATA__.data.toc = {"href":"en/index.html","items":[{"href":"en/about.html","name":"About","id":"UUID"},{"href":"en/deep/test.html","name":"Test","id":"UUID"}],"path":"en/toc.yaml","id":"UUID"};"`;
448
+
449
+ exports[`Alternates > internal 23`] = `
450
+ "<!DOCTYPE html>
451
+ <html lang="ru" dir="ltr">
452
+ <head>
453
+ <meta charset="utf-8">
454
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
455
+ <base href="./" />
456
+ <title>Redirect to ./ru/index.html</title>
457
+ <meta http-equiv="refresh" content="0; url=./ru/index.html">
458
+ <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
459
+ <script type="application/javascript">
460
+ window.location.replace("./ru/index.html");
461
+ </script>
462
+ </head>
463
+ <body class="g-root g-root_theme_light">
464
+ If you are not redirected automatically, follow this <a href="./ru/index.html">link</a>.
465
+ </body>
466
+ </html>"
467
+ `;
468
+
469
+ exports[`Alternates > internal 24`] = `
470
+ "<!DOCTYPE html>
471
+ <html lang="ru" dir="ltr">
472
+ <head>
473
+ <meta charset="utf-8">
474
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
475
+ <base href="../" />
476
+ <title>About</title>
477
+ <link rel="canonical" href="ru/about.html">
478
+ <link rel="alternate" href="az/about.html" hreflang="az" />
479
+ <link rel="alternate" href="en/about.html" hreflang="en" />
480
+ <link rel="alternate" href="ru/about.html" hreflang="ru" />
481
+ <link rel="alternate" href="https://my-other-site.com/about" />
482
+ <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
483
+ <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
484
+ </head>
485
+ <body class="g-root g-root_theme_light">
486
+ <div id="root"></div>
487
+ <script type="application/json" id="diplodoc-state">
488
+ {"data":{"leading":false,"html":"&lt;p&gt;Content&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/about.html","hreflang":"az"},{"href":"en/about.html","hreflang":"en"},{"href":"ru/about.html","hreflang":"ru"},{"href":"https://my-other-site.com/about"}],"canonical":"ru/about.html","vcsPath":"ru/about.md","sourcePath":"ru/about.md"},"headings":[],"title":"About"},"router":{"pathname":"ru/about","depth":2,"base":"../"},"lang":"ru","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
489
+ </script>
490
+ <script type="application/javascript">
491
+ const data = document.querySelector('script#diplodoc-state');
492
+ window.__DATA__ = JSON.parse((function unescape(string) {
493
+ return string.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&amp;/g, "&");
494
+ })(data.innerText));
495
+ window.STATIC_CONTENT = false;
496
+ </script>
497
+ <script type="application/javascript" defer src="ru/toc.js"></script>
498
+ </body>
499
+ </html>"
500
+ `;
501
+
502
+ exports[`Alternates > internal 25`] = `
503
+ "<!DOCTYPE html>
504
+ <html lang="ru" dir="ltr">
505
+ <head>
506
+ <meta charset="utf-8">
507
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
508
+ <base href="../../" />
509
+ <title>Test</title>
510
+ <link rel="canonical" href="ru/deep/test.html">
511
+ <link rel="alternate" href="az/deep/test.html" hreflang="az" />
512
+ <link rel="alternate" href="en/deep/test.html" hreflang="en" />
513
+ <link rel="alternate" href="ru/deep/test.html" hreflang="ru" />
514
+ <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
515
+ <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
516
+ </head>
517
+ <body class="g-root g-root_theme_light">
518
+ <div id="root"></div>
519
+ <script type="application/json" id="diplodoc-state">
520
+ {"data":{"leading":false,"html":"&lt;p&gt;Content&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/deep/test.html","hreflang":"az"},{"href":"en/deep/test.html","hreflang":"en"},{"href":"ru/deep/test.html","hreflang":"ru"}],"canonical":"ru/deep/test.html","vcsPath":"ru/deep/test.md","sourcePath":"ru/deep/test.md"},"headings":[],"title":"Test"},"router":{"pathname":"ru/deep/test","depth":3,"base":"../../"},"lang":"ru","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
521
+ </script>
522
+ <script type="application/javascript">
523
+ const data = document.querySelector('script#diplodoc-state');
524
+ window.__DATA__ = JSON.parse((function unescape(string) {
525
+ return string.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&amp;/g, "&");
526
+ })(data.innerText));
527
+ window.STATIC_CONTENT = false;
528
+ </script>
529
+ <script type="application/javascript" defer src="ru/toc.js"></script>
530
+ </body>
531
+ </html>"
532
+ `;
533
+
534
+ exports[`Alternates > internal 26`] = `
535
+ "<!DOCTYPE html>
536
+ <html lang="ru" dir="ltr">
537
+ <head>
538
+ <meta charset="utf-8">
539
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
540
+ <base href="../" />
541
+ <title></title>
542
+ <link rel="canonical" href="ru/index.html">
543
+ <link rel="alternate" href="az/index.html" hreflang="az" />
544
+ <link rel="alternate" href="en/index.html" hreflang="en" />
545
+ <link rel="alternate" href="ru/index.html" hreflang="ru" />
546
+ <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
547
+ <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
548
+ </head>
549
+ <body class="g-root g-root_theme_light">
550
+ <div id="root"></div>
551
+ <script type="application/json" id="diplodoc-state">
552
+ {"data":{"leading":true,"data":{"links":[{"url":"ru/about/index.html","name":"About"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/index.html","hreflang":"az"},{"href":"en/index.html","hreflang":"en"},{"href":"ru/index.html","hreflang":"ru"}],"canonical":"ru/index.html","vcsPath":"ru/index.yaml","sourcePath":"ru/index.yaml"},"title":""},"router":{"pathname":"ru/index","depth":2,"base":"../"},"lang":"ru","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
553
+ </script>
554
+ <script type="application/javascript">
555
+ const data = document.querySelector('script#diplodoc-state');
556
+ window.__DATA__ = JSON.parse((function unescape(string) {
557
+ return string.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&amp;/g, "&");
558
+ })(data.innerText));
559
+ window.STATIC_CONTENT = false;
560
+ </script>
561
+ <script type="application/javascript" defer src="ru/toc.js"></script>
562
+ </body>
563
+ </html>"
564
+ `;
565
+
566
+ exports[`Alternates > internal 27`] = `"window.__DATA__.data.toc = {"href":"ru/index.html","items":[{"href":"ru/about.html","name":"About","id":"UUID"},{"href":"ru/deep/test.html","name":"Test","id":"UUID"}],"path":"ru/toc.yaml","id":"UUID"};"`;
567
+
568
+ exports[`Alternates > skip-html-extension > filelist 1`] = `
569
+ "[
570
+ ".yfm",
571
+ "az/about.html",
572
+ "az/deep/test.html",
573
+ "az/index.html",
574
+ "az/toc.js",
575
+ "en/about.html",
576
+ "en/deep/test.html",
577
+ "en/index.html",
578
+ "en/toc.js",
579
+ "index.html",
580
+ "ru/about.html",
581
+ "ru/deep/test.html",
582
+ "ru/index.html",
583
+ "ru/toc.js"
584
+ ]"
585
+ `;
586
+
587
+ exports[`Alternates > skip-html-extension 1`] = `
588
+ "langs: ['ru', 'en', 'az']
589
+ "
590
+ `;
591
+
592
+ exports[`Alternates > skip-html-extension 2`] = `
593
+ "<!DOCTYPE html>
594
+ <html lang="az" dir="ltr">
595
+ <head>
596
+ <meta charset="utf-8">
597
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
598
+ <base href="../" />
599
+ <title>About</title>
600
+ <link rel="canonical" href="az/about">
601
+ <link rel="alternate" href="az/about" hreflang="az" />
602
+ <link rel="alternate" href="en/about" hreflang="en" />
603
+ <link rel="alternate" href="ru/about" hreflang="ru" />
604
+ <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
605
+ <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
606
+ </head>
607
+ <body class="g-root g-root_theme_light">
608
+ <div id="root"></div>
609
+ <script type="application/json" id="diplodoc-state">
610
+ {"data":{"leading":false,"html":"&lt;p&gt;Content&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/about","hreflang":"az"},{"href":"en/about","hreflang":"en"},{"href":"ru/about","hreflang":"ru"}],"canonical":"az/about","vcsPath":"az/about.md","sourcePath":"az/about.md"},"headings":[],"title":"About"},"router":{"pathname":"az/about","depth":2,"base":"../"},"lang":"az","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
611
+ </script>
612
+ <script type="application/javascript">
613
+ const data = document.querySelector('script#diplodoc-state');
614
+ window.__DATA__ = JSON.parse((function unescape(string) {
615
+ return string.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&amp;/g, "&");
616
+ })(data.innerText));
617
+ window.STATIC_CONTENT = false;
618
+ </script>
619
+ <script type="application/javascript" defer src="az/toc.js"></script>
620
+ </body>
621
+ </html>"
622
+ `;
623
+
624
+ exports[`Alternates > skip-html-extension 3`] = `
625
+ "<!DOCTYPE html>
626
+ <html lang="az" dir="ltr">
627
+ <head>
628
+ <meta charset="utf-8">
629
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
630
+ <base href="../../" />
631
+ <title>Test</title>
632
+ <link rel="canonical" href="az/deep/test">
633
+ <link rel="alternate" href="az/deep/test" hreflang="az" />
634
+ <link rel="alternate" href="en/deep/test" hreflang="en" />
635
+ <link rel="alternate" href="ru/deep/test" hreflang="ru" />
636
+ <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
637
+ <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
638
+ </head>
639
+ <body class="g-root g-root_theme_light">
640
+ <div id="root"></div>
641
+ <script type="application/json" id="diplodoc-state">
642
+ {"data":{"leading":false,"html":"&lt;p&gt;Content&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/deep/test","hreflang":"az"},{"href":"en/deep/test","hreflang":"en"},{"href":"ru/deep/test","hreflang":"ru"}],"canonical":"az/deep/test","vcsPath":"az/deep/test.md","sourcePath":"az/deep/test.md"},"headings":[],"title":"Test"},"router":{"pathname":"az/deep/test","depth":3,"base":"../../"},"lang":"az","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
643
+ </script>
644
+ <script type="application/javascript">
645
+ const data = document.querySelector('script#diplodoc-state');
646
+ window.__DATA__ = JSON.parse((function unescape(string) {
647
+ return string.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&amp;/g, "&");
648
+ })(data.innerText));
649
+ window.STATIC_CONTENT = false;
650
+ </script>
651
+ <script type="application/javascript" defer src="az/toc.js"></script>
652
+ </body>
653
+ </html>"
654
+ `;
655
+
656
+ exports[`Alternates > skip-html-extension 4`] = `
657
+ "<!DOCTYPE html>
658
+ <html lang="az" dir="ltr">
659
+ <head>
660
+ <meta charset="utf-8">
661
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
662
+ <base href="../" />
663
+ <title></title>
664
+ <link rel="canonical" href="az/">
665
+ <link rel="alternate" href="az/" hreflang="az" />
666
+ <link rel="alternate" href="en/" hreflang="en" />
667
+ <link rel="alternate" href="ru/" hreflang="ru" />
668
+ <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
669
+ <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
670
+ </head>
671
+ <body class="g-root g-root_theme_light">
672
+ <div id="root"></div>
673
+ <script type="application/json" id="diplodoc-state">
674
+ {"data":{"leading":true,"data":{"links":[{"url":"az/about/","name":"About"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/","hreflang":"az"},{"href":"en/","hreflang":"en"},{"href":"ru/","hreflang":"ru"}],"canonical":"az/","vcsPath":"az/index.yaml","sourcePath":"az/index.yaml"},"title":""},"router":{"pathname":"az/index","depth":2,"base":"../"},"lang":"az","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
675
+ </script>
676
+ <script type="application/javascript">
677
+ const data = document.querySelector('script#diplodoc-state');
678
+ window.__DATA__ = JSON.parse((function unescape(string) {
679
+ return string.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&amp;/g, "&");
680
+ })(data.innerText));
681
+ window.STATIC_CONTENT = false;
682
+ </script>
683
+ <script type="application/javascript" defer src="az/toc.js"></script>
684
+ </body>
685
+ </html>"
686
+ `;
687
+
688
+ exports[`Alternates > skip-html-extension 5`] = `"window.__DATA__.data.toc = {"href":"az/","items":[{"href":"az/about","name":"About","id":"UUID"},{"href":"az/deep/test","name":"Test","id":"UUID"}],"path":"az/toc.yaml","id":"UUID"};"`;
689
+
690
+ exports[`Alternates > skip-html-extension 6`] = `
691
+ "<!DOCTYPE html>
692
+ <html lang="en" dir="ltr">
693
+ <head>
694
+ <meta charset="utf-8">
695
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
696
+ <base href="../" />
697
+ <title>About</title>
698
+ <link rel="canonical" href="en/about">
699
+ <link rel="alternate" href="az/about" hreflang="az" />
700
+ <link rel="alternate" href="en/about" hreflang="en" />
701
+ <link rel="alternate" href="ru/about" hreflang="ru" />
702
+ <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
703
+ <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
704
+ </head>
705
+ <body class="g-root g-root_theme_light">
706
+ <div id="root"></div>
707
+ <script type="application/json" id="diplodoc-state">
708
+ {"data":{"leading":false,"html":"&lt;p&gt;Content&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/about","hreflang":"az"},{"href":"en/about","hreflang":"en"},{"href":"ru/about","hreflang":"ru"}],"canonical":"en/about","vcsPath":"en/about.md","sourcePath":"en/about.md"},"headings":[],"title":"About"},"router":{"pathname":"en/about","depth":2,"base":"../"},"lang":"en","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
709
+ </script>
710
+ <script type="application/javascript">
711
+ const data = document.querySelector('script#diplodoc-state');
712
+ window.__DATA__ = JSON.parse((function unescape(string) {
713
+ return string.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&amp;/g, "&");
714
+ })(data.innerText));
715
+ window.STATIC_CONTENT = false;
716
+ </script>
717
+ <script type="application/javascript" defer src="en/toc.js"></script>
718
+ </body>
719
+ </html>"
720
+ `;
721
+
722
+ exports[`Alternates > skip-html-extension 7`] = `
723
+ "<!DOCTYPE html>
724
+ <html lang="en" dir="ltr">
725
+ <head>
726
+ <meta charset="utf-8">
727
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
728
+ <base href="../../" />
729
+ <title>Test</title>
730
+ <link rel="canonical" href="en/deep/test">
731
+ <link rel="alternate" href="az/deep/test" hreflang="az" />
732
+ <link rel="alternate" href="en/deep/test" hreflang="en" />
733
+ <link rel="alternate" href="ru/deep/test" hreflang="ru" />
734
+ <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
735
+ <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
736
+ </head>
737
+ <body class="g-root g-root_theme_light">
738
+ <div id="root"></div>
739
+ <script type="application/json" id="diplodoc-state">
740
+ {"data":{"leading":false,"html":"&lt;p&gt;Content&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/deep/test","hreflang":"az"},{"href":"en/deep/test","hreflang":"en"},{"href":"ru/deep/test","hreflang":"ru"}],"canonical":"en/deep/test","vcsPath":"en/deep/test.md","sourcePath":"en/deep/test.md"},"headings":[],"title":"Test"},"router":{"pathname":"en/deep/test","depth":3,"base":"../../"},"lang":"en","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
741
+ </script>
742
+ <script type="application/javascript">
743
+ const data = document.querySelector('script#diplodoc-state');
744
+ window.__DATA__ = JSON.parse((function unescape(string) {
745
+ return string.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&amp;/g, "&");
746
+ })(data.innerText));
747
+ window.STATIC_CONTENT = false;
748
+ </script>
749
+ <script type="application/javascript" defer src="en/toc.js"></script>
750
+ </body>
751
+ </html>"
752
+ `;
753
+
754
+ exports[`Alternates > skip-html-extension 8`] = `
755
+ "<!DOCTYPE html>
756
+ <html lang="en" dir="ltr">
757
+ <head>
758
+ <meta charset="utf-8">
759
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
760
+ <base href="../" />
761
+ <title></title>
762
+ <link rel="canonical" href="en/">
763
+ <link rel="alternate" href="az/" hreflang="az" />
764
+ <link rel="alternate" href="en/" hreflang="en" />
765
+ <link rel="alternate" href="ru/" hreflang="ru" />
766
+ <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
767
+ <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
768
+ </head>
769
+ <body class="g-root g-root_theme_light">
770
+ <div id="root"></div>
771
+ <script type="application/json" id="diplodoc-state">
772
+ {"data":{"leading":true,"data":{"links":[{"url":"en/about/","name":"About"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/","hreflang":"az"},{"href":"en/","hreflang":"en"},{"href":"ru/","hreflang":"ru"}],"canonical":"en/","vcsPath":"en/index.yaml","sourcePath":"en/index.yaml"},"title":""},"router":{"pathname":"en/index","depth":2,"base":"../"},"lang":"en","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
773
+ </script>
774
+ <script type="application/javascript">
775
+ const data = document.querySelector('script#diplodoc-state');
776
+ window.__DATA__ = JSON.parse((function unescape(string) {
777
+ return string.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&amp;/g, "&");
778
+ })(data.innerText));
779
+ window.STATIC_CONTENT = false;
780
+ </script>
781
+ <script type="application/javascript" defer src="en/toc.js"></script>
782
+ </body>
783
+ </html>"
784
+ `;
785
+
786
+ exports[`Alternates > skip-html-extension 9`] = `"window.__DATA__.data.toc = {"href":"en/","items":[{"href":"en/about","name":"About","id":"UUID"},{"href":"en/deep/test","name":"Test","id":"UUID"}],"path":"en/toc.yaml","id":"UUID"};"`;
787
+
788
+ exports[`Alternates > skip-html-extension 10`] = `
789
+ "<!DOCTYPE html>
790
+ <html lang="ru" dir="ltr">
791
+ <head>
792
+ <meta charset="utf-8">
793
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
794
+ <base href="./" />
795
+ <title>Redirect to ./ru</title>
796
+ <meta http-equiv="refresh" content="0; url=./ru">
797
+ <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
798
+ <script type="application/javascript">
799
+ window.location.replace("./ru");
800
+ </script>
801
+ </head>
802
+ <body class="g-root g-root_theme_light">
803
+ If you are not redirected automatically, follow this <a href="./ru">link</a>.
804
+ </body>
805
+ </html>"
806
+ `;
807
+
808
+ exports[`Alternates > skip-html-extension 11`] = `
809
+ "<!DOCTYPE html>
810
+ <html lang="ru" dir="ltr">
811
+ <head>
812
+ <meta charset="utf-8">
813
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
814
+ <base href="../" />
815
+ <title>About</title>
816
+ <link rel="canonical" href="ru/about">
817
+ <link rel="alternate" href="az/about" hreflang="az" />
818
+ <link rel="alternate" href="en/about" hreflang="en" />
819
+ <link rel="alternate" href="ru/about" hreflang="ru" />
820
+ <link rel="alternate" href="https://my-other-site.com/about" />
821
+ <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
822
+ <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
823
+ </head>
824
+ <body class="g-root g-root_theme_light">
825
+ <div id="root"></div>
826
+ <script type="application/json" id="diplodoc-state">
827
+ {"data":{"leading":false,"html":"&lt;p&gt;Content&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/about","hreflang":"az"},{"href":"en/about","hreflang":"en"},{"href":"ru/about","hreflang":"ru"},{"href":"https://my-other-site.com/about"}],"canonical":"ru/about","vcsPath":"ru/about.md","sourcePath":"ru/about.md"},"headings":[],"title":"About"},"router":{"pathname":"ru/about","depth":2,"base":"../"},"lang":"ru","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
828
+ </script>
829
+ <script type="application/javascript">
830
+ const data = document.querySelector('script#diplodoc-state');
831
+ window.__DATA__ = JSON.parse((function unescape(string) {
832
+ return string.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&amp;/g, "&");
833
+ })(data.innerText));
834
+ window.STATIC_CONTENT = false;
835
+ </script>
836
+ <script type="application/javascript" defer src="ru/toc.js"></script>
837
+ </body>
838
+ </html>"
839
+ `;
840
+
841
+ exports[`Alternates > skip-html-extension 12`] = `
842
+ "<!DOCTYPE html>
843
+ <html lang="ru" dir="ltr">
844
+ <head>
845
+ <meta charset="utf-8">
846
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
847
+ <base href="../../" />
848
+ <title>Test</title>
849
+ <link rel="canonical" href="ru/deep/test">
850
+ <link rel="alternate" href="az/deep/test" hreflang="az" />
851
+ <link rel="alternate" href="en/deep/test" hreflang="en" />
852
+ <link rel="alternate" href="ru/deep/test" hreflang="ru" />
853
+ <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
854
+ <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
855
+ </head>
856
+ <body class="g-root g-root_theme_light">
857
+ <div id="root"></div>
858
+ <script type="application/json" id="diplodoc-state">
859
+ {"data":{"leading":false,"html":"&lt;p&gt;Content&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/deep/test","hreflang":"az"},{"href":"en/deep/test","hreflang":"en"},{"href":"ru/deep/test","hreflang":"ru"}],"canonical":"ru/deep/test","vcsPath":"ru/deep/test.md","sourcePath":"ru/deep/test.md"},"headings":[],"title":"Test"},"router":{"pathname":"ru/deep/test","depth":3,"base":"../../"},"lang":"ru","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
860
+ </script>
861
+ <script type="application/javascript">
862
+ const data = document.querySelector('script#diplodoc-state');
863
+ window.__DATA__ = JSON.parse((function unescape(string) {
864
+ return string.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&amp;/g, "&");
865
+ })(data.innerText));
866
+ window.STATIC_CONTENT = false;
867
+ </script>
868
+ <script type="application/javascript" defer src="ru/toc.js"></script>
869
+ </body>
870
+ </html>"
871
+ `;
872
+
873
+ exports[`Alternates > skip-html-extension 13`] = `
874
+ "<!DOCTYPE html>
875
+ <html lang="ru" dir="ltr">
876
+ <head>
877
+ <meta charset="utf-8">
878
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
879
+ <base href="../" />
880
+ <title></title>
881
+ <link rel="canonical" href="ru/">
882
+ <link rel="alternate" href="az/" hreflang="az" />
883
+ <link rel="alternate" href="en/" hreflang="en" />
884
+ <link rel="alternate" href="ru/" hreflang="ru" />
885
+ <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
886
+ <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
887
+ </head>
888
+ <body class="g-root g-root_theme_light">
889
+ <div id="root"></div>
890
+ <script type="application/json" id="diplodoc-state">
891
+ {"data":{"leading":true,"data":{"links":[{"url":"ru/about/","name":"About"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"az/","hreflang":"az"},{"href":"en/","hreflang":"en"},{"href":"ru/","hreflang":"ru"}],"canonical":"ru/","vcsPath":"ru/index.yaml","sourcePath":"ru/index.yaml"},"title":""},"router":{"pathname":"ru/index","depth":2,"base":"../"},"lang":"ru","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
892
+ </script>
893
+ <script type="application/javascript">
894
+ const data = document.querySelector('script#diplodoc-state');
895
+ window.__DATA__ = JSON.parse((function unescape(string) {
896
+ return string.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&amp;/g, "&");
897
+ })(data.innerText));
898
+ window.STATIC_CONTENT = false;
899
+ </script>
900
+ <script type="application/javascript" defer src="ru/toc.js"></script>
901
+ </body>
902
+ </html>"
903
+ `;
904
+
905
+ exports[`Alternates > skip-html-extension 14`] = `"window.__DATA__.data.toc = {"href":"ru/","items":[{"href":"ru/about","name":"About","id":"UUID"},{"href":"ru/deep/test","name":"Test","id":"UUID"}],"path":"ru/toc.yaml","id":"UUID"};"`;