@diplodoc/cli-tests 0.0.0-rc-err-count-202505291233 → 0.0.0-rc-ci-optimization-test-202506191355

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.
Files changed (43) hide show
  1. package/e2e/__snapshots__/include-toc.test.ts.snap +98 -106
  2. package/e2e/__snapshots__/load-custom-resources.spec.ts.snap +66 -56
  3. package/e2e/__snapshots__/metadata.spec.ts.snap +19 -14
  4. package/e2e/__snapshots__/plugin-corner-cases.spec.ts.snap +0 -0
  5. package/e2e/__snapshots__/regression.test.ts.snap +764 -760
  6. package/e2e/__snapshots__/restricted-access.test.ts.snap +234 -0
  7. package/e2e/__snapshots__/rtl.spec.ts.snap +57 -47
  8. package/e2e/__snapshots__/translation.spec.ts.snap +366 -0
  9. package/e2e/errors.spec.ts +37 -0
  10. package/e2e/restricted-access.test.ts +21 -0
  11. package/fixtures/cliAdapter.ts +39 -20
  12. package/fixtures/runners/binary.ts +21 -3
  13. package/fixtures/runners/index.ts +3 -1
  14. package/fixtures/runners/source.ts +5 -5
  15. package/fixtures/runners/types.ts +7 -1
  16. package/fixtures/utils/file.ts +3 -3
  17. package/fixtures/utils/test.ts +6 -1
  18. package/mocks/errors/unreachable-link/input/exists.md +1 -0
  19. package/mocks/errors/unreachable-link/input/index.md +2 -0
  20. package/mocks/errors/unreachable-link/input/toc.yaml +1 -0
  21. package/mocks/regression/input/1.md +0 -4
  22. package/mocks/regression/input/_assets/5_1.png +0 -0
  23. package/mocks/regression/input/images.md +2 -0
  24. package/mocks/regression/input/includes.md +1 -0
  25. package/mocks/restricted-access/test1/input/index.md +0 -0
  26. package/mocks/restricted-access/test1/input/plugins/index.md +0 -0
  27. package/mocks/restricted-access/test1/input/plugins/index2.md +0 -0
  28. package/mocks/restricted-access/test1/input/plugins/index3.md +0 -0
  29. package/mocks/restricted-access/test1/input/plugins/index4.md +4 -0
  30. package/mocks/restricted-access/test1/input/toc.yaml +28 -0
  31. package/mocks/restricted-access/test2/input/index.md +0 -0
  32. package/mocks/restricted-access/test2/input/plugins/index.md +0 -0
  33. package/mocks/restricted-access/test2/input/project/index.md +0 -0
  34. package/mocks/restricted-access/test2/input/toc.yaml +21 -0
  35. package/mocks/restricted-access/test3/input/a1.md +1 -0
  36. package/mocks/restricted-access/test3/input/folder1/a1.md +1 -0
  37. package/mocks/restricted-access/test3/input/folder1/folder2/a1.md +1 -0
  38. package/mocks/restricted-access/test3/input/folder1/folder2/toc.yaml +8 -0
  39. package/mocks/restricted-access/test3/input/folder1/toc.yaml +10 -0
  40. package/mocks/restricted-access/test3/input/index.md +0 -0
  41. package/mocks/restricted-access/test3/input/toc.yaml +16 -0
  42. package/package.json +4 -3
  43. package/vitest.config.ts +1 -2
@@ -1,31 +1,27 @@
1
1
  // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
2
2
 
3
- exports[`Allow load custom resources > md2html single page with custom resources > .yfm 1`] = `
4
- "resources:
5
- style:
6
- - _assets/style/test.css
7
- script:
8
- - _assets/script/test1.js
9
- "
10
- `;
11
-
12
3
  exports[`Allow load custom resources > md2html single page with custom resources > filelist 1`] = `
13
4
  "[
14
5
  ".yfm",
15
6
  "_assets/script/test1.js",
16
7
  "_assets/style/test.css",
8
+ "_bundle/search-async-1",
17
9
  "_bundle/search-async-0",
18
10
  "_bundle/app-css-1",
19
11
  "_bundle/app-js-1",
20
- "_bundle/search-css-2",
12
+ "_bundle/app-css-3",
21
13
  "_bundle/latex-extension.css",
22
14
  "_bundle/latex-extension.js",
23
15
  "_bundle/mermaid-extension.js",
16
+ "_bundle/page-constructor-extension.css",
17
+ "_bundle/page-constructor-extension.js",
24
18
  "_bundle/search-js-0",
25
- "_bundle/search-js-1",
26
19
  "_bundle/search-css-0",
27
- "_bundle/search-js-2",
20
+ "_bundle/search-js-1",
21
+ "_bundle/search-css-3",
28
22
  "_bundle/search-css-1",
23
+ "_bundle/search-js-2",
24
+ "_bundle/search-css-2",
29
25
  "index.html",
30
26
  "page.html",
31
27
  "project/config.html",
@@ -36,7 +32,16 @@ exports[`Allow load custom resources > md2html single page with custom resources
36
32
  ]"
