@diplodoc/cli-tests 5.15.4 → 5.15.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/e2e/__snapshots__/alternates.test.ts.snap +21 -21
- package/e2e/__snapshots__/assets.spec.ts.snap +0 -0
- package/e2e/__snapshots__/preprocess.test.ts.snap +221 -59
- package/e2e/translation.spec.ts +7 -3
- package/fixtures/utils/file.ts +4 -1
- package/mocks/alternates/input/.yfm +1 -1
- package/mocks/assets/input/index.md +3 -4
- package/mocks/assets/input/page.yaml +1 -1
- package/mocks/preprocess/input/_assets/2.svg +19 -0
- package/mocks/preprocess/input/images.md +54 -0
- package/package.json +5 -1
- package/mocks/translation/custom-schema/input/openapi-spec.yaml +0 -42
- package/mocks/translation/custom-schema/input/toc.yaml +0 -8
|
@@ -38,7 +38,7 @@ exports[`Alternates > internal > filelist 2`] = `
|
|
|
38
38
|
`;
|
|
39
39
|
|
|
40
40
|
exports[`Alternates > internal 1`] = `
|
|
41
|
-
"langs: ['ru', 'en', 'az']
|
|
41
|
+
"langs: ['ru', 'en', {'lang': 'az', 'tld': 'az'}]
|
|
42
42
|
"
|
|
43
43
|
`;
|
|
44
44
|
|
|
@@ -237,7 +237,7 @@ path: ru/toc.yaml
|
|
|
237
237
|
`;
|
|
238
238
|
|
|
239
239
|
exports[`Alternates > internal 14`] = `
|
|
240
|
-
"langs: ['ru', 'en', 'az']
|
|
240
|
+
"langs: ['ru', 'en', {'lang': 'az', 'tld': 'az'}]
|
|
241
241
|
"
|
|
242
242
|
`;
|
|
243
243
|
|
|
@@ -259,7 +259,7 @@ exports[`Alternates > internal 15`] = `
|
|
|
259
259
|
<body class="g-root g-root_theme_light">
|
|
260
260
|
<div id="root"></div>
|
|
261
261
|
<script type="application/json" id="diplodoc-state">
|
|
262
|
-
{"data":{"leading":false,"html":"<p>Content</p>/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"},"headings":[],"title":"About"},"router":{"pathname":"az/about","depth":2,"base":"../"},"lang":"az","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
262
|
+
{"data":{"leading":false,"html":"<p>Content</p>/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"},"headings":[],"title":"About"},"router":{"pathname":"az/about","depth":2,"base":"../"},"lang":"az","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
263
263
|
</script>
|
|
264
264
|
<script type="application/javascript">
|
|
265
265
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -291,7 +291,7 @@ exports[`Alternates > internal 16`] = `
|
|
|
291
291
|
<body class="g-root g-root_theme_light">
|
|
292
292
|
<div id="root"></div>
|
|
293
293
|
<script type="application/json" id="diplodoc-state">
|
|
294
|
-
{"data":{"leading":false,"html":"<p>Content</p>/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"},"headings":[],"title":"Test"},"router":{"pathname":"az/deep/test","depth":3,"base":"../../"},"lang":"az","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
294
|
+
{"data":{"leading":false,"html":"<p>Content</p>/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"},"headings":[],"title":"Test"},"router":{"pathname":"az/deep/test","depth":3,"base":"../../"},"lang":"az","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
295
295
|
</script>
|
|
296
296
|
<script type="application/javascript">
|
|
297
297
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -323,7 +323,7 @@ exports[`Alternates > internal 17`] = `
|
|
|
323
323
|
<body class="g-root g-root_theme_light">
|
|
324
324
|
<div id="root"></div>
|
|
325
325
|
<script type="application/json" id="diplodoc-state">
|
|
326
|
-
{"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"},"title":""},"router":{"pathname":"az/index","depth":2,"base":"../"},"lang":"az","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
326
|
+
{"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"},"title":""},"router":{"pathname":"az/index","depth":2,"base":"../"},"lang":"az","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
327
327
|
</script>
|
|
328
328
|
<script type="application/javascript">
|
|
329
329
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -357,7 +357,7 @@ exports[`Alternates > internal 19`] = `
|
|
|
357
357
|
<body class="g-root g-root_theme_light">
|
|
358
358
|
<div id="root"></div>
|
|
359
359
|
<script type="application/json" id="diplodoc-state">
|
|
360
|
-
{"data":{"leading":false,"html":"<p>Content</p>/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"},"headings":[],"title":"About"},"router":{"pathname":"en/about","depth":2,"base":"../"},"lang":"en","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
360
|
+
{"data":{"leading":false,"html":"<p>Content</p>/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"},"headings":[],"title":"About"},"router":{"pathname":"en/about","depth":2,"base":"../"},"lang":"en","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
361
361
|
</script>
|
|
362
362
|
<script type="application/javascript">
|
|
363
363
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -389,7 +389,7 @@ exports[`Alternates > internal 20`] = `
|
|
|
389
389
|
<body class="g-root g-root_theme_light">
|
|
390
390
|
<div id="root"></div>
|
|
391
391
|
<script type="application/json" id="diplodoc-state">
|
|
392
|
-
{"data":{"leading":false,"html":"<p>Content</p>/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"},"headings":[],"title":"Test"},"router":{"pathname":"en/deep/test","depth":3,"base":"../../"},"lang":"en","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
392
|
+
{"data":{"leading":false,"html":"<p>Content</p>/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"},"headings":[],"title":"Test"},"router":{"pathname":"en/deep/test","depth":3,"base":"../../"},"lang":"en","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
393
393
|
</script>
|
|
394
394
|
<script type="application/javascript">
|
|
395
395
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -421,7 +421,7 @@ exports[`Alternates > internal 21`] = `
|
|
|
421
421
|
<body class="g-root g-root_theme_light">
|
|
422
422
|
<div id="root"></div>
|
|
423
423
|
<script type="application/json" id="diplodoc-state">
|
|
424
|
-
{"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"},"title":""},"router":{"pathname":"en/index","depth":2,"base":"../"},"lang":"en","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
424
|
+
{"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"},"title":""},"router":{"pathname":"en/index","depth":2,"base":"../"},"lang":"en","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
425
425
|
</script>
|
|
426
426
|
<script type="application/javascript">
|
|
427
427
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -476,7 +476,7 @@ exports[`Alternates > internal 24`] = `
|
|
|
476
476
|
<body class="g-root g-root_theme_light">
|
|
477
477
|
<div id="root"></div>
|
|
478
478
|
<script type="application/json" id="diplodoc-state">
|
|
479
|
-
{"data":{"leading":false,"html":"<p>Content</p>/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"},"headings":[],"title":"About"},"router":{"pathname":"ru/about","depth":2,"base":"../"},"lang":"ru","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
479
|
+
{"data":{"leading":false,"html":"<p>Content</p>/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"},"headings":[],"title":"About"},"router":{"pathname":"ru/about","depth":2,"base":"../"},"lang":"ru","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
480
480
|
</script>
|
|
481
481
|
<script type="application/javascript">
|
|
482
482
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -508,7 +508,7 @@ exports[`Alternates > internal 25`] = `
|
|
|
508
508
|
<body class="g-root g-root_theme_light">
|
|
509
509
|
<div id="root"></div>
|
|
510
510
|
<script type="application/json" id="diplodoc-state">
|
|
511
|
-
{"data":{"leading":false,"html":"<p>Content</p>/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"},"headings":[],"title":"Test"},"router":{"pathname":"ru/deep/test","depth":3,"base":"../../"},"lang":"ru","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
511
|
+
{"data":{"leading":false,"html":"<p>Content</p>/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"},"headings":[],"title":"Test"},"router":{"pathname":"ru/deep/test","depth":3,"base":"../../"},"lang":"ru","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
512
512
|
</script>
|
|
513
513
|
<script type="application/javascript">
|
|
514
514
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -540,7 +540,7 @@ exports[`Alternates > internal 26`] = `
|
|
|
540
540
|
<body class="g-root g-root_theme_light">
|
|
541
541
|
<div id="root"></div>
|
|
542
542
|
<script type="application/json" id="diplodoc-state">
|
|
543
|
-
{"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"},"title":""},"router":{"pathname":"ru/index","depth":2,"base":"../"},"lang":"ru","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
543
|
+
{"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"},"title":""},"router":{"pathname":"ru/index","depth":2,"base":"../"},"lang":"ru","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
544
544
|
</script>
|
|
545
545
|
<script type="application/javascript">
|
|
546
546
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -576,7 +576,7 @@ exports[`Alternates > skip-html-extension > filelist 1`] = `
|
|
|
576
576
|
`;
|
|
577
577
|
|
|
578
578
|
exports[`Alternates > skip-html-extension 1`] = `
|
|
579
|
-
"langs: ['ru', 'en', 'az']
|
|
579
|
+
"langs: ['ru', 'en', {'lang': 'az', 'tld': 'az'}]
|
|
580
580
|
"
|
|
581
581
|
`;
|
|
582
582
|
|
|
@@ -598,7 +598,7 @@ exports[`Alternates > skip-html-extension 2`] = `
|
|
|
598
598
|
<body class="g-root g-root_theme_light">
|
|
599
599
|
<div id="root"></div>
|
|
600
600
|
<script type="application/json" id="diplodoc-state">
|
|
601
|
-
{"data":{"leading":false,"html":"<p>Content</p>/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"},"headings":[],"title":"About"},"router":{"pathname":"az/about","depth":2,"base":"../"},"lang":"az","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
601
|
+
{"data":{"leading":false,"html":"<p>Content</p>/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"},"headings":[],"title":"About"},"router":{"pathname":"az/about","depth":2,"base":"../"},"lang":"az","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
602
602
|
</script>
|
|
603
603
|
<script type="application/javascript">
|
|
604
604
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -630,7 +630,7 @@ exports[`Alternates > skip-html-extension 3`] = `
|
|
|
630
630
|
<body class="g-root g-root_theme_light">
|
|
631
631
|
<div id="root"></div>
|
|
632
632
|
<script type="application/json" id="diplodoc-state">
|
|
633
|
-
{"data":{"leading":false,"html":"<p>Content</p>/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"},"headings":[],"title":"Test"},"router":{"pathname":"az/deep/test","depth":3,"base":"../../"},"lang":"az","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
633
|
+
{"data":{"leading":false,"html":"<p>Content</p>/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"},"headings":[],"title":"Test"},"router":{"pathname":"az/deep/test","depth":3,"base":"../../"},"lang":"az","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
634
634
|
</script>
|
|
635
635
|
<script type="application/javascript">
|
|
636
636
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -662,7 +662,7 @@ exports[`Alternates > skip-html-extension 4`] = `
|
|
|
662
662
|
<body class="g-root g-root_theme_light">
|
|
663
663
|
<div id="root"></div>
|
|
664
664
|
<script type="application/json" id="diplodoc-state">
|
|
665
|
-
{"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"},"title":""},"router":{"pathname":"az/index","depth":2,"base":"../"},"lang":"az","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
665
|
+
{"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"},"title":""},"router":{"pathname":"az/index","depth":2,"base":"../"},"lang":"az","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
666
666
|
</script>
|
|
667
667
|
<script type="application/javascript">
|
|
668
668
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -696,7 +696,7 @@ exports[`Alternates > skip-html-extension 6`] = `
|
|
|
696
696
|
<body class="g-root g-root_theme_light">
|
|
697
697
|
<div id="root"></div>
|
|
698
698
|
<script type="application/json" id="diplodoc-state">
|
|
699
|
-
{"data":{"leading":false,"html":"<p>Content</p>/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"},"headings":[],"title":"About"},"router":{"pathname":"en/about","depth":2,"base":"../"},"lang":"en","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
699
|
+
{"data":{"leading":false,"html":"<p>Content</p>/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"},"headings":[],"title":"About"},"router":{"pathname":"en/about","depth":2,"base":"../"},"lang":"en","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
700
700
|
</script>
|
|
701
701
|
<script type="application/javascript">
|
|
702
702
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -728,7 +728,7 @@ exports[`Alternates > skip-html-extension 7`] = `
|
|
|
728
728
|
<body class="g-root g-root_theme_light">
|
|
729
729
|
<div id="root"></div>
|
|
730
730
|
<script type="application/json" id="diplodoc-state">
|
|
731
|
-
{"data":{"leading":false,"html":"<p>Content</p>/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"},"headings":[],"title":"Test"},"router":{"pathname":"en/deep/test","depth":3,"base":"../../"},"lang":"en","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
731
|
+
{"data":{"leading":false,"html":"<p>Content</p>/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"},"headings":[],"title":"Test"},"router":{"pathname":"en/deep/test","depth":3,"base":"../../"},"lang":"en","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
732
732
|
</script>
|
|
733
733
|
<script type="application/javascript">
|
|
734
734
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -760,7 +760,7 @@ exports[`Alternates > skip-html-extension 8`] = `
|
|
|
760
760
|
<body class="g-root g-root_theme_light">
|
|
761
761
|
<div id="root"></div>
|
|
762
762
|
<script type="application/json" id="diplodoc-state">
|
|
763
|
-
{"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"},"title":""},"router":{"pathname":"en/index","depth":2,"base":"../"},"lang":"en","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
763
|
+
{"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"},"title":""},"router":{"pathname":"en/index","depth":2,"base":"../"},"lang":"en","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
764
764
|
</script>
|
|
765
765
|
<script type="application/javascript">
|
|
766
766
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -815,7 +815,7 @@ exports[`Alternates > skip-html-extension 11`] = `
|
|
|
815
815
|
<body class="g-root g-root_theme_light">
|
|
816
816
|
<div id="root"></div>
|
|
817
817
|
<script type="application/json" id="diplodoc-state">
|
|
818
|
-
{"data":{"leading":false,"html":"<p>Content</p>/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"},"headings":[],"title":"About"},"router":{"pathname":"ru/about","depth":2,"base":"../"},"lang":"ru","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
818
|
+
{"data":{"leading":false,"html":"<p>Content</p>/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"},"headings":[],"title":"About"},"router":{"pathname":"ru/about","depth":2,"base":"../"},"lang":"ru","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
819
819
|
</script>
|
|
820
820
|
<script type="application/javascript">
|
|
821
821
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -847,7 +847,7 @@ exports[`Alternates > skip-html-extension 12`] = `
|
|
|
847
847
|
<body class="g-root g-root_theme_light">
|
|
848
848
|
<div id="root"></div>
|
|
849
849
|
<script type="application/json" id="diplodoc-state">
|
|
850
|
-
{"data":{"leading":false,"html":"<p>Content</p>/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"},"headings":[],"title":"Test"},"router":{"pathname":"ru/deep/test","depth":3,"base":"../../"},"lang":"ru","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
850
|
+
{"data":{"leading":false,"html":"<p>Content</p>/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"},"headings":[],"title":"Test"},"router":{"pathname":"ru/deep/test","depth":3,"base":"../../"},"lang":"ru","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
851
851
|
</script>
|
|
852
852
|
<script type="application/javascript">
|
|
853
853
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -879,7 +879,7 @@ exports[`Alternates > skip-html-extension 13`] = `
|
|
|
879
879
|
<body class="g-root g-root_theme_light">
|
|
880
880
|
<div id="root"></div>
|
|
881
881
|
<script type="application/json" id="diplodoc-state">
|
|
882
|
-
{"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"},"title":""},"router":{"pathname":"ru/index","depth":2,"base":"../"},"lang":"ru","langs":["ru","en","az"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
882
|
+
{"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"},"title":""},"router":{"pathname":"ru/index","depth":2,"base":"../"},"lang":"ru","langs":["ru","en",{"lang":"az","tld":"az"}],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
883
883
|
</script>
|
|
884
884
|
<script type="application/javascript">
|
|
885
885
|
const data = document.querySelector('script#diplodoc-state');
|
|
Binary file
|