@diplodoc/cli-tests 5.10.2 → 5.11.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.
@@ -25,7 +25,7 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
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","links":[{"title":"Documentation","href":"page.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"title":"Documentation"},"router":{"pathname":"index","depth":1,"base":"./"},"lang":"he","langs":["he"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
28
+ {"data":{"leading":true,"data":{"title":"Documentation","links":[{"title":"Documentation","href":"page.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"index.yaml","sourcePath":"index.yaml"},"title":"Documentation"},"router":{"pathname":"index","depth":1,"base":"./"},"lang":"he","langs":["he"],"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');
@@ -53,7 +53,7 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
53
53
  <body class="g-root g-root_theme_light">
54
54
  <div id="root"></div>
55
55
  <script type="application/json" id="diplodoc-state">
56
- {"data":{"leading":false,"html":"&lt;p&gt;תיעוד&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[],"title":""},"router":{"pathname":"page","depth":1,"base":"./"},"lang":"he","langs":["he"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
56
+ {"data":{"leading":false,"html":"&lt;p&gt;תיעוד&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"page.md","sourcePath":"page.md"},"headings":[],"title":""},"router":{"pathname":"page","depth":1,"base":"./"},"lang":"he","langs":["he"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
57
57
  </script>
58
58
  <script type="application/javascript">
59
59
  const data = document.querySelector('script#diplodoc-state');
@@ -98,7 +98,7 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
98
98
  <body class="g-root g-root_theme_light">
99
99
  <div id="root"></div>
100
100
  <script type="application/json" id="diplodoc-state">
101
- {"data":{"leading":true,"data":{"title":"Documentation","links":[{"title":"Documentation","href":"ar/page.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"title":"Documentation"},"router":{"pathname":"ar/index","depth":2,"base":"../"},"lang":"ar","langs":["ar","en"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
101
+ {"data":{"leading":true,"data":{"title":"Documentation","links":[{"title":"Documentation","href":"ar/page.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"ar/index.yaml","sourcePath":"ar/index.yaml"},"title":"Documentation"},"router":{"pathname":"ar/index","depth":2,"base":"../"},"lang":"ar","langs":["ar","en"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
102
102
  </script>
103
103
  <script type="application/javascript">
104
104
  const data = document.querySelector('script#diplodoc-state');
@@ -126,7 +126,7 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
126
126
  <body class="g-root g-root_theme_light">
127
127
  <div id="root"></div>
128
128
  <script type="application/json" id="diplodoc-state">
129
- {"data":{"leading":false,"html":"&lt;p&gt;توثيق&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[],"title":""},"router":{"pathname":"ar/page","depth":2,"base":"../"},"lang":"ar","langs":["ar","en"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
129
+ {"data":{"leading":false,"html":"&lt;p&gt;توثيق&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"ar/page.md","sourcePath":"ar/page.md"},"headings":[],"title":""},"router":{"pathname":"ar/page","depth":2,"base":"../"},"lang":"ar","langs":["ar","en"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
130
130
  </script>
131
131
  <script type="application/javascript">
132
132
  const data = document.querySelector('script#diplodoc-state');
@@ -151,13 +151,12 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
151
151
  <base href="../" />
152
152
  <title>Documentation | Documentation</title>
153
153
  <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
154
- <meta name="noIndex" content="true">
155
154
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
156
155
  </head>
157
156
  <body class="g-root g-root_theme_light">
158
157
  <div id="root"></div>
159
158
  <script type="application/json" id="diplodoc-state">
160
- {"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":"en/page.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"title":"Documentation","noIndex":true},"title":"Documentation"},"router":{"pathname":"en/index","depth":2,"base":"../"},"lang":"en","langs":["ar","en"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
159
+ {"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":"en/page.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"title":"Documentation","noIndex":true,"vcsPath":"en/index.yaml","sourcePath":"en/index.yaml"},"title":"Documentation"},"router":{"pathname":"en/index","depth":2,"base":"../"},"lang":"en","langs":["ar","en"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
161
160
  </script>
162
161
  <script type="application/javascript">
163
162
  const data = document.querySelector('script#diplodoc-state');
@@ -186,7 +185,7 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
186
185
  <body class="g-root g-root_theme_light">
187
186
  <div id="root"></div>
188
187
  <script type="application/json" id="diplodoc-state">
189
- {"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"}]},"headings":[],"title":""},"router":{"pathname":"en/page","depth":2,"base":"../"},"lang":"en","langs":["ar","en"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
188
+ {"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"}],"vcsPath":"en/page.md","sourcePath":"en/page.md"},"headings":[],"title":""},"router":{"pathname":"en/page","depth":2,"base":"../"},"lang":"en","langs":["ar","en"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
190
189
  </script>
191
190
  <script type="application/javascript">
192
191
  const data = document.querySelector('script#diplodoc-state');
@@ -39,7 +39,7 @@ exports[`Local search > internal 2`] = `
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":false,"html":"&lt;p&gt;Content&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[],"title":"Header"},"router":{"pathname":"index","depth":1,"base":"./"},"lang":"en","langs":["en","ru"],"viewerInterface":{"toc-header":false,"favicon-src":"https://storage.yandexcloud.net/diplodoc-www-assets/favicon/favicon.ico","toc":false,"search":true,"feedback":true},"search":{"provider":"local","tolerance":2,"confidense":"phrased","enabled":true,"api":"_search/api.js","link":"_search/en/index.html"}}
42
+ {"data":{"leading":false,"html":"&lt;p&gt;Content&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"index.md","sourcePath":"index.md"},"headings":[],"title":"Header"},"router":{"pathname":"index","depth":1,"base":"./"},"lang":"en","langs":["en","ru"],"viewerInterface":{"toc-header":false,"favicon-src":"https://storage.yandexcloud.net/diplodoc-www-assets/favicon/favicon.ico","toc":false,"search":true,"feedback":true},"search":{"provider":"local","tolerance":2,"confidense":"phrased","enabled":true,"api":"_search/api.js","link":"_search/en/index.html"}}
43
43
  </script>
44
44
  <script type="application/javascript">
45
45
  const data = document.querySelector('script#diplodoc-state');
@@ -42,13 +42,12 @@ exports[`Single page mode > simple md2html single page with lang dirs 2`] = `
42
42
  <base href="../" />
43
43
  <title>Documentation | Documentation</title>
44
44
  <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
45
- <meta name="noIndex" content="true">
46
45
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
47
46
  </head>
48
47
  <body class="g-root g-root_theme_light">
49
48
  <div id="root"></div>
50
49
  <script type="application/json" id="diplodoc-state">
51
- {"data":{"leading":true,"data":{"title":"Documentation","description":"","links":[{"title":"Getting started with Documentation","description":"This guide will show you the basics of working with Documentation","href":"ru/page.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"title":"Documentation","noIndex":true},"title":"Documentation"},"router":{"pathname":"ru/index","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
50
+ {"data":{"leading":true,"data":{"title":"Documentation","description":"","links":[{"title":"Getting started with Documentation","description":"This guide will show you the basics of working with Documentation","href":"ru/page.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"title":"Documentation","noIndex":true,"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
51
  </script>
53
52
  <script type="application/javascript">
54
53
  const data = document.querySelector('script#diplodoc-state');
@@ -79,7 +78,7 @@ exports[`Single page mode > simple md2html single page with lang dirs 3`] = `
79
78
  <body class="g-root g-root_theme_light">
80
79
  <div id="root"></div>
81
80
  <script type="application/json" id="diplodoc-state">
82
- {"data":{"leading":false,"html":"&lt;p&gt;Lorem&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"yfm","content":"builder in page"},{"name":"description","content":"Some test description"}],"title":"Page Title","description":"Some test description","interface":{"toc":false,"favicon-src":"/favicon.ico"}},"headings":[],"title":"Page Title"},"router":{"pathname":"ru/page","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":false,"search":true,"feedback":true,"favicon-src":"/favicon.ico"}}
81
+ {"data":{"leading":false,"html":"&lt;p&gt;Lorem&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"yfm","content":"builder in page"},{"name":"description","content":"Some test description"}],"title":"Page Title","description":"Some test description","interface":{"toc":false,"favicon-src":"/favicon.ico"},"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"}}
83
82
  </script>
84
83
  <script type="application/javascript">
85
84
  const data = document.querySelector('script#diplodoc-state');
@@ -107,7 +106,7 @@ exports[`Single page mode > simple md2html single page with lang dirs 4`] = `
107
106
  <body class="g-root g-root_theme_light">
108
107
  <div id="root"></div>
109
108
  <script type="application/json" id="diplodoc-state">
110
- {"data":{"leading":false,"html":"&lt;p&gt;Lorem&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[],"title":""},"router":{"pathname":"ru/project/config","depth":3,"base":"../../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
109
+ {"data":{"leading":false,"html":"&lt;p&gt;Lorem&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"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}}
111
110
  </script>
112
111
  <script type="application/javascript">
113
112
  const data = document.querySelector('script#diplodoc-state');
@@ -130,17 +129,16 @@ exports[`Single page mode > simple md2html single page with lang dirs 6`] = `
130
129
  <meta charset="utf-8">
131
130
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
132
131
  <base href="../" />
133
- <title>Page Title | Documentation</title>
132
+ <title>Documentation | Documentation</title>
134
133
  <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
135
134
  <meta name="yfm" content="builder in page">
136
135
  <meta name="description" content="Some test description">
137
136
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
138
- <link rel="icon" type="image/x-icon" href="/favicon.ico">
139
137
  </head>
140
138
  <body class="g-root g-root_theme_light">
141
139
  <div id="root"></div>
142
140
  <script type="application/json" id="diplodoc-state">
143
- {"data":{"leading":false,"html":"&lt;h2 data-original-article=\\"ru/page.html\\"&gt;Page Title&lt;a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"ru/single-page.html#ru_page\\" id=\\"ru_page\\"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Lorem&lt;/p&gt;/n&lt;hr class=\\"yfm-page__delimeter\\"&gt;&lt;p&gt;Lorem&lt;/p&gt;/n","headings":[],"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"yfm","content":"builder in page"},{"name":"description","content":"Some test description"}],"title":"Page Title","description":"Some test description","interface":{"toc":false,"favicon-src":"/favicon.ico"}},"title":"Documentation"},"router":{"pathname":"ru/single-page","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":false,"search":true,"feedback":true,"favicon-src":"/favicon.ico"}}
141
+ {"data":{"leading":false,"html":"&lt;h2 data-original-article=\\"ru/page.html\\"&gt;Page Title&lt;a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"ru/single-page.html#ru_page\\" id=\\"ru_page\\"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Lorem&lt;/p&gt;/n&lt;hr class=\\"yfm-page__delimeter\\"&gt;&lt;p&gt;Lorem&lt;/p&gt;/n","headings":[],"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"yfm","content":"builder in page"},{"name":"description","content":"Some test description"}]},"title":"Documentation"},"router":{"pathname":"ru/single-page","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
144
142
  </script>
145
143
  <script type="application/javascript">
146
144
  const data = document.querySelector('script#diplodoc-state');
@@ -154,6 +152,6 @@ exports[`Single page mode > simple md2html single page with lang dirs 6`] = `
154
152
  </html>"
155
153
  `;
156
154
 
157
- exports[`Single page mode > simple md2html single page with lang dirs 7`] = `"{"data":{"leading":false,"html":"<h2 data-original-article=\\"ru/page.html\\">Page Title<a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"ru/single-page.html#ru_page\\" id=\\"ru_page\\"></a></h2><p>Lorem</p>/n<hr class=\\"yfm-page__delimeter\\"><p>Lorem</p>/n","headings":[],"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"yfm","content":"builder in page"},{"name":"description","content":"Some test description"}],"title":"Page Title","description":"Some test description","interface":{"toc":false,"favicon-src":"/favicon.ico"}},"title":"Documentation","toc":{"title":"Documentation","href":"ru/index.html","items":[{"name":"Documentation","href":"ru/page.html","id":"UUID"},{"name":"Config","href":"ru/project/config.html","id":"UUID"}],"path":"ru/toc.yaml","id":"UUID"}},"router":{"pathname":"ru/single-page","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":false,"search":true,"feedback":true,"favicon-src":"/favicon.ico"}}"`;
155
+ exports[`Single page mode > simple md2html single page with lang dirs 7`] = `"{"data":{"leading":false,"html":"<h2 data-original-article=\\"ru/page.html\\">Page Title<a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"ru/single-page.html#ru_page\\" id=\\"ru_page\\"></a></h2><p>Lorem</p>/n<hr class=\\"yfm-page__delimeter\\"><p>Lorem</p>/n","headings":[],"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"yfm","content":"builder in page"},{"name":"description","content":"Some test description"}]},"title":"Documentation","toc":{"title":"Documentation","href":"ru/index.html","items":[{"name":"Documentation","href":"ru/page.html","id":"UUID"},{"name":"Config","href":"ru/project/config.html","id":"UUID"}],"path":"ru/toc.yaml","id":"UUID"}},"router":{"pathname":"ru/single-page","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}"`;
158
156
 
159
157
  exports[`Single page mode > simple md2html single page with lang dirs 8`] = `"window.__DATA__.data.toc = {"title":"Documentation","href":"ru/index.html","items":[{"name":"Documentation","href":"ru/page.html","id":"UUID"},{"name":"Config","href":"ru/project/config.html","id":"UUID"}],"path":"ru/toc.yaml","id":"UUID"};"`;
@@ -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"}]},"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","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}}
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"}]},"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","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}}
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"}]},"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","sourcePath":"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"}]},"headings":[{"title":"hash","href":"page2.html#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","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}}
139
139
  </script>
140
140
  <script type="application/javascript">
141
141
  const data = document.querySelector('script#diplodoc-state');
@@ -16,6 +16,8 @@ exports[`Translate command > build translated md files and remove no-translate d
16
16
  metadata:
17
17
  - name: generator
18
18
  content: Diplodoc Platform vDIPLODOC-VERSION
19
+ vcsPath: index.md
20
+ sourcePath: index.md
19
21
  ---
20
22
  ## Index header
21
23
 
@@ -31,6 +33,8 @@ exports[`Translate command > build translated md files and remove no-translate d
31
33
  metadata:
32
34
  - name: generator
33
35
  content: Diplodoc Platform vDIPLODOC-VERSION
36
+ vcsPath: no-translate.md
37
+ sourcePath: no-translate.md
34
38
  ---
35
39
  # No-translate directive
36
40
 
@@ -93,6 +97,8 @@ exports[`Translate command > build translated md files and remove no-translate d
93
97
  metadata:
94
98
  - name: generator
95
99
  content: Diplodoc Platform vDIPLODOC-VERSION
100
+ vcsPath: openapi/index.md
101
+ sourcePath: openapi/index.md
96
102
  ---
97
103
  # OpenAPI definition
98
104
 
@@ -192,6 +198,8 @@ exports[`Translate command > build translated md files and remove no-translate d
192
198
  metadata:
193
199
  - name: generator
194
200
  content: Diplodoc Platform vDIPLODOC-VERSION
201
+ vcsPath: openapi/test-controller/getWithPayloadResponse.md
202
+ sourcePath: openapi/test-controller/getWithPayloadResponse.md
195
203
  ---
196
204
  <div class="openapi">
197
205
 
@@ -276,6 +284,8 @@ exports[`Translate command > build translated md files and remove no-translate d
276
284
  metadata:
277
285
  - name: generator
278
286
  content: Diplodoc Platform vDIPLODOC-VERSION
287
+ vcsPath: openapi/test-controller/index.md
288
+ sourcePath: openapi/test-controller/index.md
279
289
  ---
280
290
  # test-controller
281
291
 
@@ -322,6 +332,8 @@ exports[`Translate command > build translated static files and remove no-transla
322
332
  metadata:
323
333
  - name: generator
324
334
  content: Diplodoc Platform vDIPLODOC-VERSION
335
+ vcsPath: index.md
336
+ sourcePath: index.md
325
337
  ---
326
338
  ## Index header
327
339
 
@@ -337,6 +349,8 @@ exports[`Translate command > build translated static files and remove no-transla
337
349
  metadata:
338
350
  - name: generator
339
351
  content: Diplodoc Platform vDIPLODOC-VERSION
352
+ vcsPath: no-translate.md
353
+ sourcePath: no-translate.md
340
354
  ---
341
355
  # No-translate directive
342
356
 
@@ -399,6 +413,8 @@ exports[`Translate command > build translated static files and remove no-transla
399
413
  metadata:
400
414
  - name: generator
401
415
  content: Diplodoc Platform vDIPLODOC-VERSION
416
+ vcsPath: openapi/index.md
417
+ sourcePath: openapi/index.md
402
418
  ---
403
419
  # OpenAPI definition
404
420
 
@@ -498,6 +514,8 @@ exports[`Translate command > build translated static files and remove no-transla
498
514
  metadata:
499
515
  - name: generator
500
516
  content: Diplodoc Platform vDIPLODOC-VERSION
517
+ vcsPath: openapi/test-controller/getWithPayloadResponse.md
518
+ sourcePath: openapi/test-controller/getWithPayloadResponse.md
501
519
  ---
502
520
  <div class="openapi">
503
521
 
@@ -582,6 +600,8 @@ exports[`Translate command > build translated static files and remove no-transla
582
600
  metadata:
583
601
  - name: generator
584
602
  content: Diplodoc Platform vDIPLODOC-VERSION
603
+ vcsPath: openapi/test-controller/index.md
604
+ sourcePath: openapi/test-controller/index.md
585
605
  ---
586
606
  # test-controller
587
607
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diplodoc/cli-tests",
3
- "version": "5.10.2",
3
+ "version": "5.11.0",
4
4
  "bin": {
5
5
  "diplodoc-cli-test": "bin.mjs"
6
6
  },