@diplodoc/cli-tests 0.0.0-rc-rebase-links-in-autotitles-17972680369 → 0.0.0-rc-fix-manifest-18002055289

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.
@@ -14,7 +14,8 @@ exports[`Alternates > internal > filelist 1`] = `
14
14
  "ru/about.md",
15
15
  "ru/deep/test.md",
16
16
  "ru/index.yaml",
17
- "ru/toc.yaml"
17
+ "ru/toc.yaml",
18
+ "yfm-build-manifest.json"
18
19
  ]"
19
20
  `;
20
21
 
@@ -33,7 +34,8 @@ exports[`Alternates > internal > filelist 2`] = `
33
34
  "ru/about.html",
34
35
  "ru/deep/test.html",
35
36
  "ru/index.html",
36
- "ru/toc.js"
37
+ "ru/toc.js",
38
+ "yfm-build-manifest.json"
37
39
  ]"
38
40
  `;
39
41
 
@@ -236,12 +238,14 @@ path: ru/toc.yaml
236
238
  "
237
239
  `;
238
240
 
239
- exports[`Alternates > internal 14`] = `
241
+ exports[`Alternates > internal 14`] = `"{"redirects":{},"fileTrie":{"trie":{"az":{"children":{"index":{"file":{"ext":".yaml","toc":"t0"}},"about":{"file":{"ext":".md","toc":"t0"}},"deep":{"children":{"test":{"file":{"ext":".md","toc":"t0"}}}}}},"en":{"children":{"index":{"file":{"ext":".yaml","toc":"t1"}},"about":{"file":{"ext":".md","toc":"t1"}},"deep":{"children":{"test":{"file":{"ext":".md","toc":"t1"}}}}}},"ru":{"children":{"index":{"file":{"ext":".yaml","toc":"t2"}},"about":{"file":{"ext":".md","toc":"t2"}},"deep":{"children":{"test":{"file":{"ext":".md","toc":"t2"}}}}}}},"tocMapping":{"t0":"az/toc.yaml","t1":"en/toc.yaml","t2":"ru/toc.yaml"}},"yfmConfig":{"langs":["ru","en","az"]}}"`;
242
+
243
+ exports[`Alternates > internal 15`] = `
240
244
  "langs: ['ru', 'en', 'az']
241
245
  "
242
246
  `;
243
247
 
244
- exports[`Alternates > internal 15`] = `
248
+ exports[`Alternates > internal 16`] = `
245
249
  "<!DOCTYPE html>
246
250
  <html lang="az" dir="ltr">
247
251
  <head>
@@ -273,7 +277,7 @@ exports[`Alternates > internal 15`] = `
273
277
  </html>"
274
278
  `;
275
279
 
276
- exports[`Alternates > internal 16`] = `
280
+ exports[`Alternates > internal 17`] = `
277
281
  "<!DOCTYPE html>
278
282
  <html lang="az" dir="ltr">
279
283
  <head>
@@ -305,7 +309,7 @@ exports[`Alternates > internal 16`] = `
305
309
  </html>"
306
310
  `;
307
311
 
308
- exports[`Alternates > internal 17`] = `
312
+ exports[`Alternates > internal 18`] = `
309
313
  "<!DOCTYPE html>
310
314
  <html lang="az" dir="ltr">
311
315
  <head>
@@ -337,9 +341,9 @@ exports[`Alternates > internal 17`] = `
337
341
  </html>"
338
342
  `;
339
343
 
340
- exports[`Alternates > internal 18`] = `"window.__DATA__.data.toc = {"href":"az/index.html","items":[{"href":"az/about.html","name":"About","id":"UUID"},{"href":"az/deep/test.html","name":"Test","id":"UUID"}],"path":"az/toc.yaml","id":"UUID"};"`;
344
+ exports[`Alternates > internal 19`] = `"window.__DATA__.data.toc = {"href":"az/index.html","items":[{"href":"az/about.html","name":"About","id":"UUID"},{"href":"az/deep/test.html","name":"Test","id":"UUID"}],"path":"az/toc.yaml","id":"UUID"};"`;
341
345
 
342
- exports[`Alternates > internal 19`] = `
346
+ exports[`Alternates > internal 20`] = `
343
347
  "<!DOCTYPE html>
344
348
  <html lang="en" dir="ltr">
345
349
  <head>
@@ -371,7 +375,7 @@ exports[`Alternates > internal 19`] = `
371
375
  </html>"
372
376
  `;
373
377
 
374
- exports[`Alternates > internal 20`] = `
378
+ exports[`Alternates > internal 21`] = `
375
379
  "<!DOCTYPE html>
376
380
  <html lang="en" dir="ltr">
377
381
  <head>
@@ -403,7 +407,7 @@ exports[`Alternates > internal 20`] = `
403
407
  </html>"
404
408
  `;
405
409
 
406
- exports[`Alternates > internal 21`] = `
410
+ exports[`Alternates > internal 22`] = `
407
411
  "<!DOCTYPE html>
408
412
  <html lang="en" dir="ltr">
409
413
  <head>
@@ -435,9 +439,9 @@ exports[`Alternates > internal 21`] = `
435
439
  </html>"
436
440
  `;
437
441
 
438
- exports[`Alternates > internal 22`] = `"window.__DATA__.data.toc = {"href":"en/index.html","items":[{"href":"en/about.html","name":"About","id":"UUID"},{"href":"en/deep/test.html","name":"Test","id":"UUID"}],"path":"en/toc.yaml","id":"UUID"};"`;
442
+ exports[`Alternates > internal 23`] = `"window.__DATA__.data.toc = {"href":"en/index.html","items":[{"href":"en/about.html","name":"About","id":"UUID"},{"href":"en/deep/test.html","name":"Test","id":"UUID"}],"path":"en/toc.yaml","id":"UUID"};"`;
439
443
 
440
- exports[`Alternates > internal 23`] = `
444
+ exports[`Alternates > internal 24`] = `
441
445
  "<!DOCTYPE html>
