@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.
@@ -49,7 +49,7 @@ exports[`Single page mode > simple md2html single page with lang dirs 2`] = `
49
49
  <body class="g-root g-root_theme_light">
50
50
  <div id="root"></div>
51
51
  <script type="application/json" id="diplodoc-state">
52
- {"data":{"leading":true,"data":{"title":"Documentation","description":"","links":[{"title":"Getting started with Documentation","description":"This guide will show you the basics of working with Documentation","href":"ru/page.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"ru/index.html","hreflang":"ru"}],"canonical":"ru/index.html","title":"Documentation","noIndex":true,"vcsPath":"ru/index.yaml","sourcePath":"ru/index.yaml"},"title":"Documentation"},"router":{"pathname":"ru/index","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
52
+ {"data":{"leading":true,"data":{"title":"Documentation","description":"","links":[{"title":"Getting started with Documentation","description":"This guide will show you the basics of working with Documentation","href":"ru/page.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"ru/index.html","hreflang":"ru"}],"canonical":"ru/index.html","title":"Documentation","noIndex":true,"vcsPath":"ru/index.yaml"},"title":"Documentation"},"router":{"pathname":"ru/index","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
53
53
  </script>
54
54
  <script type="application/javascript">
55
55
  const data = document.querySelector('script#diplodoc-state');
@@ -82,7 +82,7 @@ exports[`Single page mode > simple md2html single page with lang dirs 3`] = `
82
82
  <body class="g-root g-root_theme_light">
83
83
  <div id="root"></div>
84
84
  <script type="application/json" id="diplodoc-state">
