@diplodoc/cli-tests 5.12.0 → 5.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/e2e/__snapshots__/alternates.test.ts.snap +18 -27
- package/e2e/__snapshots__/bundles.spec.ts.snap +3 -3
- package/e2e/__snapshots__/include-toc.test.ts.snap +0 -13
- package/e2e/__snapshots__/load-custom-resources.spec.ts.snap +6 -9
- package/e2e/__snapshots__/metadata.spec.ts.snap +3 -6
- package/e2e/__snapshots__/plugin-corner-cases.spec.ts.snap +0 -0
- package/e2e/__snapshots__/preprocess.test.ts.snap +18 -42
- package/e2e/__snapshots__/regression.test.ts.snap +18 -36
- package/e2e/__snapshots__/restricted-access.test.ts.snap +0 -10
- package/e2e/__snapshots__/rtl.spec.ts.snap +6 -6
- package/e2e/__snapshots__/search.test.ts.snap +1 -1
- package/e2e/__snapshots__/single-page.spec.ts.snap +3 -3
- package/e2e/__snapshots__/skip-html-extension.spec.ts.snap +4 -4
- package/e2e/__snapshots__/translation.spec.ts.snap +0 -10
- package/package.json +1 -1
|
@@ -53,7 +53,6 @@ alternate:
|
|
|
53
53
|
- ru/about
|
|
54
54
|
canonical: az/about.html
|
|
55
55
|
vcsPath: az/about.md
|
|
56
|
-
sourcePath: az/about.md
|
|
57
56
|
---
|
|
58
57
|
# About
|
|
59
58
|
|
|
@@ -72,7 +71,6 @@ alternate:
|
|
|
72
71
|
- ru/deep/test
|
|
73
72
|
canonical: az/deep/test.html
|
|
74
73
|
vcsPath: az/deep/test.md
|
|
75
|
-
sourcePath: az/deep/test.md
|
|
76
74
|
---
|
|
77
75
|
# Test
|
|
78
76
|
|
|
@@ -94,7 +92,6 @@ meta:
|
|
|
94
92
|
- ru/
|
|
95
93
|
canonical: az/index.html
|
|
96
94
|
vcsPath: az/index.yaml
|
|
97
|
-
sourcePath: az/index.yaml
|
|
98
95
|
"
|
|
99
96
|
`;
|
|
100
97
|
|
|
@@ -120,7 +117,6 @@ alternate:
|
|
|
120
117
|
- ru/about
|
|
121
118
|
canonical: en/about.html
|
|
122
119
|
vcsPath: en/about.md
|
|
123
|
-
sourcePath: en/about.md
|
|
124
120
|
---
|
|
125
121
|
# About
|
|
126
122
|
|
|
@@ -139,7 +135,6 @@ alternate:
|
|
|
139
135
|
- ru/deep/test
|
|
140
136
|
canonical: en/deep/test.html
|
|
141
137
|
vcsPath: en/deep/test.md
|
|
142
|
-
sourcePath: en/deep/test.md
|
|
143
138
|
---
|
|
144
139
|
# Test
|
|
145
140
|
|
|
@@ -161,7 +156,6 @@ meta:
|
|
|
161
156
|
- ru/
|
|
162
157
|
canonical: en/index.html
|
|
163
158
|
vcsPath: en/index.yaml
|
|
164
|
-
sourcePath: en/index.yaml
|
|
165
159
|
"
|
|
166
160
|
`;
|
|
167
161
|
|
|
@@ -188,7 +182,6 @@ alternate:
|
|
|
188
182
|
- https://my-other-site.com/about
|
|
189
183
|
canonical: ru/about.html
|
|
190
184
|
vcsPath: ru/about.md
|
|
191
|
-
sourcePath: ru/about.md
|
|
192
185
|
---
|
|
193
186
|
|
|
194
187
|
# About
|
|
@@ -208,7 +201,6 @@ alternate:
|
|
|
208
201
|
- ru/deep/test
|
|
209
202
|
canonical: ru/deep/test.html
|
|
210
203
|
vcsPath: ru/deep/test.md
|
|
211
|
-
sourcePath: ru/deep/test.md
|
|
212
204
|
---
|
|
213
205
|
# Test
|
|
214
206
|
|
|
@@ -230,7 +222,6 @@ meta:
|
|
|
230
222
|
- ru/
|
|
231
223
|
canonical: ru/index.html
|
|
232
224
|
vcsPath: ru/index.yaml
|
|
233
|
-
sourcePath: ru/index.yaml
|
|
234
225
|
"
|
|
235
226
|
`;
|
|
236
227
|
|
|
@@ -268,7 +259,7 @@ exports[`Alternates > internal 15`] = `
|
|
|
268
259
|
<body class="g-root g-root_theme_light">
|
|
269
260
|
<div id="root"></div>
|
|
270
261
|
<script type="application/json" id="diplodoc-state">
|
|
271
|
-
{"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"
|
|
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}}
|
|
272
263
|
</script>
|
|
273
264
|
<script type="application/javascript">
|
|
274
265
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -300,7 +291,7 @@ exports[`Alternates > internal 16`] = `
|
|
|
300
291
|
<body class="g-root g-root_theme_light">
|
|
301
292
|
<div id="root"></div>
|
|
302
293
|
<script type="application/json" id="diplodoc-state">
|
|
303
|
-
{"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"
|
|
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}}
|
|
304
295
|
</script>
|
|
305
296
|
<script type="application/javascript">
|
|
306
297
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -332,7 +323,7 @@ exports[`Alternates > internal 17`] = `
|
|
|
332
323
|
<body class="g-root g-root_theme_light">
|
|
333
324
|
<div id="root"></div>
|
|
334
325
|
<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"
|
|
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}}
|
|
336
327
|
</script>
|
|
337
328
|
<script type="application/javascript">
|
|
338
329
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -366,7 +357,7 @@ exports[`Alternates > internal 19`] = `
|
|
|
366
357
|
<body class="g-root g-root_theme_light">
|
|
367
358
|
<div id="root"></div>
|
|
368
359
|
<script type="application/json" id="diplodoc-state">
|
|
369
|
-
{"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"
|
|
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}}
|
|
370
361
|
</script>
|
|
371
362
|
<script type="application/javascript">
|
|
372
363
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -398,7 +389,7 @@ exports[`Alternates > internal 20`] = `
|
|
|
398
389
|
<body class="g-root g-root_theme_light">
|
|
399
390
|
<div id="root"></div>
|
|
400
391
|
<script type="application/json" id="diplodoc-state">
|
|
401
|
-
{"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"
|
|
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}}
|
|
402
393
|
</script>
|
|
403
394
|
<script type="application/javascript">
|
|
404
395
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -430,7 +421,7 @@ exports[`Alternates > internal 21`] = `
|
|
|
430
421
|
<body class="g-root g-root_theme_light">
|
|
431
422
|
<div id="root"></div>
|
|
432
423
|
<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"
|
|
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}}
|
|
434
425
|
</script>
|
|
435
426
|
<script type="application/javascript">
|
|
436
427
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -485,7 +476,7 @@ exports[`Alternates > internal 24`] = `
|
|
|
485
476
|
<body class="g-root g-root_theme_light">
|
|
486
477
|
<div id="root"></div>
|
|
487
478
|
<script type="application/json" id="diplodoc-state">
|
|
488
|
-
{"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"
|
|
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}}
|
|
489
480
|
</script>
|
|
490
481
|
<script type="application/javascript">
|
|
491
482
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -517,7 +508,7 @@ exports[`Alternates > internal 25`] = `
|
|
|
517
508
|
<body class="g-root g-root_theme_light">
|
|
518
509
|
<div id="root"></div>
|
|
519
510
|
<script type="application/json" id="diplodoc-state">
|
|
520
|
-
{"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"
|
|
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}}
|
|
521
512
|
</script>
|
|
522
513
|
<script type="application/javascript">
|
|
523
514
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -549,7 +540,7 @@ exports[`Alternates > internal 26`] = `
|
|
|
549
540
|
<body class="g-root g-root_theme_light">
|
|
550
541
|
<div id="root"></div>
|
|
551
542
|
<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"
|
|
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}}
|
|
553
544
|
</script>
|
|
554
545
|
<script type="application/javascript">
|
|
555
546
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -607,7 +598,7 @@ exports[`Alternates > skip-html-extension 2`] = `
|
|
|
607
598
|
<body class="g-root g-root_theme_light">
|
|
608
599
|
<div id="root"></div>
|
|
609
600
|
<script type="application/json" id="diplodoc-state">
|
|
610
|
-
{"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"
|
|
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}}
|
|
611
602
|
</script>
|
|
612
603
|
<script type="application/javascript">
|
|
613
604
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -639,7 +630,7 @@ exports[`Alternates > skip-html-extension 3`] = `
|
|
|
639
630
|
<body class="g-root g-root_theme_light">
|
|
640
631
|
<div id="root"></div>
|
|
641
632
|
<script type="application/json" id="diplodoc-state">
|
|
642
|
-
{"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"
|
|
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}}
|
|
643
634
|
</script>
|
|
644
635
|
<script type="application/javascript">
|
|
645
636
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -671,7 +662,7 @@ exports[`Alternates > skip-html-extension 4`] = `
|
|
|
671
662
|
<body class="g-root g-root_theme_light">
|
|
672
663
|
<div id="root"></div>
|
|
673
664
|
<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"
|
|
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}}
|
|
675
666
|
</script>
|
|
676
667
|
<script type="application/javascript">
|
|
677
668
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -705,7 +696,7 @@ exports[`Alternates > skip-html-extension 6`] = `
|
|
|
705
696
|
<body class="g-root g-root_theme_light">
|
|
706
697
|
<div id="root"></div>
|
|
707
698
|
<script type="application/json" id="diplodoc-state">
|
|
708
|
-
{"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"
|
|
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}}
|
|
709
700
|
</script>
|
|
710
701
|
<script type="application/javascript">
|
|
711
702
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -737,7 +728,7 @@ exports[`Alternates > skip-html-extension 7`] = `
|
|
|
737
728
|
<body class="g-root g-root_theme_light">
|
|
738
729
|
<div id="root"></div>
|
|
739
730
|
<script type="application/json" id="diplodoc-state">
|
|
740
|
-
{"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"
|
|
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}}
|
|
741
732
|
</script>
|
|
742
733
|
<script type="application/javascript">
|
|
743
734
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -769,7 +760,7 @@ exports[`Alternates > skip-html-extension 8`] = `
|
|
|
769
760
|
<body class="g-root g-root_theme_light">
|
|
770
761
|
<div id="root"></div>
|
|
771
762
|
<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"
|
|
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}}
|
|
773
764
|
</script>
|
|
774
765
|
<script type="application/javascript">
|
|
775
766
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -824,7 +815,7 @@ exports[`Alternates > skip-html-extension 11`] = `
|
|
|
824
815
|
<body class="g-root g-root_theme_light">
|
|
825
816
|
<div id="root"></div>
|
|
826
817
|
<script type="application/json" id="diplodoc-state">
|
|
827
|
-
{"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"
|
|
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}}
|
|
828
819
|
</script>
|
|
829
820
|
<script type="application/javascript">
|
|
830
821
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -856,7 +847,7 @@ exports[`Alternates > skip-html-extension 12`] = `
|
|
|
856
847
|
<body class="g-root g-root_theme_light">
|
|
857
848
|
<div id="root"></div>
|
|
858
849
|
<script type="application/json" id="diplodoc-state">
|
|
859
|
-
{"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"
|
|
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}}
|
|
860
851
|
</script>
|
|
861
852
|
<script type="application/javascript">
|
|
862
853
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -888,7 +879,7 @@ exports[`Alternates > skip-html-extension 13`] = `
|
|
|
888
879
|
<body class="g-root g-root_theme_light">
|
|
889
880
|
<div id="root"></div>
|
|
890
881
|
<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"
|
|
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}}
|
|
892
883
|
</script>
|
|
893
884
|
<script type="application/javascript">
|
|
894
885
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -72,7 +72,7 @@ exports[`Check bundles > bundles list is correct 2`] = `
|
|
|
72
72
|
<body class="g-root g-root_theme_light">
|
|
73
73
|
<div id="root"></div>
|
|
74
74
|
<script type="application/json" id="diplodoc-state">
|
|
75
|
-
{"data":{"leading":false,"html":"<p>Content</p>/n<p><a href=\\"page1.html\\">Link 1</a><br />/n<a href=\\"page2.html\\">Link 2</a></p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"availableLangs":["en","ru"],"vcsPath":"index.md"
|
|
75
|
+
{"data":{"leading":false,"html":"<p>Content</p>/n<p><a href=\\"page1.html\\">Link 1</a><br />/n<a href=\\"page2.html\\">Link 2</a></p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"availableLangs":["en","ru"],"vcsPath":"index.md"},"headings":[],"title":"Header"},"router":{"pathname":"index","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc-header":false,"favicon-src":"https://storage.yandexcloud.net/diplodoc-www-assets/favicon/favicon.ico","toc":true,"search":true,"feedback":true},"search":{"provider":"local","tolerance":2,"confidense":"phrased","enabled":true,"api":"_search/api.js","link":"_search/ru/index.html"}}
|
|
76
76
|
</script>
|
|
77
77
|
<script type="application/javascript">
|
|
78
78
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -112,7 +112,7 @@ exports[`Check bundles > bundles list is correct 3`] = `
|
|
|
112
112
|
<body class="g-root g-root_theme_light">
|
|
113
113
|
<div id="root"></div>
|
|
114
114
|
<script type="application/json" id="diplodoc-state">
|
|
115
|
-
{"data":{"leading":false,"html":"<p><a href=\\"page2.html#hash\\">Link</a></p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"page1.md"
|
|
115
|
+
{"data":{"leading":false,"html":"<p><a href=\\"page2.html#hash\\">Link</a></p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"page1.md"},"headings":[],"title":"Page 1"},"router":{"pathname":"page1","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc-header":false,"favicon-src":"https://storage.yandexcloud.net/diplodoc-www-assets/favicon/favicon.ico","toc":true,"search":true,"feedback":true},"search":{"provider":"local","tolerance":2,"confidense":"phrased","enabled":true,"api":"_search/api.js","link":"_search/ru/index.html"}}
|
|
116
116
|
</script>
|
|
117
117
|
<script type="application/javascript">
|
|
118
118
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -152,7 +152,7 @@ exports[`Check bundles > bundles list is correct 4`] = `
|
|
|
152
152
|
<body class="g-root g-root_theme_light">
|
|
153
153
|
<div id="root"></div>
|
|
154
154
|
<script type="application/json" id="diplodoc-state">
|
|
155
|
-
{"data":{"leading":false,"html":"<h2 id=\\"hash\\"><a href=\\"page2.html#hash\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">hash</span></a>hash</h2>/n<p><a href=\\"https://example.com\\" target=\\"_blank\\" rel=\\"noreferrer noopener\\">External link</a></p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"page2.md"
|
|
155
|
+
{"data":{"leading":false,"html":"<h2 id=\\"hash\\"><a href=\\"page2.html#hash\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">hash</span></a>hash</h2>/n<p><a href=\\"https://example.com\\" target=\\"_blank\\" rel=\\"noreferrer noopener\\">External link</a></p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"page2.md"},"headings":[{"title":"hash","href":"page2.html#hash","level":2}],"title":"Page 2"},"router":{"pathname":"page2","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc-header":false,"favicon-src":"https://storage.yandexcloud.net/diplodoc-www-assets/favicon/favicon.ico","toc":true,"search":true,"feedback":true},"search":{"provider":"local","tolerance":2,"confidense":"phrased","enabled":true,"api":"_search/api.js","link":"_search/ru/index.html"}}
|
|
156
156
|
</script>
|
|
157
157
|
<script type="application/javascript">
|
|
158
158
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -125,7 +125,6 @@ metadata:
|
|
|
125
125
|
- name: generator
|
|
126
126
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
127
127
|
vcsPath: product2/p2.md
|
|
128
|
-
sourcePath: product2/p2.md
|
|
129
128
|
---
|
|
130
129
|
This is the product 2 specific article.
|
|
131
130
|
|
|
@@ -169,7 +168,6 @@ metadata:
|
|
|
169
168
|
- name: generator
|
|
170
169
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
171
170
|
vcsPath: a1.md
|
|
172
|
-
sourcePath: a1.md
|
|
173
171
|
---
|
|
174
172
|
This is the /a1.md file content.
|
|
175
173
|
"
|
|
@@ -181,7 +179,6 @@ metadata:
|
|
|
181
179
|
- name: generator
|
|
182
180
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
183
181
|
vcsPath: folder1/a1.md
|
|
184
|
-
sourcePath: folder1/a1.md
|
|
185
182
|
---
|
|
186
183
|
This is the /folder1/a1.md file content.
|
|
187
184
|
"
|
|
@@ -193,7 +190,6 @@ metadata:
|
|
|
193
190
|
- name: generator
|
|
194
191
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
195
192
|
vcsPath: folder1/folder2/a1.md
|
|
196
|
-
sourcePath: folder1/folder2/a1.md
|
|
197
193
|
---
|
|
198
194
|
This is the /folder1/folder1/a1.md file content.
|
|
199
195
|
"
|
|
@@ -238,7 +234,6 @@ metadata:
|
|
|
238
234
|
- name: generator
|
|
239
235
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
240
236
|
vcsPath: file1.md
|
|
241
|
-
sourcePath: file1.md
|
|
242
237
|
---
|
|
243
238
|
# File 1
|
|
244
239
|
"
|
|
@@ -302,7 +297,6 @@ metadata:
|
|
|
302
297
|
- name: generator
|
|
303
298
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
304
299
|
vcsPath: fileX.md
|
|
305
|
-
sourcePath: fileX.md
|
|
306
300
|
---
|
|
307
301
|
# File X
|
|
308
302
|
"
|
|
@@ -378,7 +372,6 @@ metadata:
|
|
|
378
372
|
- name: generator
|
|
379
373
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
380
374
|
vcsPath: a1.md
|
|
381
|
-
sourcePath: a1.md
|
|
382
375
|
---
|
|
383
376
|
This is the /a1.md file content.
|
|
384
377
|
"
|
|
@@ -394,7 +387,6 @@ meta:
|
|
|
394
387
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
395
388
|
title: Meta A
|
|
396
389
|
vcsPath: index.yaml
|
|
397
|
-
sourcePath: index.yaml
|
|
398
390
|
links:
|
|
399
391
|
- title: A1
|
|
400
392
|
description: A1 desc
|
|
@@ -429,7 +421,6 @@ metadata:
|
|
|
429
421
|
- name: generator
|
|
430
422
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
431
423
|
vcsPath: test/index.md
|
|
432
|
-
sourcePath: test/index.md
|
|
433
424
|
---
|
|
434
425
|
# H1
|
|
435
426
|
|
|
@@ -444,7 +435,6 @@ metadata:
|
|
|
444
435
|
- name: generator
|
|
445
436
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
446
437
|
vcsPath: test/sub/sub-1.md
|
|
447
|
-
sourcePath: test/sub/sub-1.md
|
|
448
438
|
---
|
|
449
439
|
# H1
|
|
450
440
|
|
|
@@ -460,7 +450,6 @@ metadata:
|
|
|
460
450
|
- name: generator
|
|
461
451
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
462
452
|
vcsPath: test/sub/sub-2.md
|
|
463
|
-
sourcePath: test/sub/sub-2.md
|
|
464
453
|
---
|
|
465
454
|
# H1"
|
|
466
455
|
`;
|
|
@@ -471,7 +460,6 @@ metadata:
|
|
|
471
460
|
- name: generator
|
|
472
461
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
473
462
|
vcsPath: test/sub/sub/sub-3.md
|
|
474
|
-
sourcePath: test/sub/sub/sub-3.md
|
|
475
463
|
---
|
|
476
464
|
# H1"
|
|
477
465
|
`;
|
|
@@ -482,7 +470,6 @@ metadata:
|
|
|
482
470
|
- name: generator
|
|
483
471
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
484
472
|
vcsPath: test/test.md
|
|
485
|
-
sourcePath: test/test.md
|
|
486
473
|
---
|
|
487
474
|
# H1"
|
|
488
475
|
`;
|
|
@@ -39,7 +39,7 @@ exports[`Allow load custom resources > md2html single page with custom resources
|
|
|
39
39
|
<body class="g-root g-root_theme_light">
|
|
40
40
|
<div id="root"></div>
|
|
41
41
|
<script type="application/json" id="diplodoc-state">
|
|
42
|
-
{"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":"page.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"],"title":"Documentation","noIndex":true,"vcsPath":"index.yaml"
|
|
42
|
+
{"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":"page.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"],"title":"Documentation","noIndex":true,"vcsPath":"index.yaml"},"title":"Documentation"},"router":{"pathname":"index","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
43
43
|
</script>
|
|
44
44
|
<script type="application/javascript">
|
|
45
45
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -72,7 +72,7 @@ exports[`Allow load custom resources > md2html single page with custom resources
|
|
|
72
72
|
<body class="g-root g-root_theme_light">
|
|
73
73
|
<div id="root"></div>
|
|
74
74
|
<script type="application/json" id="diplodoc-state">
|
|
75
|
-
{"data":{"leading":false,"html":"<p>Lorem</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"yfm","content":"builder in page"},{"name":"description","content":"Some test description"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"],"title":"Page Title","description":"Some test description","interface":{"toc":false,"favicon-src":"/favicon.ico"},"vcsPath":"page.md"
|
|
75
|
+
{"data":{"leading":false,"html":"<p>Lorem</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"yfm","content":"builder in page"},{"name":"description","content":"Some test description"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"],"title":"Page Title","description":"Some test description","interface":{"toc":false,"favicon-src":"/favicon.ico"},"vcsPath":"page.md"},"headings":[],"title":"Page Title"},"router":{"pathname":"page","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":false,"search":true,"feedback":true,"favicon-src":"/favicon.ico"}}
|
|
76
76
|
</script>
|
|
77
77
|
<script type="application/javascript">
|
|
78
78
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -102,7 +102,7 @@ exports[`Allow load custom resources > md2html single page with custom resources
|
|
|
102
102
|
<body class="g-root g-root_theme_light">
|
|
103
103
|
<div id="root"></div>
|
|
104
104
|
<script type="application/json" id="diplodoc-state">
|
|
105
|
-
{"data":{"leading":false,"html":"<p>Lorem</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"],"vcsPath":"project/config.md"
|
|
105
|
+
{"data":{"leading":false,"html":"<p>Lorem</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"],"vcsPath":"project/config.md"},"headings":[],"title":""},"router":{"pathname":"project/config","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
106
106
|
</script>
|
|
107
107
|
<script type="application/javascript">
|
|
108
108
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -191,7 +191,7 @@ exports[`Allow load custom resources > md2html with custom resources 2`] = `
|
|
|
191
191
|
<body class="g-root g-root_theme_light">
|
|
192
192
|
<div id="root"></div>
|
|
193
193
|
<script type="application/json" id="diplodoc-state">
|
|
194
|
-
{"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":"page.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"],"title":"Documentation","noIndex":true,"vcsPath":"index.yaml"
|
|
194
|
+
{"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":"page.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"],"title":"Documentation","noIndex":true,"vcsPath":"index.yaml"},"title":"Documentation"},"router":{"pathname":"index","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
195
195
|
</script>
|
|
196
196
|
<script type="application/javascript">
|
|
197
197
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -224,7 +224,7 @@ exports[`Allow load custom resources > md2html with custom resources 3`] = `
|
|
|
224
224
|
<body class="g-root g-root_theme_light">
|
|
225
225
|
<div id="root"></div>
|
|
226
226
|
<script type="application/json" id="diplodoc-state">
|
|
227
|
-
{"data":{"leading":false,"html":"<p>Lorem</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"yfm","content":"builder in page"},{"name":"description","content":"Some test description"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"],"title":"Page Title","description":"Some test description","interface":{"toc":false,"favicon-src":"/favicon.ico"},"vcsPath":"page.md"
|
|
227
|
+
{"data":{"leading":false,"html":"<p>Lorem</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"yfm","content":"builder in page"},{"name":"description","content":"Some test description"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"],"title":"Page Title","description":"Some test description","interface":{"toc":false,"favicon-src":"/favicon.ico"},"vcsPath":"page.md"},"headings":[],"title":"Page Title"},"router":{"pathname":"page","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":false,"search":true,"feedback":true,"favicon-src":"/favicon.ico"}}
|
|
228
228
|
</script>
|
|
229
229
|
<script type="application/javascript">
|
|
230
230
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -254,7 +254,7 @@ exports[`Allow load custom resources > md2html with custom resources 4`] = `
|
|
|
254
254
|
<body class="g-root g-root_theme_light">
|
|
255
255
|
<div id="root"></div>
|
|
256
256
|
<script type="application/json" id="diplodoc-state">
|
|
257
|
-
{"data":{"leading":false,"html":"<p>Lorem</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"],"vcsPath":"project/config.md"
|
|
257
|
+
{"data":{"leading":false,"html":"<p>Lorem</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"],"vcsPath":"project/config.md"},"headings":[],"title":""},"router":{"pathname":"project/config","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
258
258
|
</script>
|
|
259
259
|
<script type="application/javascript">
|
|
260
260
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -306,7 +306,6 @@ meta:
|
|
|
306
306
|
title: Documentation
|
|
307
307
|
noIndex: true
|
|
308
308
|
vcsPath: index.yaml
|
|
309
|
-
sourcePath: index.yaml
|
|
310
309
|
links:
|
|
311
310
|
- title: Getting started with Documentation
|
|
312
311
|
description: This guide will show you the basics of working with Documentation
|
|
@@ -331,7 +330,6 @@ interface:
|
|
|
331
330
|
toc: false
|
|
332
331
|
favicon-src: /favicon.ico
|
|
333
332
|
vcsPath: page.md
|
|
334
|
-
sourcePath: page.md
|
|
335
333
|
---
|
|
336
334
|
|
|
337
335
|
Lorem"
|
|
@@ -347,7 +345,6 @@ style:
|
|
|
347
345
|
script:
|
|
348
346
|
- _assets/script/test1.js
|
|
349
347
|
vcsPath: project/config.md
|
|
350
|
-
sourcePath: project/config.md
|
|
351
348
|
---
|
|
352
349
|
Lorem"
|
|
353
350
|
`;
|
|
@@ -25,7 +25,7 @@ exports[`Allow load custom resources > md2html with metadata 1`] = `
|
|
|
25
25
|
<body class="g-root g-root_theme_light">
|
|
26
26
|
<div id="root"></div>
|
|
27
27
|
<script type="application/json" id="diplodoc-state">
|
|
28
|
-
{"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":"page.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"test-yfm","content":"inline test"},{"name":"yfm-config","content":"config test"}],"title":"Documentation","noIndex":true,"vcsPath":"index.yaml"
|
|
28
|
+
{"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":"page.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"test-yfm","content":"inline test"},{"name":"yfm-config","content":"config test"}],"title":"Documentation","noIndex":true,"vcsPath":"index.yaml"},"title":"Documentation"},"router":{"pathname":"index","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
29
29
|
</script>
|
|
30
30
|
<script type="application/javascript">
|
|
31
31
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -58,7 +58,7 @@ exports[`Allow load custom resources > md2html with metadata 2`] = `
|
|
|
58
58
|
<body class="g-root g-root_theme_light">
|
|
59
59
|
<div id="root"></div>
|
|
60
60
|
<script type="application/json" id="diplodoc-state">
|
|
61
|
-
{"data":{"leading":false,"html":"<p>Lorem</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"test-yfm","content":"inline test"},{"name":"yfm-config","content":"config test"},{"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"},"vcsPath":"page.md"
|
|
61
|
+
{"data":{"leading":false,"html":"<p>Lorem</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"test-yfm","content":"inline test"},{"name":"yfm-config","content":"config test"},{"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"},"vcsPath":"page.md"},"headings":[],"title":"Page Title"},"router":{"pathname":"page","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":false,"search":true,"feedback":true,"favicon-src":"/favicon.ico"}}
|
|
62
62
|
</script>
|
|
63
63
|
<script type="application/javascript">
|
|
64
64
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -89,7 +89,7 @@ exports[`Allow load custom resources > md2html with metadata 3`] = `
|
|
|
89
89
|
<body class="g-root g-root_theme_light">
|
|
90
90
|
<div id="root"></div>
|
|
91
91
|
<script type="application/json" id="diplodoc-state">
|
|
92
|
-
{"data":{"leading":false,"html":"<p>Lorem</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"test-yfm","content":"inline test"},{"name":"yfm-config","content":"config test"},{"name":"yfm","value":"builder in config"}],"vcsPath":"project/config.md"
|
|
92
|
+
{"data":{"leading":false,"html":"<p>Lorem</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"test-yfm","content":"inline test"},{"name":"yfm-config","content":"config test"},{"name":"yfm","value":"builder in config"}],"vcsPath":"project/config.md"},"headings":[],"title":""},"router":{"pathname":"project/config","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
93
93
|
</script>
|
|
94
94
|
<script type="application/javascript">
|
|
95
95
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -128,7 +128,6 @@ meta:
|
|
|
128
128
|
title: Documentation
|
|
129
129
|
noIndex: true
|
|
130
130
|
vcsPath: index.yaml
|
|
131
|
-
sourcePath: index.yaml
|
|
132
131
|
links:
|
|
133
132
|
- title: Getting started with Documentation
|
|
134
133
|
description: This guide will show you the basics of working with Documentation
|
|
@@ -153,7 +152,6 @@ interface:
|
|
|
153
152
|
toc: false
|
|
154
153
|
favicon-src: /favicon.ico
|
|
155
154
|
vcsPath: page.md
|
|
156
|
-
sourcePath: page.md
|
|
157
155
|
---
|
|
158
156
|
|
|
159
157
|
Lorem"
|
|
@@ -171,7 +169,6 @@ metadata:
|
|
|
171
169
|
- name: yfm
|
|
172
170
|
value: builder in config
|
|
173
171
|
vcsPath: project/config.md
|
|
174
|
-
sourcePath: project/config.md
|
|
175
172
|
---
|
|
176
173
|
|
|
177
174
|
Lorem"
|
|
Binary file
|