442
446
  <html lang="ru" dir="ltr">
443
447
  <head>
@@ -457,7 +461,7 @@ exports[`Alternates > internal 23`] = `
457
461
  </html>"
458
462
  `;
459
463
 
460
- exports[`Alternates > internal 24`] = `
464
+ exports[`Alternates > internal 25`] = `
461
465
  "<!DOCTYPE html>
462
466
  <html lang="ru" dir="ltr">
463
467
  <head>
@@ -490,7 +494,7 @@ exports[`Alternates > internal 24`] = `
490
494
  </html>"
491
495
  `;
492
496
 
493
- exports[`Alternates > internal 25`] = `
497
+ exports[`Alternates > internal 26`] = `
494
498
  "<!DOCTYPE html>
495
499
  <html lang="ru" dir="ltr">
496
500
  <head>
@@ -522,7 +526,7 @@ exports[`Alternates > internal 25`] = `
522
526
  </html>"
523
527
  `;
524
528
 
525
- exports[`Alternates > internal 26`] = `
529
+ exports[`Alternates > internal 27`] = `
526
530
  "<!DOCTYPE html>
527
531
  <html lang="ru" dir="ltr">
528
532
  <head>
@@ -554,7 +558,9 @@ exports[`Alternates > internal 26`] = `
554
558
  </html>"
555
559
  `;
556
560
 
557
- exports[`Alternates > internal 27`] = `"window.__DATA__.data.toc = {"href":"ru/index.html","items":[{"href":"ru/about.html","name":"About","id":"UUID"},{"href":"ru/deep/test.html","name":"Test","id":"UUID"}],"path":"ru/toc.yaml","id":"UUID"};"`;
561
+ exports[`Alternates > internal 28`] = `"window.__DATA__.data.toc = {"href":"ru/index.html","items":[{"href":"ru/about.html","name":"About","id":"UUID"},{"href":"ru/deep/test.html","name":"Test","id":"UUID"}],"path":"ru/toc.yaml","id":"UUID"};"`;
562
+
563
+ exports[`Alternates > internal 29`] = `"{"redirects":{},"fileTrie":{"trie":{"az":{"children":{"index":{"file":{"ext":".yaml","toc":"t0"}},"about":{"file":{"ext":".md","toc":"t0"}},"deep":{"children":{"test":{"file":{"ext":".md","toc":"t0"}}}}}},"en":{"children":{"index":{"file":{"ext":".yaml","toc":"t1"}},"about":{"file":{"ext":".md","toc":"t1"}},"deep":{"children":{"test":{"file":{"ext":".md","toc":"t1"}}}}}},"ru":{"children":{"index":{"file":{"ext":".yaml","toc":"t2"}},"about":{"file":{"ext":".md","toc":"t2"}},"deep":{"children":{"test":{"file":{"ext":".md","toc":"t2"}}}}}}},"tocMapping":{"t0":"az/toc.yaml","t1":"en/toc.yaml","t2":"ru/toc.yaml"}},"yfmConfig":{"langs":["ru","en","az"]}}"`;
558
564
 
559
565
  exports[`Alternates > skip-html-extension > filelist 1`] = `
560
566
  "[
@@ -12,7 +12,8 @@ exports[`Include toc > Nested toc inclusions with mixed including modes > fileli
12
12
  "product2/overlay3/_includes/inc-hash.md",
13
13
  "product2/overlay3/article1.md",
14
14
  "product2/p2.md",
15
- "product2/toc.yaml"
15
+ "product2/toc.yaml",
16
+ "yfm-build-manifest.json"
16
17
  ]"
17
18
  `;
18
19
 
@@ -34,7 +35,8 @@ This is the core content of Article 1.
34
35
 
35
36
  exports[`Include toc > Nested toc inclusions with mixed including modes 2 > filelist 1`] = `
36
37
  "[
37
- "toc.yaml"
38
+ "toc.yaml",
39
+ "yfm-build-manifest.json"
38
40
  ]"
39
41
  `;
40
42
 
@@ -53,6 +55,8 @@ path: toc.yaml
53
55
  "
54
56
  `;
55
57
 
58
+ exports[`Include toc > Nested toc inclusions with mixed including modes 2 2`] = `"{"redirects":{},"fileTrie":{"trie":{},"tocMapping":{"t0":"toc.yaml"}},"yfmConfig":{}}"`;
59
+
56
60
  exports[`Include toc > Nested toc inclusions with mixed including modes 3`] = `
57
61
  "title: Product 1 title
58
62
  items:
@@ -153,12 +157,15 @@ path: product2/toc.yaml
153
157
  "
154
158
  `;
155
159
 
160
+ exports[`Include toc > Nested toc inclusions with mixed including modes 12`] = `"{"redirects":{},"fileTrie":{"trie":{"product2":{"children":{"p2":{"file":{"ext":".md","toc":"t1"}},"overlay1":{"children":{"article1":{"file":{"ext":".md","toc":"t1"}}}},"overlay2":{"children":{"article1":{"file":{"ext":".md","toc":"t1"}}}},"overlay3":{"children":{"article1":{"file":{"ext":".md","toc":"t1"}}}}}},"product1":{"children":{"article1":{"file":{"ext":".md","toc":"t0"}}}}},"tocMapping":{"t0":"product1/toc.yaml","t1":"product2/toc.yaml"}},"yfmConfig":{}}"`;
161
+
156
162
  exports[`Include toc > Toc is included in link mode > filelist 1`] = `
157
163
  "[
158
164
  "a1.md",
159
165
  "folder1/a1.md",
160
166
  "folder1/folder2/a1.md",
161
- "toc.yaml"
167
+ "toc.yaml",
168
+ "yfm-build-manifest.json"
162
169
  ]"
163
170
  `;
164
171
 
@@ -211,6 +218,8 @@ path: toc.yaml
211
218
  "