37
33
  `;
38
34
 
39
- exports[`Allow load custom resources > md2html single page with custom resources > index.html 1`] = `
35
+ exports[`Allow load custom resources > md2html single page with custom resources 1`] = `
36
+ "resources:
37
+ style:
38
+ - _assets/style/test.css
39
+ script:
40
+ - _assets/script/test1.js
41
+ "
42
+ `;
43
+
44
+ exports[`Allow load custom resources > md2html single page with custom resources 2`] = `
40
45
  "<!DOCTYPE html>
41
46
  <html lang="ru" dir="ltr">
42
47
  <head>
@@ -50,7 +55,7 @@ exports[`Allow load custom resources > md2html single page with custom resources
50
55
 
51
56
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
52
57
 
53
- <link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
58
+ <link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
54
59
  <link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
55
60
  <link type="text/css" rel="stylesheet" href="_assets/style/test.css"/>
56
61
  </head>
@@ -76,7 +81,7 @@ exports[`Allow load custom resources > md2html single page with custom resources
76
81
  </html>"
77
82
  `;
78
83
 
79
- exports[`Allow load custom resources > md2html single page with custom resources > page.html 1`] = `
84
+ exports[`Allow load custom resources > md2html single page with custom resources 3`] = `
80
85
  "<!DOCTYPE html>
81
86
  <html lang="ru" dir="ltr">
82
87
  <head>
@@ -89,7 +94,7 @@ exports[`Allow load custom resources > md2html single page with custom resources
89
94
 
90
95
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
91
96
 
92
- <link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
97
+ <link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
93
98
  <link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
94
99
  <link type="text/css" rel="stylesheet" href="_assets/style/test.css"/>
95
100
  </head>
@@ -115,7 +120,7 @@ exports[`Allow load custom resources > md2html single page with custom resources
115
120
  </html>"
116
121
  `;
117
122
 
118
- exports[`Allow load custom resources > md2html single page with custom resources > project/config.html 1`] = `
123
+ exports[`Allow load custom resources > md2html single page with custom resources 4`] = `
119
124
  "<!DOCTYPE html>
120
125
  <html lang="ru" dir="ltr">
121
126
  <head>
@@ -127,7 +132,7 @@ exports[`Allow load custom resources > md2html single page with custom resources
127
132
 
128
133
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
129
134
 
130
- <link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
135
+ <link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
131
136
  <link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
132
137
  <link type="text/css" rel="stylesheet" href="_assets/style/test.css"/>
133
138
  </head>
@@ -153,7 +158,9 @@ exports[`Allow load custom resources > md2html single page with custom resources
153
158
  </html>"
154
159
  `;
155
160
 
156
- exports[`Allow load custom resources > md2html single page with custom resources > single-page.html 1`] = `
161
+ exports[`Allow load custom resources > md2html single page with custom resources 5`] = `"window.__DATA__.data.toc = {"title":"Documentation","href":"#index","items":[{"name":"Documentation","href":"#page","id":"UUID"},{"name":"Config","href":"#project_config","id":"UUID"}],"path":"toc.yaml","id":"UUID"};"`;
162
+
163
+ exports[`Allow load custom resources > md2html single page with custom resources 6`] = `
157
164
  "<!DOCTYPE html>
158
165
  <html lang="ru" dir="ltr">
159
166
  <head>
@@ -166,7 +173,7 @@ exports[`Allow load custom resources > md2html single page with custom resources
166
173
 
167
174
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
168
175
 
169
- <link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
176
+ <link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
170
177
  <link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
171
178
  <link type="text/css" rel="stylesheet" href="_assets/style/test.css"/>
172
179
  </head>
@@ -192,38 +199,32 @@ exports[`Allow load custom resources > md2html single page with custom resources
192
199
  </html>"
193
200
  `;
194
201
 
195
- exports[`Allow load custom resources > md2html single page with custom resources > single-page.json 1`] = `"{"data":{"leading":false,"html":"<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"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"]},"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"]}"`;
196
-
197
- exports[`Allow load custom resources > md2html single page with custom resources > single-page-toc.js 1`] = `"window.__DATA__.data.toc = {"title":"Documentation","href":"#index","items":[{"name":"Documentation","href":"#page","id":"UUID"},{"name":"Config","href":"#project_config","id":"UUID"}],"path":"toc.yaml","id":"UUID"};"`;
202
+ exports[`Allow load custom resources > md2html single page with custom resources 7`] = `"{"data":{"leading":false,"html":"<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"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"]},"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"]}"`;
198
203
 
199
- exports[`Allow load custom resources > md2html single page with custom resources > toc.js 1`] = `"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"};"`;
200
-
201
- exports[`Allow load custom resources > md2html with custom resources > .yfm 1`] = `
202
- "resources:
203
- style:
204
- - _assets/style/test.css
205
- script:
206
- - _assets/script/test1.js
207
- "
208
- `;
204
+ 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"};"`;
209
205
 
210
206
  exports[`Allow load custom resources > md2html with custom resources > filelist 1`] = `
211
207
  "[
212
208
  ".yfm",
213
209
  "_assets/script/test1.js",
214
210
  "_assets/style/test.css",
211
+ "_bundle/search-async-1",
215
212
  "_bundle/search-async-0",
216
213
  "_bundle/app-css-1",
217
214
  "_bundle/app-js-1",
218
- "_bundle/search-css-2",
215
+ "_bundle/app-css-3",
219
216
  "_bundle/latex-extension.css",
220
217
  "_bundle/latex-extension.js",
221
218
  "_bundle/mermaid-extension.js",
219
+ "_bundle/page-constructor-extension.css",
220
+ "_bundle/page-constructor-extension.js",
222
221
  "_bundle/search-js-0",
223
- "_bundle/search-js-1",
224
222
  "_bundle/search-css-0",
225
- "_bundle/search-js-2",
223
+ "_bundle/search-js-1",
224
+ "_bundle/search-css-3",
226
225
  "_bundle/search-css-1",
226
+ "_bundle/search-js-2",
227
+ "_bundle/search-css-2",
227
228
  "index.html",
228
229
  "page.html",
229
230
  "project/config.html",
@@ -231,7 +232,16 @@ exports[`Allow load custom resources > md2html with custom resources > filelist
231
232
  ]"
232
233
  `;
233
234
 
234
- exports[`Allow load custom resources > md2html with custom resources > index.html 1`] = `
235
+ exports[`Allow load custom resources > md2html with custom resources 1`] = `
236
+ "resources:
237
+ style:
238
+ - _assets/style/test.css
239
+ script:
240
+ - _assets/script/test1.js
241
+ "
242
+ `;
243
+
244
+ exports[`Allow load custom resources > md2html with custom resources 2`] = `
235
245
  "<!DOCTYPE html>
236
246
  <html lang="ru" dir="ltr">
237
247
  <head>
@@ -245,7 +255,7 @@ exports[`Allow load custom resources > md2html with custom resources > index.htm
245
255
 
246
256
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
247
257
 
248
- <link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
258
+ <link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
249
259
  <link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
250
260
  <link type="text/css" rel="stylesheet" href="_assets/style/test.css"/>
251
261
  </head>
@@ -271,7 +281,7 @@ exports[`Allow load custom resources > md2html with custom resources > index.htm
271
281
  </html>"
272
282
  `;
273
283
 
274
- exports[`Allow load custom resources > md2html with custom resources > page.html 1`] = `
284
+ exports[`Allow load custom resources > md2html with custom resources 3`] = `
275
285
  "<!DOCTYPE html>
276
286
  <html lang="ru" dir="ltr">
277
287
  <head>
@@ -284,7 +294,7 @@ exports[`Allow load custom resources > md2html with custom resources > page.html
284
294
 
285
295
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
286
296
 
287
- <link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
297
+ <link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
288
298
  <link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
289
299
  <link type="text/css" rel="stylesheet" href="_assets/style/test.css"/>
290
300
  </head>
@@ -310,7 +320,7 @@ exports[`Allow load custom resources > md2html with custom resources > page.html
310
320
  </html>"
311
321
  `;
312
322
 
313
- exports[`Allow load custom resources > md2html with custom resources > project/config.html 1`] = `
323
+ exports[`Allow load custom resources > md2html with custom resources 4`] = `
314
324
  "<!DOCTYPE html>
315
325
  <html lang="ru" dir="ltr">
316
326
  <head>
@@ -322,7 +332,7 @@ exports[`Allow load custom resources > md2html with custom resources > project/c
322
332
 
323
333
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
324
334
 
325
- <link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
335
+ <link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
326
336
  <link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
327
337
  <link type="text/css" rel="stylesheet" href="_assets/style/test.css"/>
328
338
  </head>
@@ -348,16 +358,7 @@ exports[`Allow load custom resources > md2html with custom resources > project/c
348
358
  </html>"
349
359
  `;
350
360
 
351
- exports[`Allow load custom resources > md2html with custom resources > toc.js 1`] = `"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"};"`;
352
-
353
- exports[`Allow load custom resources > md2md with custom resources > .yfm 1`] = `
354
- "resources:
355
- style:
356
- - _assets/style/test.css
357
- script:
358
- - _assets/script/test1.js
359
- "
360
- `;
361
+ exports[`Allow load custom resources > md2html with custom resources 5`] = `"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"};"`;
361
362
 
362
363
  exports[`Allow load custom resources > md2md with custom resources > filelist 1`] = `
363
364
  "[
@@ -371,7 +372,16 @@ exports[`Allow load custom resources > md2md with custom resources > filelist 1`
371
372
  ]"
372
373
  `;
373
374
 
374
- exports[`Allow load custom resources > md2md with custom resources > index.yaml 1`] = `
375
+ exports[`Allow load custom resources > md2md with custom resources 1`] = `
376
+ "resources:
377
+ style:
378
+ - _assets/style/test.css
379
+ script:
380
+ - _assets/script/test1.js
381
+ "
382
+ `;
383
+
384
+ exports[`Allow load custom resources > md2md with custom resources 2`] = `
375
385
  "title: Documentation
376
386
  description: ''
377
387
  meta:
@@ -391,7 +401,7 @@ links:
391
401
  "
392
402
  `;
393
403
 
394
- exports[`Allow load custom resources > md2md with custom resources > page.md 1`] = `
404
+ exports[`Allow load custom resources > md2md with custom resources 3`] = `
395
405
  "---
396
406
  metadata:
397
407
  - name: generator
@@ -408,7 +418,7 @@ Lorem
408
418
  "
409
419
  `;
410
420
 
411
- exports[`Allow load custom resources > md2md with custom resources > project/config.md 1`] = `
421
+ exports[`Allow load custom resources > md2md with custom resources 4`] = `
412
422
  "---
413
423
  metadata:
414
424
  - name: generator
@@ -421,7 +431,7 @@ script:
421
431
  Lorem"
422
432
  `;
423
433
 
424
- exports[`Allow load custom resources > md2md with custom resources > toc.yaml 1`] = `
434
+ exports[`Allow load custom resources > md2md with custom resources 5`] = `
425
435
  "title: Documentation
426
436
  href: index.yaml
427
437
  items:
@@ -2,18 +2,23 @@
2
2
 
3
3
  exports[`Allow load custom resources > md2html with metadata > filelist 1`] = `
4
4
  "[
5
+ "_bundle/search-async-1",
5
6
  "_bundle/search-async-0",
6
7
  "_bundle/app-css-1",
7
8
  "_bundle/app-js-1",
8
- "_bundle/search-css-2",
9
+ "_bundle/app-css-3",
9
10
  "_bundle/latex-extension.css",
10
11
  "_bundle/latex-extension.js",
11
12
  "_bundle/mermaid-extension.js",
13
+ "_bundle/page-constructor-extension.css",
14
+ "_bundle/page-constructor-extension.js",
12
15
  "_bundle/search-js-0",
13
- "_bundle/search-js-1",
14
16
  "_bundle/search-css-0",
15
- "_bundle/search-js-2",
17
+ "_bundle/search-js-1",
18
+ "_bundle/search-css-3",
16
19
  "_bundle/search-css-1",
20
+ "_bundle/search-js-2",
21
+ "_bundle/search-css-2",
17
22
  "index.html",
18
23
  "page.html",
19
24
  "project/config.html",
@@ -21,7 +26,7 @@ exports[`Allow load custom resources > md2html with metadata > filelist 1`] = `
21
26
  ]"
22
27
  `;
23
28
 
24
- exports[`Allow load custom resources > md2html with metadata > index.html 1`] = `
29
+ exports[`Allow load custom resources > md2html with metadata 1`] = `
25
30
  "<!DOCTYPE html>
26
31
  <html lang="ru" dir="ltr">
27
32
  <head>
@@ -37,7 +42,7 @@ exports[`Allow load custom resources > md2html with metadata > index.html 1`] =
37
42
 
38
43
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
39
44
 
40
- <link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
45
+ <link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
41
46
  <link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
42
47
  </head>
43
48
  <body class="g-root g-root_theme_light">
@@ -61,7 +66,7 @@ exports[`Allow load custom resources > md2html with metadata > index.html 1`] =
61
66
  </html>"
62
67
  `;
63
68
 
64
- exports[`Allow load custom resources > md2html with metadata > page.html 1`] = `
69
+ exports[`Allow load custom resources > md2html with metadata 2`] = `
65
70
  "<!DOCTYPE html>
66
71
  <html lang="ru" dir="ltr">
67
72
  <head>
@@ -76,7 +81,7 @@ exports[`Allow load custom resources > md2html with metadata > page.html 1`] = `
76
81
 
77
82
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
78
83
 
79
- <link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
84
+ <link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
80
85
  <link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
81
86
  </head>
82
87
  <body class="g-root g-root_theme_light">
@@ -100,7 +105,7 @@ exports[`Allow load custom resources > md2html with metadata > page.html 1`] = `
100
105
  </html>"
101
106
  `;
102
107
 
103
- exports[`Allow load custom resources > md2html with metadata > project/config.html 1`] = `
108
+ exports[`Allow load custom resources > md2html with metadata 3`] = `
104
109
  "<!DOCTYPE html>
105
110
  <html lang="ru" dir="ltr">
106
111
  <head>
@@ -115,7 +120,7 @@ exports[`Allow load custom resources > md2html with metadata > project/config.ht
115
120
 
116
121
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
117
122
 
118
- <link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
123
+ <link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
119
124
  <link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
120
125
  </head>
121
126
  <body class="g-root g-root_theme_light">
@@ -139,7 +144,7 @@ exports[`Allow load custom resources > md2html with metadata > project/config.ht
139
144
  </html>"
140
145
  `;
141
146
 
142
- exports[`Allow load custom resources > md2html with metadata > toc.js 1`] = `"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"};"`;
147
+ exports[`Allow load custom resources > md2html with metadata 4`] = `"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"};"`;
143
148
 
144
149
  exports[`Allow load custom resources > md2md with metadata > filelist 1`] = `
145
150
  "[
@@ -150,7 +155,7 @@ exports[`Allow load custom resources > md2md with metadata > filelist 1`] = `
150
155
  ]"
151
156
  `;
152
157
 
153
- exports[`Allow load custom resources > md2md with metadata > index.yaml 1`] = `
158
+ exports[`Allow load custom resources > md2md with metadata 1`] = `
154
159
  "title: Documentation
155
160
  description: ''
156
161
  meta:
@@ -170,7 +175,7 @@ links:
170
175
  "
171
176
  `;
172
177
 
173
- exports[`Allow load custom resources > md2md with metadata > page.md 1`] = `
178
+ exports[`Allow load custom resources > md2md with metadata 2`] = `
174
179
  "---
175
180
  metadata:
176
181
  - name: generator
@@ -186,7 +191,7 @@ metadata:
186
191
  Lorem"
187
192
  `;
188
193
 
189
- exports[`Allow load custom resources > md2md with metadata > project/config.md 1`] = `
194
+ exports[`Allow load custom resources > md2md with metadata 3`] = `
190
195
  "---
191
196
  metadata:
192
197
  - name: generator
@@ -202,7 +207,7 @@ metadata:
202
207
  Lorem"
203
208
  `;
204
209
 
205
- exports[`Allow load custom resources > md2md with metadata > toc.yaml 1`] = `
210
+ exports[`Allow load custom resources > md2md with metadata 4`] = `
206
211
  "title: Documentation
207
212
  href: index.yaml
208
213
  items: