@diplodoc/cli-tests 0.0.0-rc-fix-translate-openapi-includer-202507171205 → 0.0.0-rc-resolve-codeblock-202509151421
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.
- package/e2e/__snapshots__/bundles.spec.ts.snap +168 -0
- package/e2e/__snapshots__/generate-map.spec.ts.snap +345 -0
- package/e2e/__snapshots__/include-toc.test.ts.snap +42 -0
- package/e2e/__snapshots__/load-custom-resources.spec.ts.snap +31 -117
- package/e2e/__snapshots__/metadata.spec.ts.snap +18 -51
- package/e2e/__snapshots__/plugin-corner-cases.spec.ts.snap +0 -0
- package/e2e/__snapshots__/preprocess.test.ts.snap +581 -0
- package/e2e/__snapshots__/regression.test.ts.snap +151 -268
- package/e2e/__snapshots__/restricted-access.test.ts.snap +20 -0
- package/e2e/__snapshots__/rtl.spec.ts.snap +6 -102
- package/e2e/__snapshots__/search.test.ts.snap +21 -36
- package/e2e/__snapshots__/single-page.spec.ts.snap +157 -0
- package/e2e/__snapshots__/skip-html-extension.spec.ts.snap +152 -0
- package/e2e/__snapshots__/translation.spec.ts.snap +469 -1186
- package/e2e/bundles.spec.ts +15 -0
- package/e2e/errors.spec.ts +33 -2
- package/e2e/generate-map.spec.ts +9 -3
- package/e2e/preprocess.test.ts +33 -0
- package/e2e/redirects-validation.spec.ts +61 -0
- package/e2e/search.test.ts +1 -1
- package/e2e/single-page.spec.ts +22 -0
- package/e2e/skip-html-extension.spec.ts +15 -0
- package/e2e/translation.spec.ts +21 -2
- package/fixtures/cliAdapter.ts +23 -0
- package/fixtures/globals.d.ts +4 -0
- package/fixtures/runners/binary.ts +4 -3
- package/fixtures/runners/types.ts +1 -2
- package/fixtures/utils/file.ts +53 -10
- package/fixtures/utils/test.ts +17 -8
- package/mocks/bundles/input/.yfm +13 -0
- package/mocks/bundles/input/index.md +12 -0
- package/mocks/bundles/input/page1.md +3 -0
- package/mocks/bundles/input/page2.md +5 -0
- package/mocks/bundles/input/toc.yaml +9 -0
- package/mocks/docs-viewer-interface/input/.yfm +6 -0
- package/mocks/docs-viewer-interface/input/index.md +3 -0
- package/mocks/docs-viewer-interface/input/toc.yaml +5 -0
- package/mocks/errors/extract-filtered-link/input/filtered.md +1 -0
- package/mocks/errors/extract-filtered-link/input/filtered2.md +0 -0
- package/mocks/errors/extract-filtered-link/input/index.md +7 -0
- package/mocks/errors/extract-filtered-link/input/toc.yaml +1 -0
- package/mocks/load-custom-resources/md2html-with-resources/input/page.md +9 -2
- package/mocks/load-custom-resources/md2md-with-resources/input/page.md +9 -2
- package/mocks/load-custom-resources/single-page-with-resources/input/page.md +9 -2
- package/mocks/metadata/md2html-with-metadata/input/page.md +8 -1
- package/mocks/metadata/md2md-with-metadata/input/page.md +7 -0
- package/mocks/preprocess/input/.yfm +1 -0
- package/mocks/preprocess/input/1.md +29 -0
- package/mocks/preprocess/input/_assets/1.png +0 -0
- package/mocks/preprocess/input/_assets/1.svg +0 -0
- package/mocks/preprocess/input/autotitle.md +23 -0
- package/mocks/preprocess/input/commented-include.md +3 -0
- package/mocks/preprocess/input/images.md +5 -0
- package/mocks/preprocess/input/included-item.md +12 -0
- package/mocks/preprocess/input/includes/deep.md +1 -0
- package/mocks/preprocess/input/includes/deepWithIndent.md +6 -0
- package/mocks/preprocess/input/includes/presets.yaml +2 -0
- package/mocks/preprocess/input/includes/sub/user.md +1 -0
- package/mocks/preprocess/input/includes/sub/userWithIndent.md +5 -0
- package/mocks/preprocess/input/includes/test.md +1 -0
- package/mocks/preprocess/input/includes/user.md +1 -0
- package/mocks/preprocess/input/includes.md +18 -0
- package/mocks/preprocess/input/latex.md +3 -0
- package/mocks/preprocess/input/mermaid.md +13 -0
- package/mocks/preprocess/input/presets.yaml +8 -0
- package/mocks/preprocess/input/sub/folder/item-1.md +7 -0
- package/mocks/preprocess/input/sub/toc.yaml +5 -0
- package/mocks/preprocess/input/toc-i.yaml +3 -0
- package/mocks/preprocess/input/toc.yaml +16 -0
- package/mocks/redirects-validation/extensions-deprecation/input/blah.md +0 -0
- package/mocks/redirects-validation/extensions-deprecation/input/redirects.yaml +5 -0
- package/mocks/redirects-validation/extensions-deprecation/input/toc.yaml +4 -0
- package/mocks/redirects-validation/invalid-regex/input/blah.md +0 -0
- package/mocks/redirects-validation/invalid-regex/input/redirects.yaml +3 -0
- package/mocks/redirects-validation/invalid-regex/input/toc.yaml +4 -0
- package/mocks/redirects-validation/malformed-redirect/input/blah.md +0 -0
- package/mocks/redirects-validation/malformed-redirect/input/redirects.yaml +6 -0
- package/mocks/redirects-validation/malformed-redirect/input/toc.yaml +4 -0
- package/mocks/redirects-validation/same-path/input/blah.md +0 -0
- package/mocks/redirects-validation/same-path/input/redirects.yaml +3 -0
- package/mocks/redirects-validation/same-path/input/toc.yaml +4 -0
- package/mocks/redirects-validation/unparseable/input/blah.md +0 -0
- package/mocks/redirects-validation/unparseable/input/redirects.yaml +11 -0
- package/mocks/redirects-validation/unparseable/input/toc.yaml +4 -0
- package/mocks/regression/input/.yfm +2 -0
- package/mocks/regression/input/autotitle.md +3 -0
- package/mocks/regression/input/images.md +2 -0
- package/mocks/regression/input/includes/deep.md +2 -0
- package/mocks/regression/input/includes/presets.yaml +1 -0
- package/mocks/regression/input/includes/tools.md +1 -0
- package/mocks/regression/input/includes.md +5 -0
- package/mocks/regression/input/merge/merge.md +2 -0
- package/mocks/regression/input/merge/presets.yaml +1 -0
- package/mocks/regression/input/merge/toc.yaml +2 -0
- package/mocks/regression/input/presets.yaml +1 -0
- package/mocks/regression/input/toc.yaml +2 -0
- package/mocks/search/input/.yfm +12 -0
- package/mocks/single-page/input/ru/index.yaml +9 -0
- package/mocks/single-page/input/ru/page.md +14 -0
- package/mocks/single-page/input/ru/project/config.md +1 -0
- package/mocks/single-page/input/ru/toc.yaml +7 -0
- package/mocks/skip-html-extension/input/.yfm +1 -0
- package/mocks/skip-html-extension/input/folder/index.md +1 -0
- package/mocks/skip-html-extension/input/index-test-html/index.md +4 -0
- package/mocks/skip-html-extension/input/index.md +6 -0
- package/mocks/skip-html-extension/input/page1.md +3 -0
- package/mocks/skip-html-extension/input/page2.md +6 -0
- package/mocks/skip-html-extension/input/toc.yaml +13 -0
- package/mocks/translation/dir-files/input/.yfm +6 -0
- package/mocks/translation/dir-files/input/ru/aboba.md +2 -4
- package/mocks/translation/dir-files/input/ru/nested/a1.md +3 -0
- package/mocks/translation/dir-files/input/ru/nested/folder1/a1.md +3 -0
- package/mocks/translation/dir-files/input/ru/nested/folder1/toc-i.yaml +3 -0
- package/mocks/translation/dir-files/input/ru/nested/syntax/base.md +2 -0
- package/mocks/translation/dir-files/input/ru/nested/toc.yaml +1 -0
- package/mocks/translation/dir-files/input/ru/no-var-page.md +3 -0
- package/mocks/translation/dir-files/input/ru/to-be-excluded.md +1 -0
- package/mocks/translation/dir-files/input/ru/toc.yaml +7 -1
- package/mocks/translation/openapi/input/toc.yaml +1 -1
- package/mocks/warning/unreachable-autotitle/input/index.md +1 -0
- package/mocks/warning/unreachable-autotitle/input/link.md +0 -0
- package/mocks/warning/unreachable-autotitle/input/toc.yaml +4 -0
- package/package.json +5 -5
|
@@ -23,6 +23,8 @@ exports[`Include toc > Nested toc inclusions with mixed including modes 2`] = `
|
|
|
23
23
|
metadata:
|
|
24
24
|
- name: generator
|
|
25
25
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
26
|
+
sourcePath: product1/core/article1.md
|
|
27
|
+
vcsPath: product1/core/article1.md
|
|
26
28
|
---
|
|
27
29
|
This is the core content of Article 1.
|
|
28
30
|
|
|
@@ -70,6 +72,8 @@ exports[`Include toc > Nested toc inclusions with mixed including modes 5`] = `
|
|
|
70
72
|
metadata:
|
|
71
73
|
- name: generator
|
|
72
74
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
75
|
+
sourcePath: product2/overlay1/product/article1.md
|
|
76
|
+
vcsPath: product2/overlay1/product/article1.md
|
|
73
77
|
---
|
|
74
78
|
This is the overlay content of Article 1 for product 2.
|
|
75
79
|
|
|
@@ -87,6 +91,8 @@ exports[`Include toc > Nested toc inclusions with mixed including modes 7`] = `
|
|
|
87
91
|
metadata:
|
|
88
92
|
- name: generator
|
|
89
93
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
94
|
+
sourcePath: product2/overlay2/product/article1.md
|
|
95
|
+
vcsPath: product2/overlay2/product/article1.md
|
|
90
96
|
---
|
|
91
97
|
This is the overlay number #2 of Article 1 content for product 2.
|
|
92
98
|
|
|
@@ -104,6 +110,8 @@ exports[`Include toc > Nested toc inclusions with mixed including modes 9`] = `
|
|
|
104
110
|
metadata:
|
|
105
111
|
- name: generator
|
|
106
112
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
113
|
+
sourcePath: product2/core/article1.md
|
|
114
|
+
vcsPath: product2/core/article1.md
|
|
107
115
|
---
|
|
108
116
|
This is the core content of Article 1.
|
|
109
117
|
|
|
@@ -116,6 +124,8 @@ exports[`Include toc > Nested toc inclusions with mixed including modes 10`] = `
|
|
|
116
124
|
metadata:
|
|
117
125
|
- name: generator
|
|
118
126
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
127
|
+
vcsPath: product2/p2.md
|
|
128
|
+
sourcePath: product2/p2.md
|
|
119
129
|
---
|
|
120
130
|
This is the product 2 specific article.
|
|
121
131
|
|
|
@@ -158,6 +168,8 @@ exports[`Include toc > Toc is included in link mode 1`] = `
|
|
|
158
168
|
metadata:
|
|
159
169
|
- name: generator
|
|
160
170
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
171
|
+
vcsPath: a1.md
|
|
172
|
+
sourcePath: a1.md
|
|
161
173
|
---
|
|
162
174
|
This is the /a1.md file content.
|
|
163
175
|
"
|
|
@@ -168,6 +180,8 @@ exports[`Include toc > Toc is included in link mode 2`] = `
|
|
|
168
180
|
metadata:
|
|
169
181
|
- name: generator
|
|
170
182
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
183
|
+
vcsPath: folder1/a1.md
|
|
184
|
+
sourcePath: folder1/a1.md
|
|
171
185
|
---
|
|
172
186
|
This is the /folder1/a1.md file content.
|
|
173
187
|
"
|
|
@@ -178,6 +192,8 @@ exports[`Include toc > Toc is included in link mode 3`] = `
|
|
|
178
192
|
metadata:
|
|
179
193
|
- name: generator
|
|
180
194
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
195
|
+
vcsPath: folder1/folder2/a1.md
|
|
196
|
+
sourcePath: folder1/folder2/a1.md
|
|
181
197
|
---
|
|
182
198
|
This is the /folder1/folder1/a1.md file content.
|
|
183
199
|
"
|
|
@@ -221,6 +237,8 @@ exports[`Include toc > Toc is included inline, not as a new section 2`] = `
|
|
|
221
237
|
metadata:
|
|
222
238
|
- name: generator
|
|
223
239
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
240
|
+
vcsPath: file1.md
|
|
241
|
+
sourcePath: file1.md
|
|
224
242
|
---
|
|
225
243
|
# File 1
|
|
226
244
|
"
|
|
@@ -231,8 +249,10 @@ exports[`Include toc > Toc is included inline, not as a new section 3`] = `
|
|
|
231
249
|
metadata:
|
|
232
250
|
- name: generator
|
|
233
251
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
252
|
+
sourcePath: folder/fileA.md
|
|
234
253
|
title: File A
|
|
235
254
|
description: YFM description
|
|
255
|
+
vcsPath: folder/fileA.md
|
|
236
256
|
---
|
|
237
257
|
# File A
|
|
238
258
|
|
|
@@ -249,6 +269,8 @@ exports[`Include toc > Toc is included inline, not as a new section 4`] = `
|
|
|
249
269
|
metadata:
|
|
250
270
|
- name: generator
|
|
251
271
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
272
|
+
sourcePath: folder/fileB.md
|
|
273
|
+
vcsPath: folder/fileB.md
|
|
252
274
|
---
|
|
253
275
|
# File B
|
|
254
276
|
|
|
@@ -267,6 +289,8 @@ exports[`Include toc > Toc is included inline, not as a new section 5`] = `
|
|
|
267
289
|
metadata:
|
|
268
290
|
- name: generator
|
|
269
291
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
292
|
+
sourcePath: folder/folder/fileC.md
|
|
293
|
+
vcsPath: folder/folder/fileC.md
|
|
270
294
|
---
|
|
271
295
|
# File C
|
|
272
296
|
"
|
|
@@ -277,6 +301,8 @@ exports[`Include toc > Toc is included inline, not as a new section 6`] = `
|
|
|
277
301
|
metadata:
|
|
278
302
|
- name: generator
|
|
279
303
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
304
|
+
vcsPath: fileX.md
|
|
305
|
+
sourcePath: fileX.md
|
|
280
306
|
---
|
|
281
307
|
# File X
|
|
282
308
|
"
|
|
@@ -321,6 +347,8 @@ meta:
|
|
|
321
347
|
metadata:
|
|
322
348
|
- name: generator
|
|
323
349
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
350
|
+
sourcePath: ru/sub/folder/index.yaml
|
|
351
|
+
vcsPath: ru/sub/folder/index.yaml
|
|
324
352
|
"
|
|
325
353
|
`;
|
|
326
354
|
|
|
@@ -346,6 +374,8 @@ exports[`Include toc > Toc with expressions 1`] = `
|
|
|
346
374
|
metadata:
|
|
347
375
|
- name: generator
|
|
348
376
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
377
|
+
vcsPath: a1.md
|
|
378
|
+
sourcePath: a1.md
|
|
349
379
|
---
|
|
350
380
|
This is the /a1.md file content.
|
|
351
381
|
"
|
|
@@ -360,6 +390,8 @@ meta:
|
|
|
360
390
|
- name: generator
|
|
361
391
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
362
392
|
title: Meta A
|
|
393
|
+
vcsPath: index.yaml
|
|
394
|
+
sourcePath: index.yaml
|
|
363
395
|
links:
|
|
364
396
|
- title: A1
|
|
365
397
|
description: A1 desc
|
|
@@ -393,6 +425,8 @@ exports[`Include toc > Toc with generic includer 1`] = `
|
|
|
393
425
|
metadata:
|
|
394
426
|
- name: generator
|
|
395
427
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
428
|
+
vcsPath: test/index.md
|
|
429
|
+
sourcePath: test/index.md
|
|
396
430
|
---
|
|
397
431
|
# H1
|
|
398
432
|
|
|
@@ -406,6 +440,8 @@ exports[`Include toc > Toc with generic includer 2`] = `
|
|
|
406
440
|
metadata:
|
|
407
441
|
- name: generator
|
|
408
442
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
443
|
+
vcsPath: test/sub/sub-1.md
|
|
444
|
+
sourcePath: test/sub/sub-1.md
|
|
409
445
|
---
|
|
410
446
|
# H1
|
|
411
447
|
|
|
@@ -420,6 +456,8 @@ exports[`Include toc > Toc with generic includer 3`] = `
|
|
|
420
456
|
metadata:
|
|
421
457
|
- name: generator
|
|
422
458
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
459
|
+
vcsPath: test/sub/sub-2.md
|
|
460
|
+
sourcePath: test/sub/sub-2.md
|
|
423
461
|
---
|
|
424
462
|
# H1"
|
|
425
463
|
`;
|
|
@@ -429,6 +467,8 @@ exports[`Include toc > Toc with generic includer 4`] = `
|
|
|
429
467
|
metadata:
|
|
430
468
|
- name: generator
|
|
431
469
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
470
|
+
vcsPath: test/sub/sub/sub-3.md
|
|
471
|
+
sourcePath: test/sub/sub/sub-3.md
|
|
432
472
|
---
|
|
433
473
|
# H1"
|
|
434
474
|
`;
|
|
@@ -438,6 +478,8 @@ exports[`Include toc > Toc with generic includer 5`] = `
|
|
|
438
478
|
metadata:
|
|
439
479
|
- name: generator
|
|
440
480
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
481
|
+
vcsPath: test/test.md
|
|
482
|
+
sourcePath: test/test.md
|
|
441
483
|
---
|
|
442
484
|
# H1"
|
|
443
485
|
`;
|
|
@@ -5,23 +5,6 @@ exports[`Allow load custom resources > md2html single page with custom resources
|
|
|
5
5
|
".yfm",
|
|
6
6
|
"_assets/script/test1.js",
|
|
7
7
|
"_assets/style/test.css",
|
|
8
|
-
"_bundle/search-async-1",
|
|
9
|
-
"_bundle/search-async-0",
|
|
10
|
-
"_bundle/app-css-1",
|
|
11
|
-
"_bundle/app-js-1",
|
|
12
|
-
"_bundle/app-css-3",
|
|
13
|
-
"_bundle/latex-extension.css",
|
|
14
|
-
"_bundle/latex-extension.js",
|
|
15
|
-
"_bundle/mermaid-extension.js",
|
|
16
|
-
"_bundle/page-constructor-extension.css",
|
|
17
|
-
"_bundle/page-constructor-extension.js",
|
|
18
|
-
"_bundle/search-js-0",
|
|
19
|
-
"_bundle/search-css-0",
|
|
20
|
-
"_bundle/search-js-1",
|
|
21
|
-
"_bundle/search-css-3",
|
|
22
|
-
"_bundle/search-css-1",
|
|
23
|
-
"_bundle/search-js-2",
|
|
24
|
-
"_bundle/search-css-2",
|
|
25
8
|
"index.html",
|
|
26
9
|
"page.html",
|
|
27
10
|
"project/config.html",
|
|
@@ -50,20 +33,13 @@ exports[`Allow load custom resources > md2html single page with custom resources
|
|
|
50
33
|
<base href="./" />
|
|
51
34
|
<title>Documentation | Documentation</title>
|
|
52
35
|
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
53
|
-
<meta name="title" content="Documentation">
|
|
54
|
-
<meta name="noIndex" content="true">
|
|
55
|
-
|
|
56
36
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
60
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
61
37
|
<link type="text/css" rel="stylesheet" href="_assets/style/test.css"/>
|
|
62
38
|
</head>
|
|
63
39
|
<body class="g-root g-root_theme_light">
|
|
64
40
|
<div id="root"></div>
|
|
65
41
|
<script type="application/json" id="diplodoc-state">
|
|
66
|
-
{"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":"page.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"],"title":"Documentation","noIndex":true},"title":"Documentation"},"router":{"pathname":"index","depth":1,"base":"./"},"lang":"ru","langs":["ru"]}
|
|
42
|
+
{"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":"page.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"],"title":"Documentation","noIndex":true,"vcsPath":"index.yaml","sourcePath":"index.yaml"},"title":"Documentation"},"router":{"pathname":"index","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
67
43
|
</script>
|
|
68
44
|
<script type="application/javascript">
|
|
69
45
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -73,11 +49,7 @@ exports[`Allow load custom resources > md2html single page with custom resources
|
|
|
73
49
|
window.STATIC_CONTENT = false;
|
|
74
50
|
</script>
|
|
75
51
|
<script type="application/javascript" defer src="toc.js"></script>
|
|
76
|
-
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
77
|
-
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
78
|
-
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
79
52
|
<script type="application/javascript" defer src="_assets/script/test1.js"></script>
|
|
80
|
-
|
|
81
53
|
</body>
|
|
82
54
|
</html>"
|
|
83
55
|
`;
|
|
@@ -89,21 +61,18 @@ exports[`Allow load custom resources > md2html single page with custom resources
|
|
|
89
61
|
<meta charset="utf-8">
|
|
90
62
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
91
63
|
<base href="./" />
|
|
92
|
-
<title>Documentation</title>
|
|
64
|
+
<title>Page Title | Documentation</title>
|
|
93
65
|
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
94
|
-
<meta name="yfm" content="builder">
|
|
95
|
-
|
|
66
|
+
<meta name="yfm" content="builder in page">
|
|
67
|
+
<meta name="description" content="Some test description">
|
|
96
68
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
100
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
69
|
+
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
|
101
70
|
<link type="text/css" rel="stylesheet" href="_assets/style/test.css"/>
|
|
102
71
|
</head>
|
|
103
72
|
<body class="g-root g-root_theme_light">
|
|
104
73
|
<div id="root"></div>
|
|
105
74
|
<script type="application/json" id="diplodoc-state">
|
|
106
|
-
{"data":{"leading":false,"html":"<p>Lorem</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"yfm","content":"builder"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"]},"headings":[],"title":""},"router":{"pathname":"page","depth":1,"base":"./"},"lang":"ru","langs":["ru"]}
|
|
75
|
+
{"data":{"leading":false,"html":"<p>Lorem</p>/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"},"vcsPath":"page.md","sourcePath":"page.md"},"headings":[],"title":"Page Title"},"router":{"pathname":"page","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":false,"search":true,"feedback":true,"favicon-src":"/favicon.ico"}}
|
|
107
76
|
</script>
|
|
108
77
|
<script type="application/javascript">
|
|
109
78
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -113,11 +82,7 @@ exports[`Allow load custom resources > md2html single page with custom resources
|
|
|
113
82
|
window.STATIC_CONTENT = false;
|
|
114
83
|
</script>
|
|
115
84
|
<script type="application/javascript" defer src="toc.js"></script>
|
|
116
|
-
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
117
|
-
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
118
|
-
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
119
85
|
<script type="application/javascript" defer src="_assets/script/test1.js"></script>
|
|
120
|
-
|
|
121
86
|
</body>
|
|
122
87
|
</html>"
|
|
123
88
|
`;
|
|
@@ -131,18 +96,13 @@ exports[`Allow load custom resources > md2html single page with custom resources
|
|
|
131
96
|
<base href="../" />
|
|
132
97
|
<title>Documentation</title>
|
|
133
98
|
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
134
|
-
|
|
135
99
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
139
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
140
100
|
<link type="text/css" rel="stylesheet" href="_assets/style/test.css"/>
|
|
141
101
|
</head>
|
|
142
102
|
<body class="g-root g-root_theme_light">
|
|
143
103
|
<div id="root"></div>
|
|
144
104
|
<script type="application/json" id="diplodoc-state">
|
|
145
|
-
{"data":{"leading":false,"html":"<p>Lorem</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"]},"headings":[],"title":""},"router":{"pathname":"project/config","depth":2,"base":"../"},"lang":"ru","langs":["ru"]}
|
|
105
|
+
{"data":{"leading":false,"html":"<p>Lorem</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"],"vcsPath":"project/config.md","sourcePath":"project/config.md"},"headings":[],"title":""},"router":{"pathname":"project/config","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
146
106
|
</script>
|
|
147
107
|
<script type="application/javascript">
|
|
148
108
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -152,11 +112,7 @@ exports[`Allow load custom resources > md2html single page with custom resources
|
|
|
152
112
|
window.STATIC_CONTENT = false;
|
|
153
113
|
</script>
|
|
154
114
|
<script type="application/javascript" defer src="toc.js"></script>
|
|
155
|
-
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
156
|
-
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
157
|
-
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
158
115
|
<script type="application/javascript" defer src="_assets/script/test1.js"></script>
|
|
159
|
-
|
|
160
116
|
</body>
|
|
161
117
|
</html>"
|
|
162
118
|
`;
|
|
@@ -172,19 +128,15 @@ exports[`Allow load custom resources > md2html single page with custom resources
|
|
|
172
128
|
<base href="./" />
|
|
173
129
|
<title>Documentation | Documentation</title>
|
|
174
130
|
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
175
|
-
<meta name="yfm" content="builder">
|
|
176
|
-
|
|
131
|
+
<meta name="yfm" content="builder in page">
|
|
132
|
+
<meta name="description" content="Some test description">
|
|
177
133
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
181
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
182
134
|
<link type="text/css" rel="stylesheet" href="_assets/style/test.css"/>
|
|
183
135
|
</head>
|
|
184
136
|
<body class="g-root g-root_theme_light">
|
|
185
137
|
<div id="root"></div>
|
|
186
138
|
<script type="application/json" id="diplodoc-state">
|
|
187
|
-
{"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"},"router":{"pathname":"single-page","depth":1,"base":"./"},"lang":"ru","langs":["ru"]}
|
|
139
|
+
{"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":"Documentation"},"router":{"pathname":"single-page","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
188
140
|
</script>
|
|
189
141
|
<script type="application/javascript">
|
|
190
142
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -194,16 +146,12 @@ exports[`Allow load custom resources > md2html single page with custom resources
|
|
|
194
146
|
window.STATIC_CONTENT = false;
|
|
195
147
|
</script>
|
|
196
148
|
<script type="application/javascript" defer src="single-page-toc.js"></script>
|
|
197
|
-
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
198
|
-
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
199
|
-
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
200
149
|
<script type="application/javascript" defer src="_assets/script/test1.js"></script>
|
|
201
|
-
|
|
202
150
|
</body>
|
|
203
151
|
</html>"
|
|
204
152
|
`;
|
|
205
153
|
|
|
206
|
-
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"]}"`;
|
|
154
|
+
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":"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":true,"search":true,"feedback":true}}"`;
|
|
207
155
|
|
|
208
156
|
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
157
|
|
|
@@ -212,23 +160,6 @@ exports[`Allow load custom resources > md2html with custom resources > filelist
|
|
|
212
160
|
".yfm",
|
|
213
161
|
"_assets/script/test1.js",
|
|
214
162
|
"_assets/style/test.css",
|
|
215
|
-
"_bundle/search-async-1",
|
|
216
|
-
"_bundle/search-async-0",
|
|
217
|
-
"_bundle/app-css-1",
|
|
218
|
-
"_bundle/app-js-1",
|
|
219
|
-
"_bundle/app-css-3",
|
|
220
|
-
"_bundle/latex-extension.css",
|
|
221
|
-
"_bundle/latex-extension.js",
|
|
222
|
-
"_bundle/mermaid-extension.js",
|
|
223
|
-
"_bundle/page-constructor-extension.css",
|
|
224
|
-
"_bundle/page-constructor-extension.js",
|
|
225
|
-
"_bundle/search-js-0",
|
|
226
|
-
"_bundle/search-css-0",
|
|
227
|
-
"_bundle/search-js-1",
|
|
228
|
-
"_bundle/search-css-3",
|
|
229
|
-
"_bundle/search-css-1",
|
|
230
|
-
"_bundle/search-js-2",
|
|
231
|
-
"_bundle/search-css-2",
|
|
232
163
|
"index.html",
|
|
233
164
|
"page.html",
|
|
234
165
|
"project/config.html",
|
|
@@ -254,20 +185,13 @@ exports[`Allow load custom resources > md2html with custom resources 2`] = `
|
|
|
254
185
|
<base href="./" />
|
|
255
186
|
<title>Documentation | Documentation</title>
|
|
256
187
|
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
257
|
-
<meta name="title" content="Documentation">
|
|
258
|
-
<meta name="noIndex" content="true">
|
|
259
|
-
|
|
260
188
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
264
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
265
189
|
<link type="text/css" rel="stylesheet" href="_assets/style/test.css"/>
|
|
266
190
|
</head>
|
|
267
191
|
<body class="g-root g-root_theme_light">
|
|
268
192
|
<div id="root"></div>
|
|
269
193
|
<script type="application/json" id="diplodoc-state">
|
|
270
|
-
{"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":"page.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"],"title":"Documentation","noIndex":true},"title":"Documentation"},"router":{"pathname":"index","depth":1,"base":"./"},"lang":"ru","langs":["ru"]}
|
|
194
|
+
{"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":"page.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"],"title":"Documentation","noIndex":true,"vcsPath":"index.yaml","sourcePath":"index.yaml"},"title":"Documentation"},"router":{"pathname":"index","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
271
195
|
</script>
|
|
272
196
|
<script type="application/javascript">
|
|
273
197
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -277,11 +201,7 @@ exports[`Allow load custom resources > md2html with custom resources 2`] = `
|
|
|
277
201
|
window.STATIC_CONTENT = false;
|
|
278
202
|
</script>
|
|
279
203
|
<script type="application/javascript" defer src="toc.js"></script>
|
|
280
|
-
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
281
|
-
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
282
|
-
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
283
204
|
<script type="application/javascript" defer src="_assets/script/test1.js"></script>
|
|
284
|
-
|
|
285
205
|
</body>
|
|
286
206
|
</html>"
|
|
287
207
|
`;
|
|
@@ -293,21 +213,18 @@ exports[`Allow load custom resources > md2html with custom resources 3`] = `
|
|
|
293
213
|
<meta charset="utf-8">
|
|
294
214
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
295
215
|
<base href="./" />
|
|
296
|
-
<title>Documentation</title>
|
|
216
|
+
<title>Page Title | Documentation</title>
|
|
297
217
|
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
298
|
-
<meta name="yfm" content="builder">
|
|
299
|
-
|
|
218
|
+
<meta name="yfm" content="builder in page">
|
|
219
|
+
<meta name="description" content="Some test description">
|
|
300
220
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
304
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
221
|
+
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
|
305
222
|
<link type="text/css" rel="stylesheet" href="_assets/style/test.css"/>
|
|
306
223
|
</head>
|
|
307
224
|
<body class="g-root g-root_theme_light">
|
|
308
225
|
<div id="root"></div>
|
|
309
226
|
<script type="application/json" id="diplodoc-state">
|
|
310
|
-
{"data":{"leading":false,"html":"<p>Lorem</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"yfm","content":"builder"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"]},"headings":[],"title":""},"router":{"pathname":"page","depth":1,"base":"./"},"lang":"ru","langs":["ru"]}
|
|
227
|
+
{"data":{"leading":false,"html":"<p>Lorem</p>/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"},"vcsPath":"page.md","sourcePath":"page.md"},"headings":[],"title":"Page Title"},"router":{"pathname":"page","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":false,"search":true,"feedback":true,"favicon-src":"/favicon.ico"}}
|
|
311
228
|
</script>
|
|
312
229
|
<script type="application/javascript">
|
|
313
230
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -317,11 +234,7 @@ exports[`Allow load custom resources > md2html with custom resources 3`] = `
|
|
|
317
234
|
window.STATIC_CONTENT = false;
|
|
318
235
|
</script>
|
|
319
236
|
<script type="application/javascript" defer src="toc.js"></script>
|
|
320
|
-
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
321
|
-
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
322
|
-
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
323
237
|
<script type="application/javascript" defer src="_assets/script/test1.js"></script>
|
|
324
|
-
|
|
325
238
|
</body>
|
|
326
239
|
</html>"
|
|
327
240
|
`;
|
|
@@ -335,18 +248,13 @@ exports[`Allow load custom resources > md2html with custom resources 4`] = `
|
|
|
335
248
|
<base href="../" />
|
|
336
249
|
<title>Documentation</title>
|
|
337
250
|
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
338
|
-
|
|
339
251
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
343
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
344
252
|
<link type="text/css" rel="stylesheet" href="_assets/style/test.css"/>
|
|
345
253
|
</head>
|
|
346
254
|
<body class="g-root g-root_theme_light">
|
|
347
255
|
<div id="root"></div>
|
|
348
256
|
<script type="application/json" id="diplodoc-state">
|
|
349
|
-
{"data":{"leading":false,"html":"<p>Lorem</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"]},"headings":[],"title":""},"router":{"pathname":"project/config","depth":2,"base":"../"},"lang":"ru","langs":["ru"]}
|
|
257
|
+
{"data":{"leading":false,"html":"<p>Lorem</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/style/test.css"],"script":["_assets/script/test1.js"],"vcsPath":"project/config.md","sourcePath":"project/config.md"},"headings":[],"title":""},"router":{"pathname":"project/config","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
350
258
|
</script>
|
|
351
259
|
<script type="application/javascript">
|
|
352
260
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -356,11 +264,7 @@ exports[`Allow load custom resources > md2html with custom resources 4`] = `
|
|
|
356
264
|
window.STATIC_CONTENT = false;
|
|
357
265
|
</script>
|
|
358
266
|
<script type="application/javascript" defer src="toc.js"></script>
|
|
359
|
-
<script type="application/javascript" defer src="_bundle/search-js-0"></script>
|
|
360
|
-
<script type="application/javascript" defer src="_bundle/app-js-1"></script>
|
|
361
|
-
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
362
267
|
<script type="application/javascript" defer src="_assets/script/test1.js"></script>
|
|
363
|
-
|
|
364
268
|
</body>
|
|
365
269
|
</html>"
|
|
366
270
|
`;
|
|
@@ -401,6 +305,8 @@ meta:
|
|
|
401
305
|
- _assets/script/test1.js
|
|
402
306
|
title: Documentation
|
|
403
307
|
noIndex: true
|
|
308
|
+
vcsPath: index.yaml
|
|
309
|
+
sourcePath: index.yaml
|
|
404
310
|
links:
|
|
405
311
|
- title: Getting started with Documentation
|
|
406
312
|
description: This guide will show you the basics of working with Documentation
|
|
@@ -414,15 +320,21 @@ metadata:
|
|
|
414
320
|
- name: generator
|
|
415
321
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
416
322
|
- name: yfm
|
|
417
|
-
content: builder
|
|
323
|
+
content: builder in page
|
|
418
324
|
style:
|
|
419
325
|
- _assets/style/test.css
|
|
420
326
|
script:
|
|
421
327
|
- _assets/script/test1.js
|
|
328
|
+
title: Page Title
|
|
329
|
+
description: Some test description
|
|
330
|
+
interface:
|
|
331
|
+
toc: false
|
|
332
|
+
favicon-src: /favicon.ico
|
|
333
|
+
vcsPath: page.md
|
|
334
|
+
sourcePath: page.md
|
|
422
335
|
---
|
|
423
336
|
|
|
424
|
-
Lorem
|
|
425
|
-
"
|
|
337
|
+
Lorem"
|
|
426
338
|
`;
|
|
427
339
|
|
|
428
340
|
exports[`Allow load custom resources > md2md with custom resources 4`] = `
|
|
@@ -434,6 +346,8 @@ style:
|
|
|
434
346
|
- _assets/style/test.css
|
|
435
347
|
script:
|
|
436
348
|
- _assets/script/test1.js
|
|
349
|
+
vcsPath: project/config.md
|
|
350
|
+
sourcePath: project/config.md
|
|
437
351
|
---
|
|
438
352
|
Lorem"
|
|
439
353
|
`;
|