212
219
  `;
213
220
 
221
+ exports[`Include toc > Toc is included in link mode 5`] = `"{"redirects":{},"fileTrie":{"trie":{"a1":{"file":{"ext":".md","toc":"t0"}},"folder1":{"children":{"a1":{"file":{"ext":".md","toc":"t0"}},"folder2":{"children":{"a1":{"file":{"ext":".md","toc":"t0"}}}}}}},"tocMapping":{"t0":"toc.yaml"}},"yfmConfig":{}}"`;
222
+
214
223
  exports[`Include toc > Toc is included inline, not as a new section > filelist 1`] = `
215
224
  "[
216
225
  ".yfm",
@@ -219,7 +228,8 @@ exports[`Include toc > Toc is included inline, not as a new section > filelist 1
219
228
  "fileB.md",
220
229
  "fileC.md",
221
230
  "fileX.md",
222
- "toc.yaml"
231
+ "toc.yaml",
232
+ "yfm-build-manifest.json"
223
233
  ]"
224
234
  `;
225
235
 
@@ -318,11 +328,14 @@ path: toc.yaml
318
328
  "
319
329
  `;
320
330
 
331
+ exports[`Include toc > Toc is included inline, not as a new section 8`] = `"{"redirects":{},"fileTrie":{"trie":{"file1":{"file":{"ext":".md","toc":"t0"}},"fileA":{"file":{"ext":".md","toc":"t0"}},"fileB":{"file":{"ext":".md","toc":"t0"}},"fileC":{"file":{"ext":".md","toc":"t0"}},"fileX":{"file":{"ext":".md","toc":"t0"}}},"tocMapping":{"t0":"toc.yaml"}},"yfmConfig":{"applyPresets":true}}"`;
332
+
321
333
  exports[`Include toc > Toc root merge on non root dir > filelist 1`] = `
322
334
  "[
323
335
  ".yfm",
324
336
  "ru/index.yaml",
325
- "ru/toc.yaml"
337
+ "ru/toc.yaml",
338
+ "yfm-build-manifest.json"
326
339
  ]"
327
340
  `;
328
341
 
@@ -358,11 +371,14 @@ path: ru/toc.yaml
358
371
  "
359
372
  `;
360
373
 
374
+ exports[`Include toc > Toc root merge on non root dir 4`] = `"{"redirects":{},"fileTrie":{"trie":{"ru":{"children":{"index":{"file":{"ext":".yaml","toc":"t0"}}}}},"tocMapping":{"t0":"ru/toc.yaml"}},"yfmConfig":{"allowHtml":true}}"`;
375
+
361
376
  exports[`Include toc > Toc with expressions > filelist 1`] = `
362
377
  "[
363
378
  "a1.md",
364
379
  "index.yaml",
365
- "toc.yaml"
380
+ "toc.yaml",
381
+ "yfm-build-manifest.json"
366
382
  ]"
367
383
  `;
368
384
 
@@ -404,6 +420,8 @@ path: toc.yaml
404
420
  "
405
421
  `;
406
422
 
423
+ exports[`Include toc > Toc with expressions 4`] = `"{"redirects":{},"fileTrie":{"trie":{"index":{"file":{"ext":".yaml","toc":"t0"}},"a1":{"file":{"ext":".md","toc":"t0"}}},"tocMapping":{"t0":"toc.yaml"}},"yfmConfig":{}}"`;
424
+
407
425
  exports[`Include toc > Toc with generic includer > filelist 1`] = `
408
426
  "[
409
427
  "test/index.md",
@@ -411,7 +429,8 @@ exports[`Include toc > Toc with generic includer > filelist 1`] = `
411
429
  "test/sub/sub-2.md",
412
430
  "test/sub/sub/sub-3.md",
413
431
  "test/test.md",
414
- "toc.yaml"
432
+ "toc.yaml",
433
+ "yfm-build-manifest.json"
415
434
  ]"
416
435
  `;
417
436
 
@@ -494,3 +513,5 @@ items:
494
513
  path: toc.yaml
495
514
  "
496
515
  `;
516
+
517
+ exports[`Include toc > Toc with generic includer 7`] = `"{"redirects":{},"fileTrie":{"trie":{"test":{"children":{"test":{"file":{"ext":".md","toc":"t0"}},"index":{"file":{"ext":".md","toc":"t0"}},"sub":{"children":{"sub-2":{"file":{"ext":".md","toc":"t0"}},"sub-1":{"file":{"ext":".md","toc":"t0"}},"sub":{"children":{"sub-3":{"file":{"ext":".md","toc":"t0"}}}}}}}}},"tocMapping":{"t0":"toc.yaml"}},"yfmConfig":{}}"`;
@@ -279,7 +279,8 @@ exports[`Allow load custom resources > md2md with custom resources > filelist 1`
279
279
  "index.yaml",
280
280
  "page.md",
281
281
  "project/config.md",
282
- "toc.yaml"
282
+ "toc.yaml",
283
+ "yfm-build-manifest.json"
283
284
  ]"
284
285
  `;
285
286
 
@@ -360,3 +361,5 @@ items:
360
361
  path: toc.yaml
361
362
  "
362
363
  `;
364
+
365
+ exports[`Allow load custom resources > md2md with custom resources 6`] = `"{"redirects":{},"fileTrie":{"trie":{"index":{"file":{"ext":".yaml","toc":"t0"}},"page":{"file":{"ext":".md","toc":"t0"}},"project":{"children":{"config":{"file":{"ext":".md","toc":"t0"}}}}},"tocMapping":{"t0":"toc.yaml"}},"yfmConfig":{"resources":{"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"]}}}"`;
@@ -110,7 +110,8 @@ exports[`Allow load custom resources > md2md with metadata > filelist 1`] = `
110
110
  "index.yaml",
111
111
  "page.md",
112
112
  "project/config.md",
113
- "toc.yaml"
113
+ "toc.yaml",
114
+ "yfm-build-manifest.json"
114
115
  ]"
