@diplodoc/cli-tests 5.2.1 → 5.2.2

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.
@@ -89,10 +89,9 @@ exports[`Allow load custom resources > md2html single page with custom resources
89
89
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
90
90
  <base href="./" />
91
91
  <title>Page Title | Documentation</title>
92
- <meta name="description" content="Some test description">
93
92
  <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
94
93
  <meta name="yfm" content="builder in page">
95
- <meta name="interface" content="[object Object]">
94
+ <meta name="description" content="Some test description">
96
95
 
97
96
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
98
97
  <link rel="icon" type="image/x-icon" href="/favicon.ico">
@@ -104,7 +103,7 @@ exports[`Allow load custom resources > md2html single page with custom resources
104
103
  <body class="g-root g-root_theme_light">
105
104
  <div id="root"></div>
106
105
  <script type="application/json" id="diplodoc-state">
107
- {"data":{"leading":false,"html":"&lt;p&gt;Lorem&lt;/p&gt;/n","meta":{"metadata":[{"name":"description","content":"Some test description"},{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"yfm","content":"builder in page"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"],"title":"Page Title","description":"Some test description","interface":{"toc":false,"favicon-src":"/favicon.ico"}},"headings":[],"title":"Page Title"},"router":{"pathname":"page","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":false,"favicon-src":"/favicon.ico"}}
106
+ {"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"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"],"title":"Page Title","description":"Some test description","interface":{"toc":false,"favicon-src":"/favicon.ico"}},"headings":[],"title":"Page Title"},"router":{"pathname":"page","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":false,"favicon-src":"/favicon.ico"}}
108
107
  </script>
109
108
  <script type="application/javascript">
110
109
  const data = document.querySelector('script#diplodoc-state');
@@ -172,10 +171,9 @@ exports[`Allow load custom resources > md2html single page with custom resources
172
171
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
173
172
  <base href="./" />
174
173
  <title>Page Title | Documentation</title>
175
- <meta name="description" content="Some test description">
176
174
  <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
177
175
  <meta name="yfm" content="builder in page">
178
- <meta name="interface" content="[object Object]">
176
+ <meta name="description" content="Some test description">
179
177
 
180
178
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
181
179
  <link rel="icon" type="image/x-icon" href="/favicon.ico">
@@ -187,7 +185,7 @@ exports[`Allow load custom resources > md2html single page with custom resources
187
185
  <body class="g-root g-root_theme_light">
188
186
  <div id="root"></div>
189
187
  <script type="application/json" id="diplodoc-state">
190
- {"data":{"leading":false,"html":"&lt;h2 data-original-article=\\"page.html\\"&gt;Page Title&lt;a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"#page\\" id=\\"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":"description","content":"Some test description"},{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"yfm","content":"builder in page"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"],"title":"Page Title","description":"Some test description","interface":{"toc":false,"favicon-src":"/favicon.ico"}},"title":"Documentation"},"router":{"pathname":"single-page","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":false,"favicon-src":"/favicon.ico"}}
188
+ {"data":{"leading":false,"html":"&lt;h2 data-original-article=\\"page.html\\"&gt;Page Title&lt;a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"#page\\" id=\\"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"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"],"title":"Page Title","description":"Some test description","interface":{"toc":false,"favicon-src":"/favicon.ico"}},"title":"Documentation"},"router":{"pathname":"single-page","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":false,"favicon-src":"/favicon.ico"}}
191
189
  </script>
192
190
  <script type="application/javascript">
193
191
  const data = document.querySelector('script#diplodoc-state');
@@ -206,7 +204,7 @@ exports[`Allow load custom resources > md2html single page with custom resources
206
204
  </html>"
207
205
  `;
208
206
 
209
- exports[`Allow load custom resources > md2html single page with custom resources 7`] = `"{"data":{"leading":false,"html":"<h2 data-original-article=\\"page.html\\">Page Title<a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"#page\\" id=\\"page\\"></a></h2><p>Lorem</p>/n<hr class=\\"yfm-page__delimeter\\"><p>Lorem</p>/n","headings":[],"meta":{"metadata":[{"name":"description","content":"Some test description"},{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"yfm","content":"builder in page"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"],"title":"Page Title","description":"Some test description","interface":{"toc":false,"favicon-src":"/favicon.ico"}},"title":"Documentation","toc":{"title":"Documentation","href":"index.html","items":[{"name":"Documentation","href":"page.html","id":"UUID"},{"name":"Config","href":"project/config.html","id":"UUID"}],"path":"toc.yaml","id":"UUID"}},"router":{"pathname":"single-page","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":false,"favicon-src":"/favicon.ico"}}"`;
207
+ exports[`Allow load custom resources > md2html single page with custom resources 7`] = `"{"data":{"leading":false,"html":"<h2 data-original-article=\\"page.html\\">Page Title<a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"#page\\" id=\\"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"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"],"title":"Page Title","description":"Some test description","interface":{"toc":false,"favicon-src":"/favicon.ico"}},"title":"Documentation","toc":{"title":"Documentation","href":"index.html","items":[{"name":"Documentation","href":"page.html","id":"UUID"},{"name":"Config","href":"project/config.html","id":"UUID"}],"path":"toc.yaml","id":"UUID"}},"router":{"pathname":"single-page","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":false,"favicon-src":"/favicon.ico"}}"`;
210
208
 
211
209
  exports[`Allow load custom resources > md2html single page with custom resources 8`] = `"window.__DATA__.data.toc = {"title":"Documentation","href":"index.html","items":[{"name":"Documentation","href":"page.html","id":"UUID"},{"name":"Config","href":"project/config.html","id":"UUID"}],"path":"toc.yaml","id":"UUID"};"`;
212
210
 
@@ -296,10 +294,9 @@ exports[`Allow load custom resources > md2html with custom resources 3`] = `
296
294
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
297
295
  <base href="./" />
298
296
  <title>Page Title | Documentation</title>
299
- <meta name="description" content="Some test description">
300
297
  <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
301
298
  <meta name="yfm" content="builder in page">
302
- <meta name="interface" content="[object Object]">
299
+ <meta name="description" content="Some test description">
303
300
 
304
301
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
305
302
  <link rel="icon" type="image/x-icon" href="/favicon.ico">
@@ -311,7 +308,7 @@ exports[`Allow load custom resources > md2html with custom resources 3`] = `
311
308
  <body class="g-root g-root_theme_light">
312
309
  <div id="root"></div>
313
310
  <script type="application/json" id="diplodoc-state">
314
- {"data":{"leading":false,"html":"&lt;p&gt;Lorem&lt;/p&gt;/n","meta":{"metadata":[{"name":"description","content":"Some test description"},{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"yfm","content":"builder in page"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"],"title":"Page Title","description":"Some test description","interface":{"toc":false,"favicon-src":"/favicon.ico"}},"headings":[],"title":"Page Title"},"router":{"pathname":"page","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":false,"favicon-src":"/favicon.ico"}}
311
+ {"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"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"],"title":"Page Title","description":"Some test description","interface":{"toc":false,"favicon-src":"/favicon.ico"}},"headings":[],"title":"Page Title"},"router":{"pathname":"page","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":false,"favicon-src":"/favicon.ico"}}
315
312
  </script>
316
313
  <script type="application/javascript">
317
314
  const data = document.querySelector('script#diplodoc-state');
@@ -74,12 +74,11 @@ exports[`Allow load custom resources > md2html with metadata 2`] = `
74
74
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
75
75
  <base href="./" />
76
76
  <title>Page Title | Documentation</title>
77
- <meta name="description" content="Some test description">
78
77
  <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
79
78
  <meta name="test-yfm" content="inline test">
80
- <meta name="yfm" content="builder in page">
81
79
  <meta name="yfm-config" content="config test">
82
- <meta name="interface" content="[object Object]">
80
+ <meta name="yfm" content="builder in page">
81
+ <meta name="description" content="Some test description">
83
82
 
84
83
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
85
84
  <link rel="icon" type="image/x-icon" href="/favicon.ico">
@@ -90,7 +89,7 @@ exports[`Allow load custom resources > md2html with metadata 2`] = `
90
89
  <body class="g-root g-root_theme_light">
91
90
  <div id="root"></div>
92
91
  <script type="application/json" id="diplodoc-state">
93
- {"data":{"leading":false,"html":"&lt;p&gt;Lorem&lt;/p&gt;/n","meta":{"metadata":[{"name":"description","content":"Some test description"},{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"test-yfm","content":"inline test"},{"name":"yfm","content":"builder in page"},{"name":"yfm-config","content":"config test"}],"title":"Page Title","description":"Some test description","interface":{"toc":false,"favicon-src":"/favicon.ico"}},"headings":[],"title":"Page Title"},"router":{"pathname":"page","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":false,"favicon-src":"/favicon.ico"}}
92
+ {"data":{"leading":false,"html":"&lt;p&gt;Lorem&lt;/p&gt;/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"}},"headings":[],"title":"Page Title"},"router":{"pathname":"page","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":false,"favicon-src":"/favicon.ico"}}
94
93
  </script>
95
94
  <script type="application/javascript">
96
95
  const data = document.querySelector('script#diplodoc-state');
@@ -118,8 +117,8 @@ exports[`Allow load custom resources > md2html with metadata 3`] = `
118
117
  <title>Documentation</title>
119
118
  <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
120
119
  <meta name="test-yfm" content="inline test">
121
- <meta name="yfm" value="builder in config">
122
120
  <meta name="yfm-config" content="config test">
121
+ <meta name="yfm" value="builder in config">
123
122
 
124
123
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
125
124
 
@@ -130,7 +129,7 @@ exports[`Allow load custom resources > md2html with metadata 3`] = `
130
129
  <body class="g-root g-root_theme_light">
131
130
  <div id="root"></div>
132
131
  <script type="application/json" id="diplodoc-state">
133
- {"data":{"leading":false,"html":"&lt;p&gt;Lorem&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"test-yfm","content":"inline test"},{"name":"yfm","value":"builder in config"},{"name":"yfm-config","content":"config test"}]},"headings":[],"title":""},"router":{"pathname":"project/config","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{}}
132
+ {"data":{"leading":false,"html":"&lt;p&gt;Lorem&lt;/p&gt;/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"}]},"headings":[],"title":""},"router":{"pathname":"project/config","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{}}
134
133
  </script>
135
134
  <script type="application/javascript">
136
135
  const data = document.querySelector('script#diplodoc-state');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diplodoc/cli-tests",
3
- "version": "5.2.1",
3
+ "version": "5.2.2",
4
4
  "bin": {
5
5
  "diplodoc-cli-test": "bin.mjs"
6
6
  },