@diplodoc/cli-tests 0.0.0-rc-liquid-conditions-saving-202509050811 → 0.0.0-rc-disable-resolve-codeblock-17941220955
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__/alternates.test.ts.snap +905 -0
- package/e2e/__snapshots__/bundles.spec.ts.snap +174 -0
- package/e2e/__snapshots__/include-toc.test.ts.snap +37 -0
- package/e2e/__snapshots__/load-custom-resources.spec.ts.snap +15 -106
- package/e2e/__snapshots__/metadata.spec.ts.snap +9 -47
- package/e2e/__snapshots__/plugin-corner-cases.spec.ts.snap +0 -0
- package/e2e/__snapshots__/preprocess.test.ts.snap +638 -4
- package/e2e/__snapshots__/regression.test.ts.snap +61 -211
- package/e2e/__snapshots__/restricted-access.test.ts.snap +20 -0
- package/e2e/__snapshots__/rtl.spec.ts.snap +18 -105
- package/e2e/__snapshots__/search.test.ts.snap +1 -31
- package/e2e/__snapshots__/single-page.spec.ts.snap +163 -0
- package/e2e/__snapshots__/skip-html-extension.spec.ts.snap +4 -63
- package/e2e/__snapshots__/translation.spec.ts.snap +191 -1416
- package/e2e/alternates.test.ts +34 -0
- package/e2e/bundles.spec.ts +15 -0
- package/e2e/preprocess.test.ts +4 -0
- package/e2e/single-page.spec.ts +22 -0
- package/e2e/translation.spec.ts +1 -27
- package/fixtures/utils/file.ts +49 -6
- package/fixtures/utils/test.ts +2 -0
- package/mocks/alternates/input/.yfm +1 -0
- package/mocks/alternates/input/az/about.md +3 -0
- package/mocks/alternates/input/az/deep/test.md +3 -0
- package/mocks/alternates/input/az/index.yaml +3 -0
- package/mocks/alternates/input/az/toc.yaml +6 -0
- package/mocks/alternates/input/en/about.md +3 -0
- package/mocks/alternates/input/en/deep/test.md +3 -0
- package/mocks/alternates/input/en/index.yaml +3 -0
- package/mocks/alternates/input/en/toc.yaml +6 -0
- package/mocks/alternates/input/ru/about.md +8 -0
- package/mocks/alternates/input/ru/deep/test.md +3 -0
- package/mocks/alternates/input/ru/index.yaml +3 -0
- package/mocks/alternates/input/ru/toc.yaml +6 -0
- 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/errors/extract-filtered-link/input/index.md +1 -1
- package/mocks/preprocess/input/_assets/1.svg +15 -0
- package/mocks/preprocess/input/autotitle.md +13 -0
- package/mocks/preprocess/input/images.md +92 -1
- package/mocks/regression/input/autotitle.md +3 -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/translation/dir-files/input/ru/nested/toc.yaml +3 -3
- package/mocks/translation/dir-files/input/ru/nested/use_filtered_above.md +4 -0
- package/package.json +1 -1
- package/mocks/translation/conditions/input/index.md +0 -37
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
2
|
+
|
|
3
|
+
exports[`Check bundles > bundles list is correct > filelist 1`] = `
|
|
4
|
+
"[
|
|
5
|
+
".yfm",
|
|
6
|
+
"_bundle/app-css-1",
|
|
7
|
+
"_bundle/app-js-2",
|
|
8
|
+
"_bundle/latex-extension.css",
|
|
9
|
+
"_bundle/latex-extension.js",
|
|
10
|
+
"_bundle/mermaid-extension.js",
|
|
11
|
+
"_bundle/page-constructor-extension.css",
|
|
12
|
+
"_bundle/page-constructor-extension.js",
|
|
13
|
+
"_bundle/search-async-0",
|
|
14
|
+
"_bundle/search-async-1",
|
|
15
|
+
"_bundle/search-css-0",
|
|
16
|
+
"_bundle/search-css-1",
|
|
17
|
+
"_bundle/search-css-2",
|
|
18
|
+
"_bundle/search-css-3",
|
|
19
|
+
"_bundle/search-css-4",
|
|
20
|
+
"_bundle/search-js-0",
|
|
21
|
+
"_bundle/search-js-1",
|
|
22
|
+
"_bundle/search-js-2",
|
|
23
|
+
"_search/api.js",
|
|
24
|
+
"_search/ru/hash-index.js",
|
|
25
|
+
"_search/ru/hash-registry.js",
|
|
26
|
+
"_search/ru/hash-resources.js",
|
|
27
|
+
"_search/ru/index.html",
|
|
28
|
+
"_search/ru/language.js",
|
|
29
|
+
"index.html",
|
|
30
|
+
"page1.html",
|
|
31
|
+
"page2.html",
|
|
32
|
+
"toc.js"
|
|
33
|
+
]"
|
|
34
|
+
`;
|
|
35
|
+
|
|
36
|
+
exports[`Check bundles > bundles list is correct 1`] = `
|
|
37
|
+
"allowHTML: true
|
|
38
|
+
|
|
39
|
+
meta:
|
|
40
|
+
rootPath: http://127.0.0.1:5000/
|
|
41
|
+
|
|
42
|
+
interface:
|
|
43
|
+
toc-header: false
|
|
44
|
+
favicon-src: https://storage.yandexcloud.net/diplodoc-www-assets/favicon/favicon.ico
|
|
45
|
+
|
|
46
|
+
search:
|
|
47
|
+
provider: local
|
|
48
|
+
tolerance: 2
|
|
49
|
+
confidense: phrased
|
|
50
|
+
"
|
|
51
|
+
`;
|
|
52
|
+
|
|
53
|
+
exports[`Check bundles > bundles list is correct 2`] = `
|
|
54
|
+
"<!DOCTYPE html>
|
|
55
|
+
<html lang="ru" dir="ltr">
|
|
56
|
+
<head>
|
|
57
|
+
<meta charset="utf-8">
|
|
58
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
59
|
+
<base href="./" />
|
|
60
|
+
<title>Header | Skip html extension</title>
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
64
|
+
<meta name="availableLangs" content="en,ru">
|
|
65
|
+
<meta http-equiv="Content-Security-Policy" content="worker-src 'self';">
|
|
66
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
67
|
+
<link rel="icon" type="image/x-icon" href="https://storage.yandexcloud.net/diplodoc-www-assets/favicon/favicon.ico">
|
|
68
|
+
|
|
69
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
70
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
71
|
+
</head>
|
|
72
|
+
<body class="g-root g-root_theme_light">
|
|
73
|
+
<div id="root"></div>
|
|
74
|
+
<script type="application/json" id="diplodoc-state">
|
|
75
|
+
{"data":{"leading":false,"html":"<p>Content</p>/n<p><a href=\\"page1.html\\">Link 1</a><br />/n<a href=\\"page2.html\\">Link 2</a></p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"availableLangs":["en","ru"],"vcsPath":"index.md","sourcePath":"index.md"},"headings":[],"title":"Header"},"router":{"pathname":"index","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc-header":false,"favicon-src":"https://storage.yandexcloud.net/diplodoc-www-assets/favicon/favicon.ico","toc":true,"search":true,"feedback":true},"search":{"provider":"local","tolerance":2,"confidense":"phrased","enabled":true,"api":"_search/api.js","link":"_search/ru/index.html"}}
|
|
76
|
+
</script>
|
|
77
|
+
<script type="application/javascript">
|
|
78
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
79
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
80
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
81
|
+
})(data.innerText));
|
|
82
|
+
window.STATIC_CONTENT = false;
|
|
83
|
+
</script>
|
|
84
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
85
|
+
<script type="application/javascript" defer src="_search/ru/hash-resources.js"></script>
|
|
86
|
+
<script type="application/javascript" defer src="_bundle/search-js-1"></script>
|
|
87
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
88
|
+
<script type="application/javascript" defer src="_bundle/app-js-2"></script>
|
|
89
|
+
|
|
90
|
+
</body>
|
|
91
|
+
</html>"
|
|
92
|
+
`;
|
|
93
|
+
|
|
94
|
+
exports[`Check bundles > bundles list is correct 3`] = `
|
|
95
|
+
"<!DOCTYPE html>
|
|
96
|
+
<html lang="ru" dir="ltr">
|
|
97
|
+
<head>
|
|
98
|
+
<meta charset="utf-8">
|
|
99
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
100
|
+
<base href="./" />
|
|
101
|
+
<title>Page 1 | Skip html extension</title>
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
105
|
+
<meta http-equiv="Content-Security-Policy" content="worker-src 'self';">
|
|
106
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
107
|
+
<link rel="icon" type="image/x-icon" href="https://storage.yandexcloud.net/diplodoc-www-assets/favicon/favicon.ico">
|
|
108
|
+
|
|
109
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
110
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
111
|
+
</head>
|
|
112
|
+
<body class="g-root g-root_theme_light">
|
|
113
|
+
<div id="root"></div>
|
|
114
|
+
<script type="application/json" id="diplodoc-state">
|
|
115
|
+
{"data":{"leading":false,"html":"<p><a href=\\"page2.html#hash\\">Link</a></p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"page1.md","sourcePath":"page1.md"},"headings":[],"title":"Page 1"},"router":{"pathname":"page1","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc-header":false,"favicon-src":"https://storage.yandexcloud.net/diplodoc-www-assets/favicon/favicon.ico","toc":true,"search":true,"feedback":true},"search":{"provider":"local","tolerance":2,"confidense":"phrased","enabled":true,"api":"_search/api.js","link":"_search/ru/index.html"}}
|
|
116
|
+
</script>
|
|
117
|
+
<script type="application/javascript">
|
|
118
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
119
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
120
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
121
|
+
})(data.innerText));
|
|
122
|
+
window.STATIC_CONTENT = false;
|
|
123
|
+
</script>
|
|
124
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
125
|
+
<script type="application/javascript" defer src="_search/ru/hash-resources.js"></script>
|
|
126
|
+
<script type="application/javascript" defer src="_bundle/search-js-1"></script>
|
|
127
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
128
|
+
<script type="application/javascript" defer src="_bundle/app-js-2"></script>
|
|
129
|
+
|
|
130
|
+
</body>
|
|
131
|
+
</html>"
|
|
132
|
+
`;
|
|
133
|
+
|
|
134
|
+
exports[`Check bundles > bundles list is correct 4`] = `
|
|
135
|
+
"<!DOCTYPE html>
|
|
136
|
+
<html lang="ru" dir="ltr">
|
|
137
|
+
<head>
|
|
138
|
+
<meta charset="utf-8">
|
|
139
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
140
|
+
<base href="./" />
|
|
141
|
+
<title>Page 2 | Skip html extension</title>
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
145
|
+
<meta http-equiv="Content-Security-Policy" content="worker-src 'self';">
|
|
146
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
147
|
+
<link rel="icon" type="image/x-icon" href="https://storage.yandexcloud.net/diplodoc-www-assets/favicon/favicon.ico">
|
|
148
|
+
|
|
149
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
150
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
151
|
+
</head>
|
|
152
|
+
<body class="g-root g-root_theme_light">
|
|
153
|
+
<div id="root"></div>
|
|
154
|
+
<script type="application/json" id="diplodoc-state">
|
|
155
|
+
{"data":{"leading":false,"html":"<h2 id=\\"hash\\"><a href=\\"page2.html#hash\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">hash</span></a>hash</h2>/n<p><a href=\\"https://example.com\\" target=\\"_blank\\" rel=\\"noreferrer noopener\\">External link</a></p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"page2.md","sourcePath":"page2.md"},"headings":[{"title":"hash","href":"page2.html#hash","level":2}],"title":"Page 2"},"router":{"pathname":"page2","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc-header":false,"favicon-src":"https://storage.yandexcloud.net/diplodoc-www-assets/favicon/favicon.ico","toc":true,"search":true,"feedback":true},"search":{"provider":"local","tolerance":2,"confidense":"phrased","enabled":true,"api":"_search/api.js","link":"_search/ru/index.html"}}
|
|
156
|
+
</script>
|
|
157
|
+
<script type="application/javascript">
|
|
158
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
159
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
160
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
161
|
+
})(data.innerText));
|
|
162
|
+
window.STATIC_CONTENT = false;
|
|
163
|
+
</script>
|
|
164
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
165
|
+
<script type="application/javascript" defer src="_search/ru/hash-resources.js"></script>
|
|
166
|
+
<script type="application/javascript" defer src="_bundle/search-js-1"></script>
|
|
167
|
+
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
168
|
+
<script type="application/javascript" defer src="_bundle/app-js-2"></script>
|
|
169
|
+
|
|
170
|
+
</body>
|
|
171
|
+
</html>"
|
|
172
|
+
`;
|
|
173
|
+
|
|
174
|
+
exports[`Check bundles > bundles list is correct 5`] = `"window.__DATA__.data.toc = {"title":"Skip html extension","href":"index.html","items":[{"name":"Title 1","href":"page1.html","id":"UUID"},{"name":"Title 2","href":"page2.html","id":"UUID"}],"path":"toc.yaml","id":"UUID"};"`;
|
|
@@ -24,6 +24,7 @@ metadata:
|
|
|
24
24
|
- name: generator
|
|
25
25
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
26
26
|
sourcePath: product1/core/article1.md
|
|
27
|
+
vcsPath: product1/core/article1.md
|
|
27
28
|
---
|
|
28
29
|
This is the core content of Article 1.
|
|
29
30
|
|
|
@@ -72,6 +73,7 @@ metadata:
|
|
|
72
73
|
- name: generator
|
|
73
74
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
74
75
|
sourcePath: product2/overlay1/product/article1.md
|
|
76
|
+
vcsPath: product2/overlay1/product/article1.md
|
|
75
77
|
---
|
|
76
78
|
This is the overlay content of Article 1 for product 2.
|
|
77
79
|
|
|
@@ -90,6 +92,7 @@ metadata:
|
|
|
90
92
|
- name: generator
|
|
91
93
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
92
94
|
sourcePath: product2/overlay2/product/article1.md
|
|
95
|
+
vcsPath: product2/overlay2/product/article1.md
|
|
93
96
|
---
|
|
94
97
|
This is the overlay number #2 of Article 1 content for product 2.
|
|
95
98
|
|
|
@@ -108,6 +111,7 @@ metadata:
|
|
|
108
111
|
- name: generator
|
|
109
112
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
110
113
|
sourcePath: product2/core/article1.md
|
|
114
|
+
vcsPath: product2/core/article1.md
|
|
111
115
|
---
|
|
112
116
|
This is the core content of Article 1.
|
|
113
117
|
|
|
@@ -120,6 +124,8 @@ exports[`Include toc > Nested toc inclusions with mixed including modes 10`] = `
|
|
|
120
124
|
metadata:
|
|
121
125
|
- name: generator
|
|
122
126
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
127
|
+
vcsPath: product2/p2.md
|
|
128
|
+
sourcePath: product2/p2.md
|
|
123
129
|
---
|
|
124
130
|
This is the product 2 specific article.
|
|
125
131
|
|
|
@@ -162,6 +168,8 @@ exports[`Include toc > Toc is included in link mode 1`] = `
|
|
|
162
168
|
metadata:
|
|
163
169
|
- name: generator
|
|
164
170
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
171
|
+
vcsPath: a1.md
|
|
172
|
+
sourcePath: a1.md
|
|
165
173
|
---
|
|
166
174
|
This is the /a1.md file content.
|
|
167
175
|
"
|
|
@@ -172,6 +180,8 @@ exports[`Include toc > Toc is included in link mode 2`] = `
|
|
|
172
180
|
metadata:
|
|
173
181
|
- name: generator
|
|
174
182
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
183
|
+
vcsPath: folder1/a1.md
|
|
184
|
+
sourcePath: folder1/a1.md
|
|
175
185
|
---
|
|
176
186
|
This is the /folder1/a1.md file content.
|
|
177
187
|
"
|
|
@@ -182,6 +192,8 @@ exports[`Include toc > Toc is included in link mode 3`] = `
|
|
|
182
192
|
metadata:
|
|
183
193
|
- name: generator
|
|
184
194
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
195
|
+
vcsPath: folder1/folder2/a1.md
|
|
196
|
+
sourcePath: folder1/folder2/a1.md
|
|
185
197
|
---
|
|
186
198
|
This is the /folder1/folder1/a1.md file content.
|
|
187
199
|
"
|
|
@@ -225,6 +237,8 @@ exports[`Include toc > Toc is included inline, not as a new section 2`] = `
|
|
|
225
237
|
metadata:
|
|
226
238
|
- name: generator
|
|
227
239
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
240
|
+
vcsPath: file1.md
|
|
241
|
+
sourcePath: file1.md
|
|
228
242
|
---
|
|
229
243
|
# File 1
|
|
230
244
|
"
|
|
@@ -238,6 +252,7 @@ metadata:
|
|
|
238
252
|
sourcePath: folder/fileA.md
|
|
239
253
|
title: File A
|
|
240
254
|
description: YFM description
|
|
255
|
+
vcsPath: folder/fileA.md
|
|
241
256
|
---
|
|
242
257
|
# File A
|
|
243
258
|
|
|
@@ -255,6 +270,7 @@ metadata:
|
|
|
255
270
|
- name: generator
|
|
256
271
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
257
272
|
sourcePath: folder/fileB.md
|
|
273
|
+
vcsPath: folder/fileB.md
|
|
258
274
|
---
|
|
259
275
|
# File B
|
|
260
276
|
|
|
@@ -274,6 +290,7 @@ metadata:
|
|
|
274
290
|
- name: generator
|
|
275
291
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
276
292
|
sourcePath: folder/folder/fileC.md
|
|
293
|
+
vcsPath: folder/folder/fileC.md
|
|
277
294
|
---
|
|
278
295
|
# File C
|
|
279
296
|
"
|
|
@@ -284,6 +301,8 @@ exports[`Include toc > Toc is included inline, not as a new section 6`] = `
|
|
|
284
301
|
metadata:
|
|
285
302
|
- name: generator
|
|
286
303
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
304
|
+
vcsPath: fileX.md
|
|
305
|
+
sourcePath: fileX.md
|
|
287
306
|
---
|
|
288
307
|
# File X
|
|
289
308
|
"
|
|
@@ -328,7 +347,11 @@ meta:
|
|
|
328
347
|
metadata:
|
|
329
348
|
- name: generator
|
|
330
349
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
350
|
+
alternate:
|
|
351
|
+
- ru/
|
|
331
352
|
sourcePath: ru/sub/folder/index.yaml
|
|
353
|
+
canonical: ru/index.html
|
|
354
|
+
vcsPath: ru/sub/folder/index.yaml
|
|
332
355
|
"
|
|
333
356
|
`;
|
|
334
357
|
|
|
@@ -354,6 +377,8 @@ exports[`Include toc > Toc with expressions 1`] = `
|
|
|
354
377
|
metadata:
|
|
355
378
|
- name: generator
|
|
356
379
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
380
|
+
vcsPath: a1.md
|
|
381
|
+
sourcePath: a1.md
|
|
357
382
|
---
|
|
358
383
|
This is the /a1.md file content.
|
|
359
384
|
"
|
|
@@ -368,6 +393,8 @@ meta:
|
|
|
368
393
|
- name: generator
|
|
369
394
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
370
395
|
title: Meta A
|
|
396
|
+
vcsPath: index.yaml
|
|
397
|
+
sourcePath: index.yaml
|
|
371
398
|
links:
|
|
372
399
|
- title: A1
|
|
373
400
|
description: A1 desc
|
|
@@ -401,6 +428,8 @@ exports[`Include toc > Toc with generic includer 1`] = `
|
|
|
401
428
|
metadata:
|
|
402
429
|
- name: generator
|
|
403
430
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
431
|
+
vcsPath: test/index.md
|
|
432
|
+
sourcePath: test/index.md
|
|
404
433
|
---
|
|
405
434
|
# H1
|
|
406
435
|
|
|
@@ -414,6 +443,8 @@ exports[`Include toc > Toc with generic includer 2`] = `
|
|
|
414
443
|
metadata:
|
|
415
444
|
- name: generator
|
|
416
445
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
446
|
+
vcsPath: test/sub/sub-1.md
|
|
447
|
+
sourcePath: test/sub/sub-1.md
|
|
417
448
|
---
|
|
418
449
|
# H1
|
|
419
450
|
|
|
@@ -428,6 +459,8 @@ exports[`Include toc > Toc with generic includer 3`] = `
|
|
|
428
459
|
metadata:
|
|
429
460
|
- name: generator
|
|
430
461
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
462
|
+
vcsPath: test/sub/sub-2.md
|
|
463
|
+
sourcePath: test/sub/sub-2.md
|
|
431
464
|
---
|
|
432
465
|
# H1"
|
|
433
466
|
`;
|
|
@@ -437,6 +470,8 @@ exports[`Include toc > Toc with generic includer 4`] = `
|
|
|
437
470
|
metadata:
|
|
438
471
|
- name: generator
|
|
439
472
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
473
|
+
vcsPath: test/sub/sub/sub-3.md
|
|
474
|
+
sourcePath: test/sub/sub/sub-3.md
|
|
440
475
|
---
|
|
441
476
|
# H1"
|
|
442
477
|
`;
|
|
@@ -446,6 +481,8 @@ exports[`Include toc > Toc with generic includer 5`] = `
|
|
|
446
481
|
metadata:
|
|
447
482
|
- name: generator
|
|
448
483
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
484
|
+
vcsPath: test/test.md
|
|
485
|
+
sourcePath: test/test.md
|
|
449
486
|
---
|
|
450
487
|
# H1"
|
|
451
488
|
`;
|