115
116
  `;
116
117
 
@@ -185,3 +186,5 @@ items:
185
186
  path: toc.yaml
186
187
  "
187
188
  `;
189
+
190
+ exports[`Allow load custom resources > md2md with metadata 5`] = `"{"redirects":{},"fileTrie":{"trie":{"index":{"file":{"ext":".yaml","toc":"t0"}},"page":{"file":{"ext":".md","toc":"t0"}},"project":{"children":{"config":{"file":{"ext":".md","toc":"t0"}}}}},"tocMapping":{"t0":"toc.yaml"}},"yfmConfig":{}}"`;
@@ -24,7 +24,8 @@ exports[`Preprocess > HashIncludes=true,Autotitles=false > filelist 1`] = `
24
24
  "level1/toc.yaml",
25
25
  "mermaid.md",
26
26
  "sub/folder/item-1.md",
27
- "toc.yaml"
27
+ "toc.yaml",
28
+ "yfm-build-manifest.json"
28
29
  ]"
29
30
  `;
30
31
 
@@ -472,6 +473,8 @@ path: toc.yaml
472
473
  "
473
474
  `;
474
475
 
476
+ exports[`Preprocess > HashIncludes=true,Autotitles=false 22`] = `"{"redirects":{},"fileTrie":{"trie":{"1":{"file":{"ext":".md","toc":"t1"}},"included-item":{"file":{"ext":".md","toc":"t1"}},"sub":{"children":{"folder":{"children":{"item-1":{"file":{"ext":".md","toc":"t1"}}}}}},"mermaid":{"file":{"ext":".md","toc":"t1"}},"latex":{"file":{"ext":".md","toc":"t1"}},"images":{"file":{"ext":".md","toc":"t1"}},"autotitle":{"file":{"ext":".md","toc":"t1"}},"includes":{"file":{"ext":".md","toc":"t1"},"children":{"level11":{"file":{"ext":".md","toc":"t1"}}}},"level0":{"file":{"ext":".md","toc":"t1"}},"level1":{"children":{"level1":{"file":{"ext":".md","toc":"t0"}},"level2":{"children":{"level2":{"file":{"ext":".md","toc":"t0"}}}}}}},"tocMapping":{"t0":"level1/toc.yaml","t1":"toc.yaml"}},"yfmConfig":{"allowHtml":true}}"`;
477
+
475
478
  exports[`Preprocess > HashIncludes=true,Autotitles=true > filelist 1`] = `
476
479
  "[
477
480
  ".yfm",
@@ -496,7 +499,8 @@ exports[`Preprocess > HashIncludes=true,Autotitles=true > filelist 1`] = `
496
499
  "level1/toc.yaml",
497
500
  "mermaid.md",
498
501
  "sub/folder/item-1.md",
499
- "toc.yaml"
502
+ "toc.yaml",
503
+ "yfm-build-manifest.json"
500
504
  ]"
501
505
  `;
502
506
 
@@ -944,6 +948,8 @@ path: toc.yaml
944
948
  "
945
949
  `;
946
950
 
951
+ exports[`Preprocess > HashIncludes=true,Autotitles=true 22`] = `"{"redirects":{},"fileTrie":{"trie":{"1":{"file":{"ext":".md","toc":"t1"}},"included-item":{"file":{"ext":".md","toc":"t1"}},"sub":{"children":{"folder":{"children":{"item-1":{"file":{"ext":".md","toc":"t1"}}}}}},"mermaid":{"file":{"ext":".md","toc":"t1"}},"latex":{"file":{"ext":".md","toc":"t1"}},"images":{"file":{"ext":".md","toc":"t1"}},"autotitle":{"file":{"ext":".md","toc":"t1"}},"includes":{"file":{"ext":".md","toc":"t1"},"children":{"level11":{"file":{"ext":".md","toc":"t1"}}}},"level0":{"file":{"ext":".md","toc":"t1"}},"level1":{"children":{"level1":{"file":{"ext":".md","toc":"t0"}},"level2":{"children":{"level2":{"file":{"ext":".md","toc":"t0"}}}}}}},"tocMapping":{"t0":"level1/toc.yaml","t1":"toc.yaml"}},"yfmConfig":{"allowHtml":true}}"`;
952
+
947
953
  exports[`Preprocess > HashIncludes=true,Autotitles=true,Svg=true > filelist 1`] = `
948
954
  "[
949
955
  ".yfm",
@@ -968,7 +974,8 @@ exports[`Preprocess > HashIncludes=true,Autotitles=true,Svg=true > filelist 1`]
968
974
  "level1/toc.yaml",
969
975
  "mermaid.md",
970
976
  "sub/folder/item-1.md",
971
- "toc.yaml"
977
+ "toc.yaml",
978
+ "yfm-build-manifest.json"
972
979
  ]"
973
980
  `;
974
981
 
@@ -1415,3 +1422,5 @@ exports[`Preprocess > HashIncludes=true,Autotitles=true,Svg=true 21`] = `
1415
1422
  path: toc.yaml
1416
1423
  "
1417
1424
  `;
1425
+
1426
+ exports[`Preprocess > HashIncludes=true,Autotitles=true,Svg=true 22`] = `"{"redirects":{},"fileTrie":{"trie":{"1":{"file":{"ext":".md","toc":"t1"}},"included-item":{"file":{"ext":".md","toc":"t1"}},"sub":{"children":{"folder":{"children":{"item-1":{"file":{"ext":".md","toc":"t1"}}}}}},"mermaid":{"file":{"ext":".md","toc":"t1"}},"latex":{"file":{"ext":".md","toc":"t1"}},"images":{"file":{"ext":".md","toc":"t1"}},"autotitle":{"file":{"ext":".md","toc":"t1"}},"includes":{"file":{"ext":".md","toc":"t1"},"children":{"level11":{"file":{"ext":".md","toc":"t1"}}}},"level0":{"file":{"ext":".md","toc":"t1"}},"level1":{"children":{"level1":{"file":{"ext":".md","toc":"t0"}},"level2":{"children":{"level2":{"file":{"ext":".md","toc":"t0"}}}}}}},"tocMapping":{"t0":"level1/toc.yaml","t1":"toc.yaml"}},"yfmConfig":{"allowHtml":true}}"`;
@@ -33,7 +33,8 @@ exports[`Regression > internal > filelist 1`] = `
33
33
  "openapi/test-controller/index.md",