85
- {"data":{"leading":false,"html":"&lt;p&gt;Lorem&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"yfm","content":"builder in page"},{"name":"description","content":"Some test description"}],"alternate":[{"href":"ru/page.html","hreflang":"ru"}],"canonical":"ru/page.html","title":"Page Title","description":"Some test description","interface":{"toc":false,"favicon-src":"/favicon.ico"},"vcsPath":"ru/page.md","sourcePath":"ru/page.md"},"headings":[],"title":"Page Title"},"router":{"pathname":"ru/page","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":false,"search":true,"feedback":true,"favicon-src":"/favicon.ico"}}
85
+ {"data":{"leading":false,"html":"&lt;p&gt;Lorem&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"yfm","content":"builder in page"},{"name":"description","content":"Some test description"}],"alternate":[{"href":"ru/page.html","hreflang":"ru"}],"canonical":"ru/page.html","title":"Page Title","description":"Some test description","interface":{"toc":false,"favicon-src":"/favicon.ico"},"vcsPath":"ru/page.md"},"headings":[],"title":"Page Title"},"router":{"pathname":"ru/page","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":false,"search":true,"feedback":true,"favicon-src":"/favicon.ico"}}
86
86
  </script>
87
87
  <script type="application/javascript">
88
88
  const data = document.querySelector('script#diplodoc-state');
@@ -112,7 +112,7 @@ exports[`Single page mode > simple md2html single page with lang dirs 4`] = `
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":"&lt;p&gt;Lorem&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"ru/project/config.html","hreflang":"ru"}],"canonical":"ru/project/config.html","vcsPath":"ru/project/config.md","sourcePath":"ru/project/config.md"},"headings":[],"title":""},"router":{"pathname":"ru/project/config","depth":3,"base":"../../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
115
+ {"data":{"leading":false,"html":"&lt;p&gt;Lorem&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"ru/project/config.html","hreflang":"ru"}],"canonical":"ru/project/config.html","vcsPath":"ru/project/config.md"},"headings":[],"title":""},"router":{"pathname":"ru/project/config","depth":3,"base":"../../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
116
116
  </script>
117
117
  <script type="application/javascript">
118
118
  const data = document.querySelector('script#diplodoc-state');
@@ -31,7 +31,7 @@ exports[`Skip html extension > transforms links correctly 2`] = `
31
31
  <body class="g-root g-root_theme_light">
32
32
  <div id="root"></div>
33
33
  <script type="application/json" id="diplodoc-state">
34
- {"data":{"leading":false,"html":"","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"folder/index.md","sourcePath":"folder/index.md"},"headings":[],"title":"Page 3"},"router":{"pathname":"folder/index","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
34
+ {"data":{"leading":false,"html":"","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"folder/index.md"},"headings":[],"title":"Page 3"},"router":{"pathname":"folder/index","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
35
35
  </script>
36
36
  <script type="application/javascript">
37
37
  const data = document.querySelector('script#diplodoc-state');
@@ -59,7 +59,7 @@ exports[`Skip html extension > transforms links correctly 3`] = `
59
59
  <body class="g-root g-root_theme_light">
60
60
  <div id="root"></div>
61
61
  <script type="application/json" id="diplodoc-state">
62
- {"data":{"leading":false,"html":"&lt;p&gt;&lt;a href=\\"page1\\"&gt;Link 1&lt;/a&gt;&lt;br /&gt;/n&lt;a href=\\"page2\\"&gt;Link 2&lt;/a&gt;&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"index-test-html/index.md","sourcePath":"index-test-html/index.md"},"headings":[],"title":"Folder"},"router":{"pathname":"index-test-html/index","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
62
+ {"data":{"leading":false,"html":"&lt;p&gt;&lt;a href=\\"page1\\"&gt;Link 1&lt;/a&gt;&lt;br /&gt;/n&lt;a href=\\"page2\\"&gt;Link 2&lt;/a&gt;&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"index-test-html/index.md"},"headings":[],"title":"Folder"},"router":{"pathname":"index-test-html/index","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
63
63
  </script>
64
64
  <script type="application/javascript">
65
65
  const data = document.querySelector('script#diplodoc-state');
@@ -107,7 +107,7 @@ exports[`Skip html extension > transforms links correctly 5`] = `
107
107
  <body class="g-root g-root_theme_light">
108
108
  <div id="root"></div>
109
109
  <script type="application/json" id="diplodoc-state">
110
- {"data":{"leading":false,"html":"&lt;p&gt;&lt;a href=\\"page2#hash\\"&gt;Link&lt;/a&gt;&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"page1.md","sourcePath":"page1.md"},"headings":[],"title":"Page 1"},"router":{"pathname":"page1","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
110
+ {"data":{"leading":false,"html":"&lt;p&gt;&lt;a href=\\"page2#hash\\"&gt;Link&lt;/a&gt;&lt;/p&gt;/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":true,"search":true,"feedback":true}}
111
111
  </script>
112
112
  <script type="application/javascript">
113
113
  const data = document.querySelector('script#diplodoc-state');
@@ -135,7 +135,7 @@ exports[`Skip html extension > transforms links correctly 6`] = `
135
135
  <body class="g-root g-root_theme_light">
136
136
  <div id="root"></div>
137
137
  <script type="application/json" id="diplodoc-state">
138
- {"data":{"leading":false,"html":"&lt;h2 id=\\"hash\\"&gt;&lt;a href=\\"page2#hash\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;hash&lt;/span&gt;&lt;/a&gt;hash&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"folder/\\"&gt;Link&lt;/a&gt;&lt;br /&gt;/n&lt;a href=\\"https://example.com\\" target=\\"_blank\\" rel=\\"noreferrer noopener\\"&gt;External link&lt;/a&gt;&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"page2.md","sourcePath":"page2.md"},"headings":[{"title":"hash","href":"page2#hash","level":2}],"title":"Page 2"},"router":{"pathname":"page2","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
138
+ {"data":{"leading":false,"html":"&lt;h2 id=\\"hash\\"&gt;&lt;a href=\\"page2#hash\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;hash&lt;/span&gt;&lt;/a&gt;hash&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"folder/\\"&gt;Link&lt;/a&gt;&lt;br /&gt;/n&lt;a href=\\"https://example.com\\" target=\\"_blank\\" rel=\\"noreferrer noopener\\"&gt;External link&lt;/a&gt;&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"page2.md"},"headings":[{"title":"hash","href":"page2#hash","level":2}],"title":"Page 2"},"router":{"pathname":"page2","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
139
139
  </script>
140
140
  <script type="application/javascript">
141
141
  const data = document.querySelector('script#diplodoc-state');
@@ -17,7 +17,6 @@ metadata:
17
17
  - name: generator
18
18
  content: Diplodoc Platform vDIPLODOC-VERSION
19
19
  vcsPath: index.md
20
- sourcePath: index.md
21
20
  ---
22
21
  ## Index header
23
22
 
@@ -34,7 +33,6 @@ metadata:
34
33
  - name: generator
35
34
  content: Diplodoc Platform vDIPLODOC-VERSION
36
35
  vcsPath: no-translate.md
37
- sourcePath: no-translate.md
38
36
  ---
39
37
  # No-translate directive
40
38
 
@@ -98,7 +96,6 @@ metadata:
98
96
  - name: generator
99
97
  content: Diplodoc Platform vDIPLODOC-VERSION
100
98
  vcsPath: openapi/index.md
101
- sourcePath: openapi/index.md
102
99
  ---
103
100
  # OpenAPI definition
104
101
 
@@ -199,7 +196,6 @@ metadata:
199
196
  - name: generator
200
197
  content: Diplodoc Platform vDIPLODOC-VERSION
201
198
  vcsPath: openapi/test-controller/getWithPayloadResponse.md
202
- sourcePath: openapi/test-controller/getWithPayloadResponse.md
203
199
  ---
204
200
  <div class="openapi">
205
201
 
@@ -285,7 +281,6 @@ metadata:
285
281
  - name: generator
286
282
  content: Diplodoc Platform vDIPLODOC-VERSION
287
283
  vcsPath: openapi/test-controller/index.md
288
- sourcePath: openapi/test-controller/index.md
289
284
  ---
290
285
  # test-controller
291
286
 
@@ -333,7 +328,6 @@ metadata:
333
328
  - name: generator
334
329
  content: Diplodoc Platform vDIPLODOC-VERSION
335
330
  vcsPath: index.md
336
- sourcePath: index.md
337
331
  ---
338
332
  ## Index header
339
333
 
@@ -350,7 +344,6 @@ metadata:
350
344
  - name: generator
351
345
  content: Diplodoc Platform vDIPLODOC-VERSION
352
346
  vcsPath: no-translate.md
353
- sourcePath: no-translate.md
354
347
  ---
355
348
  # No-translate directive
356
349
 
@@ -414,7 +407,6 @@ metadata:
414
407
  - name: generator
415
408
  content: Diplodoc Platform vDIPLODOC-VERSION
416
409
  vcsPath: openapi/index.md
417
- sourcePath: openapi/index.md
418
410
  ---
419
411
  # OpenAPI definition
420
412
 
@@ -515,7 +507,6 @@ metadata:
515
507
  - name: generator
516
508
  content: Diplodoc Platform vDIPLODOC-VERSION
517
509
  vcsPath: openapi/test-controller/getWithPayloadResponse.md
518
- sourcePath: openapi/test-controller/getWithPayloadResponse.md
519
510
  ---
520
511
  <div class="openapi">
521
512
 
@@ -601,7 +592,6 @@ metadata:
601
592
  - name: generator
602
593
  content: Diplodoc Platform vDIPLODOC-VERSION
603
594
  vcsPath: openapi/test-controller/index.md
604
- sourcePath: openapi/test-controller/index.md
605
595
  ---
606
596
  # test-controller
607
597
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diplodoc/cli-tests",
3
- "version": "5.12.0",
3
+ "version": "5.12.1",
4
4
  "bin": {
5
5
  "diplodoc-cli-test": "bin.mjs"
6
6
  },