34
34
  "redirects.yaml",
35
35
  "sub/folder/item-1.md",
36
- "toc.yaml"
36
+ "toc.yaml",
37
+ "yfm-build-manifest.json"
37
38
  ]"
38
39
  `;
39
40
 
@@ -66,7 +67,8 @@ exports[`Regression > internal > filelist 2`] = `
66
67
  "openapi/test-controller/getWithPayloadResponse.html",
67
68
  "openapi/test-controller/index.html",
68
69
  "sub/folder/item-1.html",
69
- "toc.js"
70
+ "toc.js",
71
+ "yfm-build-manifest.json"
70
72
  ]"
71
73
  `;
72
74
 
@@ -679,13 +681,15 @@ path: toc.yaml
679
681
  "
680
682
  `;
681
683
 
682
- exports[`Regression > internal 28`] = `
684
+ exports[`Regression > internal 28`] = `"{"redirects":{"files":[{"from":"c.md","to":"d.md"}],"common":[{"from":"./a.md","to":"./b.md"}]},"fileTrie":{"trie":{"1":{"file":{"ext":".md","toc":"t1"}},"openapi":{"children":{"index":{"file":{"ext":".md","toc":"t1"}},"test-controller":{"children":{"index":{"file":{"ext":".md","toc":"t1"}},"getWithPayloadResponse":{"file":{"ext":".md","toc":"t1"}}}}}},"index":{"file":{"ext":".yaml","toc":"t1"}},"merge":{"children":{"merged":{"file":{"ext":".md","toc":"t0"}},"merge":{"file":{"ext":".md","toc":"t0"}}}},"included-item":{"file":{"ext":".md","toc":"t1"}},"sub":{"children":{"folder":{"children":{"item-1":{"file":{"ext":".md","toc":"t1"}}}}}},"mermaid":{"file":{"ext":".md","toc":"t1"}},"latex":{"file":{"ext":".md","toc":"t1"}},"images":{"file":{"ext":".md","toc":"t1"}},"autotitle":{"file":{"ext":".md","toc":"t1"}},"includes":{"file":{"ext":".md","toc":"t1"}},"generic":{"children":{"1":{"file":{"ext":".md","toc":"t1"}},"2":{"file":{"ext":".md","toc":"t1"}},"3":{"file":{"ext":".md","toc":"t1"}},"Sub notes":{"children":{"1":{"file":{"ext":".md","toc":"t1"}},"2":{"file":{"ext":".md","toc":"t1"}}}}}}},"tocMapping":{"t0":"merge/toc.yaml","t1":"toc.yaml"}},"yfmConfig":{"preprocess":{"mergeAutotitles":true}}}"`;
685
+
686
+ exports[`Regression > internal 29`] = `
683
687
  "preprocess:
684
688
  mergeAutotitles: true
685
689
  "
686
690
  `;
687
691
 
688
- exports[`Regression > internal 29`] = `
692
+ exports[`Regression > internal 30`] = `
689
693
  "<!DOCTYPE html>
690
694
  <html lang="ru" dir="ltr">
691
695
  <head>
@@ -713,7 +717,7 @@ exports[`Regression > internal 29`] = `
713
717
  </html>"
714
718
  `;
715
719
 
716
- exports[`Regression > internal 30`] = `
720
+ exports[`Regression > internal 31`] = `
717
721
  "<!DOCTYPE html>
718
722
  <html lang="ru" dir="ltr">
719
723
  <head>
@@ -741,7 +745,7 @@ exports[`Regression > internal 30`] = `
741
745
  </html>"
742
746
  `;
743
747
 
744
- exports[`Regression > internal 31`] = `
748
+ exports[`Regression > internal 32`] = `
745
749
  "<!DOCTYPE html>
746
750
  <html lang="ru" dir="ltr">
747
751
  <head>
@@ -769,7 +773,7 @@ exports[`Regression > internal 31`] = `
769
773
  </html>"
770
774
  `;
771
775
 
772
- exports[`Regression > internal 32`] = `
776
+ exports[`Regression > internal 33`] = `
773
777
  "<!DOCTYPE html>
774
778
  <html lang="ru" dir="ltr">
775
779
  <head>
@@ -797,7 +801,7 @@ exports[`Regression > internal 32`] = `
797
801
  </html>"
798
802
  `;
799
803
 
800
- exports[`Regression > internal 33`] = `
804
+ exports[`Regression > internal 34`] = `
801
805
  "<!DOCTYPE html>
802
806
  <html lang="ru" dir="ltr">
803
807
  <head>
@@ -825,7 +829,7 @@ exports[`Regression > internal 33`] = `
825
829
  </html>"
826
830
  `;
827
831
 
828
- exports[`Regression > internal 34`] = `
832
+ exports[`Regression > internal 35`] = `
829
833
  "<!DOCTYPE html>
830
834
  <html lang="ru" dir="ltr">
831
835
  <head>
@@ -853,7 +857,7 @@ exports[`Regression > internal 34`] = `
853
857
  </html>"
854
858
  `;
855
859
 
856
- exports[`Regression > internal 35`] = `
860
+ exports[`Regression > internal 36`] = `
857
861
  "<!DOCTYPE html>
858
862
  <html lang="ru" dir="ltr">
859
863
  <head>
@@ -881,7 +885,7 @@ exports[`Regression > internal 35`] = `
881
885
  </html>"
882
886
  `;
883
887
 
884
- exports[`Regression > internal 36`] = `
888
+ exports[`Regression > internal 37`] = `
885
889
  "<!DOCTYPE html>
886
890
  <html lang="ru" dir="ltr">
887
891
  <head>
@@ -909,7 +913,7 @@ exports[`Regression > internal 36`] = `
909
913
  </html>"
910
914
  `;
911
915
 
912
- exports[`Regression > internal 37`] = `
916
+ exports[`Regression > internal 38`] = `
913
917
  "<!DOCTYPE html>
914
918
  <html lang="ru" dir="ltr">
915
919
  <head>
@@ -937,7 +941,7 @@ exports[`Regression > internal 37`] = `
937
941
  </html>"
938
942
  `;
939
943
 
940
- exports[`Regression > internal 38`] = `
944
+ exports[`Regression > internal 39`] = `
941
945
  "<!DOCTYPE html>
942
946
  <html lang="ru" dir="ltr">
943
947
  <head>
@@ -965,7 +969,7 @@ exports[`Regression > internal 38`] = `
965
969
  </html>"
966
970
  `;
967
971
 
968
- exports[`Regression > internal 39`] = `
972
+ exports[`Regression > internal 40`] = `
969
973
  "<!DOCTYPE html>
970
974
  <html lang="ru" dir="ltr">
971
975
  <head>
@@ -993,7 +997,7 @@ exports[`Regression > internal 39`] = `
993
997
  </html>"
994
998
  `;
995
999
 
996
- exports[`Regression > internal 40`] = `
1000
+ exports[`Regression > internal 41`] = `
997
1001
  "<!DOCTYPE html>
998
1002
  <html lang="ru" dir="ltr">
999
1003
  <head>
@@ -1021,7 +1025,7 @@ exports[`Regression > internal 40`] = `
1021
1025
  </html>"
1022
1026
  `;
1023
1027
 
1024
- exports[`Regression > internal 41`] = `
1028
+ exports[`Regression > internal 42`] = `
1025
1029
  "<!DOCTYPE html>
1026
1030
  <html lang="ru" dir="ltr">
1027
1031
  <head>
@@ -1049,7 +1053,7 @@ exports[`Regression > internal 41`] = `
1049
1053
  </html>"
1050
1054
  `;
1051
1055
 
1052
- exports[`Regression > internal 42`] = `
1056
+ exports[`Regression > internal 43`] = `
1053
1057
  "<!DOCTYPE html>
1054
1058
  <html lang="ru" dir="ltr">
1055
1059
  <head>
@@ -1077,7 +1081,7 @@ exports[`Regression > internal 42`] = `
1077
1081
  </html>"
1078
1082
  `;
1079
1083
 
1080
- exports[`Regression > internal 43`] = `
1084
+ exports[`Regression > internal 44`] = `
1081
1085
  "<!DOCTYPE html>
1082
1086
  <html lang="ru" dir="ltr">
1083
1087
  <head>
@@ -1105,9 +1109,9 @@ exports[`Regression > internal 43`] = `
1105
1109
  </html>"
1106
1110
  `;
1107
1111
 
1108
- exports[`Regression > internal 44`] = `"window.__DATA__.data.toc = {"items":[{"name":"Use merged","href":"merge/merge.html","id":"UUID"},{"name":"Multitoc item","href":"1.html","id":"UUID"},{"name":"Merged item","href":"merge/merged.html","id":"UUID"}],"path":"merge/toc.yaml","id":"UUID"};"`;
1112
+ exports[`Regression > internal 45`] = `"window.__DATA__.data.toc = {"items":[{"name":"Use merged","href":"merge/merge.html","id":"UUID"},{"name":"Multitoc item","href":"1.html","id":"UUID"},{"name":"Merged item","href":"merge/merged.html","id":"UUID"}],"path":"merge/toc.yaml","id":"UUID"};"`;
1109
1113
 
1110
- exports[`Regression > internal 45`] = `
1114
+ exports[`Regression > internal 46`] = `
1111
1115
  "<!DOCTYPE html>
1112
1116
  <html lang="ru" dir="ltr">
1113
1117
  <head>
@@ -1135,7 +1139,7 @@ exports[`Regression > internal 45`] = `
1135
1139
  </html>"
1136
1140
  `;
1137
1141
 
1138
- exports[`Regression > internal 46`] = `
1142
+ exports[`Regression > internal 47`] = `
1139
1143
  "<!DOCTYPE html>
1140
1144
  <html lang="ru" dir="ltr">
1141
1145
  <head>
@@ -1165,7 +1169,7 @@ exports[`Regression > internal 46`] = `
1165
1169
  </html>"
1166
1170
  `;
1167
1171
 
1168
- exports[`Regression > internal 47`] = `
1172
+ exports[`Regression > internal 48`] = `
1169
1173
  "<!DOCTYPE html>
1170
1174
  <html lang="ru" dir="ltr">
1171
1175
  <head>
@@ -1195,7 +1199,7 @@ exports[`Regression > internal 47`] = `
1195
1199
  </html>"
1196
1200
  `;
1197
1201
 
1198
- exports[`Regression > internal 48`] = `
1202
+ exports[`Regression > internal 49`] = `
1199
1203
  "<!DOCTYPE html>
1200
1204
  <html lang="ru" dir="ltr">
1201
1205
  <head>
@@ -1223,7 +1227,7 @@ exports[`Regression > internal 48`] = `
1223
1227
  </html>"
1224
1228
  `;
1225
1229
 
1226
- exports[`Regression > internal 49`] = `
1230
+ exports[`Regression > internal 50`] = `
1227
1231
  "<!DOCTYPE html>
1228
1232
  <html lang="ru" dir="ltr">
1229
1233
  <head>
@@ -1251,4 +1255,6 @@ exports[`Regression > internal 49`] = `
1251
1255
  </html>"
1252
1256
  `;
1253
1257
 
1254
- exports[`Regression > internal 50`] = `"window.__DATA__.data.toc = {"items":[{"name":"Verbose root (index.yaml) will be transformed to index.html","href":"index.html","id":"UUID"},{"name":"Root will be transformed to index.html","href":"index.html","id":"UUID"},{"name":"Md item with not_var syntax","href":"1.html","id":"UUID"},{"name":"Md item named without extension","href":"1.html","id":"UUID"},{"name":"Item with empty href","id":"UUID"},{"name":"Multitoc item","href":"merge/merged.html","id":"UUID"},{"name":"Included Item","href":"included-item.html","id":"UUID"},{"name":"Named include (items is Object here - this is not an error)","items":[{"name":"Item 1","href":"sub/folder/item-1.html","id":"UUID"}],"id":"UUID"},{"href":"mermaid.html","name":"Mermaid usage","id":"UUID"},{"name":"Latex usage","href":"latex.html","id":"UUID"},{"name":"Images","href":"images.html","id":"UUID"},{"name":"Autotitle","href":"autotitle.html","id":"UUID"},{"name":"includes","href":"includes.html","id":"UUID"},{"name":"generic","items":[{"name":"Note 1","href":"generic/1.html","id":"UUID"},{"name":"Note 1","href":"generic/2.html","id":"UUID"},{"name":"3","href":"generic/3.html","id":"UUID"},{"name":"Sub notes","items":[{"name":"Sub note 1","href":"generic/Sub notes/1.html","id":"UUID"},{"name":"Sub note 2","href":"generic/Sub notes/2.html","id":"UUID"}],"id":"UUID"}],"id":"UUID"},{"name":"openapi","items":[{"name":"Overview","href":"openapi/index.html","id":"UUID"},{"name":"test-controller","items":[{"name":"Overview","href":"openapi/test-controller/index.html","id":"UUID"},{"href":"openapi/test-controller/getWithPayloadResponse.html","name":"Simple get operation. тест новой верстки 3","id":"UUID"}],"id":"UUID"}],"id":"UUID"}],"path":"toc.yaml","id":"UUID"};"`;
1258
+ exports[`Regression > internal 51`] = `"window.__DATA__.data.toc = {"items":[{"name":"Verbose root (index.yaml) will be transformed to index.html","href":"index.html","id":"UUID"},{"name":"Root will be transformed to index.html","href":"index.html","id":"UUID"},{"name":"Md item with not_var syntax","href":"1.html","id":"UUID"},{"name":"Md item named without extension","href":"1.html","id":"UUID"},{"name":"Item with empty href","id":"UUID"},{"name":"Multitoc item","href":"merge/merged.html","id":"UUID"},{"name":"Included Item","href":"included-item.html","id":"UUID"},{"name":"Named include (items is Object here - this is not an error)","items":[{"name":"Item 1","href":"sub/folder/item-1.html","id":"UUID"}],"id":"UUID"},{"href":"mermaid.html","name":"Mermaid usage","id":"UUID"},{"name":"Latex usage","href":"latex.html","id":"UUID"},{"name":"Images","href":"images.html","id":"UUID"},{"name":"Autotitle","href":"autotitle.html","id":"UUID"},{"name":"includes","href":"includes.html","id":"UUID"},{"name":"generic","items":[{"name":"Note 1","href":"generic/1.html","id":"UUID"},{"name":"Note 1","href":"generic/2.html","id":"UUID"},{"name":"3","href":"generic/3.html","id":"UUID"},{"name":"Sub notes","items":[{"name":"Sub note 1","href":"generic/Sub notes/1.html","id":"UUID"},{"name":"Sub note 2","href":"generic/Sub notes/2.html","id":"UUID"}],"id":"UUID"}],"id":"UUID"},{"name":"openapi","items":[{"name":"Overview","href":"openapi/index.html","id":"UUID"},{"name":"test-controller","items":[{"name":"Overview","href":"openapi/test-controller/index.html","id":"UUID"},{"href":"openapi/test-controller/getWithPayloadResponse.html","name":"Simple get operation. тест новой верстки 3","id":"UUID"}],"id":"UUID"}],"id":"UUID"}],"path":"toc.yaml","id":"UUID"};"`;
1259
+
1260
+ exports[`Regression > internal 52`] = `"{"redirects":{"files":[{"from":"c.md","to":"d.md"}],"common":[{"from":"./a.md","to":"./b.md"}]},"fileTrie":{"trie":{"1":{"file":{"ext":".md","toc":"t1"}},"openapi":{"children":{"index":{"file":{"ext":".md","toc":"t1"}},"test-controller":{"children":{"index":{"file":{"ext":".md","toc":"t1"}},"getWithPayloadResponse":{"file":{"ext":".md","toc":"t1"}}}}}},"index":{"file":{"ext":".yaml","toc":"t1"}},"merge":{"children":{"merged":{"file":{"ext":".md","toc":"t0"}},"merge":{"file":{"ext":".md","toc":"t0"}}}},"included-item":{"file":{"ext":".md","toc":"t1"}},"sub":{"children":{"folder":{"children":{"item-1":{"file":{"ext":".md","toc":"t1"}}}}}},"mermaid":{"file":{"ext":".md","toc":"t1"}},"latex":{"file":{"ext":".md","toc":"t1"}},"images":{"file":{"ext":".md","toc":"t1"}},"autotitle":{"file":{"ext":".md","toc":"t1"}},"includes":{"file":{"ext":".md","toc":"t1"}},"generic":{"children":{"1":{"file":{"ext":".md","toc":"t1"}},"2":{"file":{"ext":".md","toc":"t1"}},"3":{"file":{"ext":".md","toc":"t1"}},"Sub notes":{"children":{"1":{"file":{"ext":".md","toc":"t1"}},"2":{"file":{"ext":".md","toc":"t1"}}}}}}},"tocMapping":{"t0":"merge/toc.yaml","t1":"toc.yaml"}},"yfmConfig":{"preprocess":{"mergeAutotitles":true}}}"`;
@@ -4,7 +4,8 @@ exports[`Restricted access > Nested restricted access > filelist 1`] = `
4
4
  "[
5
5
  "plugins/index.md",
6
6
  "project/index.md",
7
- "toc.yaml"
7
+ "toc.yaml",
8
+ "yfm-build-manifest.json"
8
9
  ]"
9
10
  `;
10
11
 
@@ -60,12 +61,15 @@ path: toc.yaml
60
61
  "
61
62
  `;
62
63
 
64
+ exports[`Restricted access > Nested restricted access 4`] = `"{"redirects":{},"fileTrie":{"trie":{"plugins":{"children":{"index":{"file":{"ext":".md","toc":"t0"}}}},"project":{"children":{"index":{"file":{"ext":".md","toc":"t0"}}}}},"tocMapping":{"t0":"toc.yaml"}},"yfmConfig":{}}"`;
65
+
63
66
  exports[`Restricted access > Nested toc restricted access > filelist 1`] = `
64
67
  "[
65
68
  "a1.md",
66
69
  "folder1/a1.md",
67
70
  "folder1/folder2/a1.md",
68
- "toc.yaml"
71
+ "toc.yaml",
72
+ "yfm-build-manifest.json"
69
73
  ]"
70
74
  `;
71
75
 
@@ -137,6 +141,8 @@ path: toc.yaml
137
141
  "
138
142
  `;
139
143
 
144
+ exports[`Restricted access > Nested toc restricted access 5`] = `"{"redirects":{},"fileTrie":{"trie":{"a1":{"file":{"ext":".md","toc":"t0"}},"folder1":{"children":{"a1":{"file":{"ext":".md","toc":"t0"}},"folder2":{"children":{"a1":{"file":{"ext":".md","toc":"t0"}}}}}}},"tocMapping":{"t0":"toc.yaml"}},"yfmConfig":{}}"`;
145
+
140
146
  exports[`Restricted access > Simple restricted access > filelist 1`] = `
141
147
  "[
142
148
  "index.md",
@@ -144,7 +150,8 @@ exports[`Restricted access > Simple restricted access > filelist 1`] = `
144
150
  "plugins/index2.md",
145
151
  "plugins/index3.md",
146
152
  "plugins/index4.md",
147
- "toc.yaml"
153
+ "toc.yaml",
154
+ "yfm-build-manifest.json"
148
155
  ]"
149
156
  `;
150
157
 
@@ -242,3 +249,5 @@ items:
242
249
  path: toc.yaml
243
250
  "
244
251
  `;
252
+
253
+ exports[`Restricted access > Simple restricted access 7`] = `"{"redirects":{},"fileTrie":{"trie":{"index":{"file":{"ext":".md","toc":"t0"}},"plugins":{"children":{"index":{"file":{"ext":".md","toc":"t0"}},"index2":{"file":{"ext":".md","toc":"t0"}},"index3":{"file":{"ext":".md","toc":"t0"}},"index4":{"file":{"ext":".md","toc":"t0"}}}}},"tocMapping":{"t0":"toc.yaml"}},"yfmConfig":{}}"`;
@@ -7,7 +7,8 @@ exports[`Translate command > build translated md files and remove no-translate d
7
7
  "openapi/index.md",
8
8
  "openapi/test-controller/getWithPayloadResponse.md",
9
9
  "openapi/test-controller/index.md",
10
- "toc.yaml"
10
+ "toc.yaml",
11
+ "yfm-build-manifest.json"
11
12
  ]"
12
13
  `;
13
14
 
@@ -311,6 +312,8 @@ path: toc.yaml
311
312
  "
312
313
  `;
313
314
 
315
+ exports[`Translate command > build translated md files and remove no-translate directives 7`] = `"{"redirects":{},"fileTrie":{"trie":{"openapi":{"children":{"index":{"file":{"ext":".md","toc":"t0"}},"test-controller":{"children":{"index":{"file":{"ext":".md","toc":"t0"}},"getWithPayloadResponse":{"file":{"ext":".md","toc":"t0"}}}}}},"index":{"file":{"ext":".md","toc":"t0"}},"no-translate":{"file":{"ext":".md","toc":"t0"}}},"tocMapping":{"t0":"toc.yaml"}},"yfmConfig":{}}"`;
316
+
314
317
  exports[`Translate command > build translated static files and remove no-translate directives > filelist 1`] = `
315
318
  "[
316
319
  "index.md",
@@ -318,7 +321,8 @@ exports[`Translate command > build translated static files and remove no-transla
318
321
  "openapi/index.md",
319
322
  "openapi/test-controller/getWithPayloadResponse.md",
320
323
  "openapi/test-controller/index.md",
321
- "toc.yaml"
324
+ "toc.yaml",
325
+ "yfm-build-manifest.json"
322
326
  ]"
323
327
  `;
324
328
 
@@ -622,6 +626,8 @@ path: toc.yaml
622
626
  "
623
627
  `;
624
628
 
629
+ exports[`Translate command > build translated static files and remove no-translate directives 7`] = `"{"redirects":{},"fileTrie":{"trie":{"openapi":{"children":{"index":{"file":{"ext":".md","toc":"t0"}},"test-controller":{"children":{"index":{"file":{"ext":".md","toc":"t0"}},"getWithPayloadResponse":{"file":{"ext":".md","toc":"t0"}}}}}},"index":{"file":{"ext":".md","toc":"t0"}},"no-translate":{"file":{"ext":".md","toc":"t0"}}},"tocMapping":{"t0":"toc.yaml"}},"yfmConfig":{}}"`;
630
+
625
631
  exports[`Translate command > do not filter files on extract > filelist 1`] = `
626
632
  "[
627
633
  "es/_includes/test.md.skl",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diplodoc/cli-tests",
3
- "version": "0.0.0-rc-rebase-links-in-autotitles-17972680369",
3
+ "version": "0.0.0-rc-fix-manifest-18002055289",
4
4
  "bin": {
5
5
  "diplodoc-cli-test": "bin.mjs"
6
6
  },