@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
|
@@ -18,6 +18,8 @@ restricted-access:
|
|
|
18
18
|
- manager
|
|
19
19
|
- - userA
|
|
20
20
|
- userB
|
|
21
|
+
vcsPath: plugins/index.md
|
|
22
|
+
sourcePath: plugins/index.md
|
|
21
23
|
---
|
|
22
24
|
"
|
|
23
25
|
`;
|
|
@@ -30,6 +32,8 @@ metadata:
|
|
|
30
32
|
restricted-access:
|
|
31
33
|
- - userA
|
|
32
34
|
- userB
|
|
35
|
+
vcsPath: project/index.md
|
|
36
|
+
sourcePath: project/index.md
|
|
33
37
|
---
|
|
34
38
|
"
|
|
35
39
|
`;
|
|
@@ -72,6 +76,8 @@ exports[`Restricted access > Nested toc restricted access 1`] = `
|
|
|
72
76
|
metadata:
|
|
73
77
|
- name: generator
|
|
74
78
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
79
|
+
vcsPath: a1.md
|
|
80
|
+
sourcePath: a1.md
|
|
75
81
|
---
|
|
76
82
|
This is the /a1.md file content.
|
|
77
83
|
"
|
|
@@ -87,6 +93,8 @@ restricted-access:
|
|
|
87
93
|
- userB
|
|
88
94
|
- - userAtoc2
|
|
89
95
|
- userBtoc2
|
|
96
|
+
vcsPath: folder1/a1.md
|
|
97
|
+
sourcePath: folder1/a1.md
|
|
90
98
|
---
|
|
91
99
|
This is the /folder1/a1.md file content.
|
|
92
100
|
"
|
|
@@ -102,6 +110,8 @@ restricted-access:
|
|
|
102
110
|
- userB
|
|
103
111
|
- - userAtoc3
|
|
104
112
|
- userBtoc3
|
|
113
|
+
vcsPath: folder1/folder2/a1.md
|
|
114
|
+
sourcePath: folder1/folder2/a1.md
|
|
105
115
|
---
|
|
106
116
|
This is the /folder1/folder1/a1.md file content.
|
|
107
117
|
"
|
|
@@ -150,6 +160,8 @@ metadata:
|
|
|
150
160
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
151
161
|
restricted-access:
|
|
152
162
|
- - admin
|
|
163
|
+
vcsPath: index.md
|
|
164
|
+
sourcePath: index.md
|
|
153
165
|
---
|
|
154
166
|
"
|
|
155
167
|
`;
|
|
@@ -161,6 +173,8 @@ metadata:
|
|
|
161
173
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
162
174
|
restricted-access:
|
|
163
175
|
- - admin
|
|
176
|
+
vcsPath: plugins/index.md
|
|
177
|
+
sourcePath: plugins/index.md
|
|
164
178
|
---
|
|
165
179
|
"
|
|
166
180
|
`;
|
|
@@ -174,6 +188,8 @@ restricted-access:
|
|
|
174
188
|
- - admin
|
|
175
189
|
- - admin
|
|
176
190
|
- user
|
|
191
|
+
vcsPath: plugins/index2.md
|
|
192
|
+
sourcePath: plugins/index2.md
|
|
177
193
|
---
|
|
178
194
|
"
|
|
179
195
|
`;
|
|
@@ -185,6 +201,8 @@ metadata:
|
|
|
185
201
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
186
202
|
restricted-access:
|
|
187
203
|
- - admin
|
|
204
|
+
vcsPath: plugins/index3.md
|
|
205
|
+
sourcePath: plugins/index3.md
|
|
188
206
|
---
|
|
189
207
|
"
|
|
190
208
|
`;
|
|
@@ -197,6 +215,8 @@ metadata:
|
|
|
197
215
|
restricted-access:
|
|
198
216
|
- - admin
|
|
199
217
|
- - customInFile
|
|
218
|
+
vcsPath: plugins/index4.md
|
|
219
|
+
sourcePath: plugins/index4.md
|
|
200
220
|
---
|
|
201
221
|
"
|
|
202
222
|
`;
|
|
@@ -3,23 +3,6 @@
|
|
|
3
3
|
exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with only one rtl lang > filelist 1`] = `
|
|
4
4
|
"[
|
|
5
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
6
|
"index.html",
|
|
24
7
|
"page.html",
|
|
25
8
|
"toc.js"
|
|
@@ -37,18 +20,12 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
|
|
|
37
20
|
<base href="./" />
|
|
38
21
|
<title>Documentation | Documentation</title>
|
|
39
22
|
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
40
|
-
|
|
41
23
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-2"/>
|
|
45
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-3"/>
|
|
46
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-4"/>
|
|
47
24
|
</head>
|
|
48
25
|
<body class="g-root g-root_theme_light">
|
|
49
26
|
<div id="root"></div>
|
|
50
27
|
<script type="application/json" id="diplodoc-state">
|
|
51
|
-
{"data":{"leading":true,"data":{"title":"Documentation","links":[{"title":"Documentation","href":"page.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"title":"Documentation"},"router":{"pathname":"index","depth":1,"base":"./"},"lang":"he","langs":["he"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
28
|
+
{"data":{"leading":true,"data":{"title":"Documentation","links":[{"title":"Documentation","href":"page.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"index.yaml","sourcePath":"index.yaml"},"title":"Documentation"},"router":{"pathname":"index","depth":1,"base":"./"},"lang":"he","langs":["he"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
52
29
|
</script>
|
|
53
30
|
<script type="application/javascript">
|
|
54
31
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -58,10 +35,6 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
|
|
|
58
35
|
window.STATIC_CONTENT = false;
|
|
59
36
|
</script>
|
|
60
37
|
<script type="application/javascript" defer src="toc.js"></script>
|
|
61
|
-
<script type="application/javascript" defer src="_bundle/search-js-1"></script>
|
|
62
|
-
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
63
|
-
<script type="application/javascript" defer src="_bundle/app-js-2"></script>
|
|
64
|
-
|
|
65
38
|
</body>
|
|
66
39
|
</html>"
|
|
67
40
|
`;
|
|
@@ -75,18 +48,12 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
|
|
|
75
48
|
<base href="./" />
|
|
76
49
|
<title>Documentation</title>
|
|
77
50
|
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
78
|
-
|
|
79
51
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-2"/>
|
|
83
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-3"/>
|
|
84
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-4"/>
|
|
85
52
|
</head>
|
|
86
53
|
<body class="g-root g-root_theme_light">
|
|
87
54
|
<div id="root"></div>
|
|
88
55
|
<script type="application/json" id="diplodoc-state">
|
|
89
|
-
{"data":{"leading":false,"html":"<p>תיעוד</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[],"title":""},"router":{"pathname":"page","depth":1,"base":"./"},"lang":"he","langs":["he"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
56
|
+
{"data":{"leading":false,"html":"<p>תיעוד</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"page.md","sourcePath":"page.md"},"headings":[],"title":""},"router":{"pathname":"page","depth":1,"base":"./"},"lang":"he","langs":["he"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
90
57
|
</script>
|
|
91
58
|
<script type="application/javascript">
|
|
92
59
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -96,10 +63,6 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
|
|
|
96
63
|
window.STATIC_CONTENT = false;
|
|
97
64
|
</script>
|
|
98
65
|
<script type="application/javascript" defer src="toc.js"></script>
|
|
99
|
-
<script type="application/javascript" defer src="_bundle/search-js-1"></script>
|
|
100
|
-
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
101
|
-
<script type="application/javascript" defer src="_bundle/app-js-2"></script>
|
|
102
|
-
|
|
103
66
|
</body>
|
|
104
67
|
</html>"
|
|
105
68
|
`;
|
|
@@ -109,23 +72,6 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
|
|
|
109
72
|
exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with rtl and ltr langs > filelist 1`] = `
|
|
110
73
|
"[
|
|
111
74
|
".yfm",
|
|
112
|
-
"_bundle/app-css-1",
|
|
113
|
-
"_bundle/app-js-2",
|
|
114
|
-
"_bundle/latex-extension.css",
|
|
115
|
-
"_bundle/latex-extension.js",
|
|
116
|
-
"_bundle/mermaid-extension.js",
|
|
117
|
-
"_bundle/page-constructor-extension.css",
|
|
118
|
-
"_bundle/page-constructor-extension.js",
|
|
119
|
-
"_bundle/search-async-0",
|
|
120
|
-
"_bundle/search-async-1",
|
|
121
|
-
"_bundle/search-css-0",
|
|
122
|
-
"_bundle/search-css-1",
|
|
123
|
-
"_bundle/search-css-2",
|
|
124
|
-
"_bundle/search-css-3",
|
|
125
|
-
"_bundle/search-css-4",
|
|
126
|
-
"_bundle/search-js-0",
|
|
127
|
-
"_bundle/search-js-1",
|
|
128
|
-
"_bundle/search-js-2",
|
|
129
75
|
"ar/index.html",
|
|
130
76
|
"ar/page.html",
|
|
131
77
|
"ar/toc.js",
|
|
@@ -146,19 +92,16 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
|
|
|
146
92
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
147
93
|
<base href="../" />
|
|
148
94
|
<title>Documentation | Documentation</title>
|
|
95
|
+
<link rel="canonical" href="ar/index.html">
|
|
96
|
+
<link rel="alternate" href="en/index.html" hreflang="en" />
|
|
97
|
+
<link rel="alternate" href="ar/index.html" hreflang="ar" />
|
|
149
98
|
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
150
|
-
|
|
151
99
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-2"/>
|
|
155
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-3"/>
|
|
156
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-4"/>
|
|
157
100
|
</head>
|
|
158
101
|
<body class="g-root g-root_theme_light">
|
|
159
102
|
<div id="root"></div>
|
|
160
103
|
<script type="application/json" id="diplodoc-state">
|
|
161
|
-
{"data":{"leading":true,"data":{"title":"Documentation","links":[{"title":"Documentation","href":"ar/page.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"title":"Documentation"},"router":{"pathname":"ar/index","depth":2,"base":"../"},"lang":"ar","langs":["ar","en"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
104
|
+
{"data":{"leading":true,"data":{"title":"Documentation","links":[{"title":"Documentation","href":"ar/page.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"en/index.html","hreflang":"en"},{"href":"ar/index.html","hreflang":"ar"}],"canonical":"ar/index.html","vcsPath":"ar/index.yaml","sourcePath":"ar/index.yaml"},"title":"Documentation"},"router":{"pathname":"ar/index","depth":2,"base":"../"},"lang":"ar","langs":["ar","en"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
162
105
|
</script>
|
|
163
106
|
<script type="application/javascript">
|
|
164
107
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -168,10 +111,6 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
|
|
|
168
111
|
window.STATIC_CONTENT = false;
|
|
169
112
|
</script>
|
|
170
113
|
<script type="application/javascript" defer src="ar/toc.js"></script>
|
|
171
|
-
<script type="application/javascript" defer src="_bundle/search-js-1"></script>
|
|
172
|
-
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
173
|
-
<script type="application/javascript" defer src="_bundle/app-js-2"></script>
|
|
174
|
-
|
|
175
114
|
</body>
|
|
176
115
|
</html>"
|
|
177
116
|
`;
|
|
@@ -184,19 +123,16 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
|
|
|
184
123
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
185
124
|
<base href="../" />
|
|
186
125
|
<title>Documentation</title>
|
|
126
|
+
<link rel="canonical" href="ar/page.html">
|
|
127
|
+
<link rel="alternate" href="en/page.html" hreflang="en" />
|
|
128
|
+
<link rel="alternate" href="ar/page.html" hreflang="ar" />
|
|
187
129
|
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
188
|
-
|
|
189
130
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-2"/>
|
|
193
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-3"/>
|
|
194
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-4"/>
|
|
195
131
|
</head>
|
|
196
132
|
<body class="g-root g-root_theme_light">
|
|
197
133
|
<div id="root"></div>
|
|
198
134
|
<script type="application/json" id="diplodoc-state">
|
|
199
|
-
{"data":{"leading":false,"html":"<p>توثيق</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[],"title":""},"router":{"pathname":"ar/page","depth":2,"base":"../"},"lang":"ar","langs":["ar","en"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
135
|
+
{"data":{"leading":false,"html":"<p>توثيق</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"en/page.html","hreflang":"en"},{"href":"ar/page.html","hreflang":"ar"}],"canonical":"ar/page.html","vcsPath":"ar/page.md","sourcePath":"ar/page.md"},"headings":[],"title":""},"router":{"pathname":"ar/page","depth":2,"base":"../"},"lang":"ar","langs":["ar","en"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
200
136
|
</script>
|
|
201
137
|
<script type="application/javascript">
|
|
202
138
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -206,10 +142,6 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
|
|
|
206
142
|
window.STATIC_CONTENT = false;
|
|
207
143
|
</script>
|
|
208
144
|
<script type="application/javascript" defer src="ar/toc.js"></script>
|
|
209
|
-
<script type="application/javascript" defer src="_bundle/search-js-1"></script>
|
|
210
|
-
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
211
|
-
<script type="application/javascript" defer src="_bundle/app-js-2"></script>
|
|
212
|
-
|
|
213
145
|
</body>
|
|
214
146
|
</html>"
|
|
215
147
|
`;
|
|
@@ -224,19 +156,16 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
|
|
|
224
156
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
225
157
|
<base href="../" />
|
|
226
158
|
<title>Documentation | Documentation</title>
|
|
159
|
+
<link rel="canonical" href="en/index.html">
|
|
160
|
+
<link rel="alternate" href="en/index.html" hreflang="en" />
|
|
161
|
+
<link rel="alternate" href="ar/index.html" hreflang="ar" />
|
|
227
162
|
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
228
|
-
<meta name="noIndex" content="true">
|
|
229
|
-
|
|
230
163
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
234
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
235
164
|
</head>
|
|
236
165
|
<body class="g-root g-root_theme_light">
|
|
237
166
|
<div id="root"></div>
|
|
238
167
|
<script type="application/json" id="diplodoc-state">
|
|
239
|
-
{"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":"en/page.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"title":"Documentation","noIndex":true},"title":"Documentation"},"router":{"pathname":"en/index","depth":2,"base":"../"},"lang":"en","langs":["ar","en"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
168
|
+
{"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":"en/page.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"en/index.html","hreflang":"en"},{"href":"ar/index.html","hreflang":"ar"}],"canonical":"en/index.html","title":"Documentation","noIndex":true,"vcsPath":"en/index.yaml","sourcePath":"en/index.yaml"},"title":"Documentation"},"router":{"pathname":"en/index","depth":2,"base":"../"},"lang":"en","langs":["ar","en"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
240
169
|
</script>
|
|
241
170
|
<script type="application/javascript">
|
|
242
171
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -246,10 +175,6 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
|
|
|
246
175
|
window.STATIC_CONTENT = false;
|
|
247
176
|
</script>
|
|
248
177
|
<script type="application/javascript" defer src="en/toc.js"></script>
|
|
249
|
-
<script type="application/javascript" defer src="_bundle/search-js-1"></script>
|
|
250
|
-
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
251
|
-
<script type="application/javascript" defer src="_bundle/app-js-2"></script>
|
|
252
|
-
|
|
253
178
|
</body>
|
|
254
179
|
</html>"
|
|
255
180
|
`;
|
|
@@ -262,19 +187,17 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
|
|
|
262
187
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
263
188
|
<base href="../" />
|
|
264
189
|
<title>Documentation</title>
|
|
190
|
+
<link rel="canonical" href="en/page.html">
|
|
191
|
+
<link rel="alternate" href="en/page.html" hreflang="en" />
|
|
192
|
+
<link rel="alternate" href="ar/page.html" hreflang="ar" />
|
|
265
193
|
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
266
194
|
<meta name="yfm" content="builder">
|
|
267
|
-
|
|
268
195
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
272
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
273
196
|
</head>
|
|
274
197
|
<body class="g-root g-root_theme_light">
|
|
275
198
|
<div id="root"></div>
|
|
276
199
|
<script type="application/json" id="diplodoc-state">
|
|
277
|
-
{"data":{"leading":false,"html":"<p>Lorem</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"yfm","content":"builder"}]},"headings":[],"title":""},"router":{"pathname":"en/page","depth":2,"base":"../"},"lang":"en","langs":["ar","en"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
200
|
+
{"data":{"leading":false,"html":"<p>Lorem</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"},{"name":"yfm","content":"builder"}],"alternate":[{"href":"en/page.html","hreflang":"en"},{"href":"ar/page.html","hreflang":"ar"}],"canonical":"en/page.html","vcsPath":"en/page.md","sourcePath":"en/page.md"},"headings":[],"title":""},"router":{"pathname":"en/page","depth":2,"base":"../"},"lang":"en","langs":["ar","en"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
278
201
|
</script>
|
|
279
202
|
<script type="application/javascript">
|
|
280
203
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -284,10 +207,6 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
|
|
|
284
207
|
window.STATIC_CONTENT = false;
|
|
285
208
|
</script>
|
|
286
209
|
<script type="application/javascript" defer src="en/toc.js"></script>
|
|
287
|
-
<script type="application/javascript" defer src="_bundle/search-js-1"></script>
|
|
288
|
-
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
289
|
-
<script type="application/javascript" defer src="_bundle/app-js-2"></script>
|
|
290
|
-
|
|
291
210
|
</body>
|
|
292
211
|
</html>"
|
|
293
212
|
`;
|
|
@@ -303,19 +222,13 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
|
|
|
303
222
|
<base href="./" />
|
|
304
223
|
<title>Redirect to ./ar/index.html</title>
|
|
305
224
|
<meta http-equiv="refresh" content="0; url=./ar/index.html">
|
|
306
|
-
|
|
307
225
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
308
|
-
|
|
309
226
|
<script type="application/javascript">
|
|
310
227
|
window.location.replace("./ar/index.html");
|
|
311
228
|
</script>
|
|
312
|
-
|
|
313
229
|
</head>
|
|
314
230
|
<body class="g-root g-root_theme_light">
|
|
315
231
|
If you are not redirected automatically, follow this <a href="./ar/index.html">link</a>.
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
232
|
</body>
|
|
320
233
|
</html>"
|
|
321
234
|
`;
|
|
@@ -3,28 +3,6 @@
|
|
|
3
3
|
exports[`Local search > internal > filelist 1`] = `
|
|
4
4
|
"[
|
|
5
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/en/hash-resources.js",
|
|
25
|
-
"_search/en/hash-index.js",
|
|
26
|
-
"_search/en/hash-registry.js",
|
|
27
|
-
"_search/en/index.html",
|
|
28
6
|
"index.html",
|
|
29
7
|
"toc.js"
|
|
30
8
|
]"
|
|
@@ -57,14 +35,11 @@ exports[`Local search > internal 2`] = `
|
|
|
57
35
|
<meta http-equiv="Content-Security-Policy" content="worker-src 'self';">
|
|
58
36
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
59
37
|
<link rel="icon" type="image/x-icon" href="https://storage.yandexcloud.net/diplodoc-www-assets/favicon/favicon.ico">
|
|
60
|
-
|
|
61
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-0"/>
|
|
62
|
-
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
63
38
|
</head>
|
|
64
39
|
<body class="g-root g-root_theme_light">
|
|
65
40
|
<div id="root"></div>
|
|
66
41
|
<script type="application/json" id="diplodoc-state">
|
|
67
|
-
{"data":{"leading":false,"html":"<p>Content</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}]},"headings":[],"title":"Header"},"router":{"pathname":"index","depth":1,"base":"./"},"lang":"en","langs":["en","ru"],"viewerInterface":{"toc-header":false,"favicon-src":"https://storage.yandexcloud.net/diplodoc-www-assets/favicon/favicon.ico","toc":false,"search":true,"feedback":true},"search":{"provider":"local","tolerance":2,"confidense":"phrased","enabled":true,"api":"_search/api.js","link":"_search/en/index.html"}}
|
|
42
|
+
{"data":{"leading":false,"html":"<p>Content</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"index.md","sourcePath":"index.md"},"headings":[],"title":"Header"},"router":{"pathname":"index","depth":1,"base":"./"},"lang":"en","langs":["en","ru"],"viewerInterface":{"toc-header":false,"favicon-src":"https://storage.yandexcloud.net/diplodoc-www-assets/favicon/favicon.ico","toc":false,"search":true,"feedback":true},"search":{"provider":"local","tolerance":2,"confidense":"phrased","enabled":true,"api":"_search/api.js","link":"_search/en/index.html"}}
|
|
68
43
|
</script>
|
|
69
44
|
<script type="application/javascript">
|
|
70
45
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -74,11 +49,6 @@ exports[`Local search > internal 2`] = `
|
|
|
74
49
|
window.STATIC_CONTENT = false;
|
|
75
50
|
</script>
|
|
76
51
|
<script type="application/javascript" defer src="toc.js"></script>
|
|
77
|
-
<script type="application/javascript" defer src="_search/en/hash-resources.js"></script>
|
|
78
|
-
<script type="application/javascript" defer src="_bundle/search-js-1"></script>
|
|
79
|
-
<script type="application/javascript" defer src="_bundle/search-js-2"></script>
|
|
80
|
-
<script type="application/javascript" defer src="_bundle/app-js-2"></script>
|
|
81
|
-
|
|
82
52
|
</body>
|
|
83
53
|
</html>"
|
|
84
54
|
`;
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
2
|
+
|
|
3
|
+
exports[`Single page mode > simple md2html single page with lang dirs > filelist 1`] = `
|
|
4
|
+
"[
|
|
5
|
+
"index.html",
|
|
6
|
+
"ru/index.html",
|
|
7
|
+
"ru/page.html",
|
|
8
|
+
"ru/project/config.html",
|
|
9
|
+
"ru/single-page-toc.js",
|
|
10
|
+
"ru/single-page.html",
|
|
11
|
+
"ru/single-page.json",
|
|
12
|
+
"ru/toc.js"
|
|
13
|
+
]"
|
|
14
|
+
`;
|
|
15
|
+
|
|
16
|
+
exports[`Single page mode > simple md2html single page with lang dirs 1`] = `
|
|
17
|
+
"<!DOCTYPE html>
|
|
18
|
+
<html lang="ru" dir="ltr">
|
|
19
|
+
<head>
|
|
20
|
+
<meta charset="utf-8">
|
|
21
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
22
|
+
<base href="./" />
|
|
23
|
+
<title>Redirect to ./ru/index.html</title>
|
|
24
|
+
<meta http-equiv="refresh" content="0; url=./ru/index.html">
|
|
25
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
26
|
+
<script type="application/javascript">
|
|
27
|
+
window.location.replace("./ru/index.html");
|
|
28
|
+
</script>
|
|
29
|
+
</head>
|
|
30
|
+
<body class="g-root g-root_theme_light">
|
|
31
|
+
If you are not redirected automatically, follow this <a href="./ru/index.html">link</a>.
|
|
32
|
+
</body>
|
|
33
|
+
</html>"
|
|
34
|
+
`;
|
|
35
|
+
|
|
36
|
+
exports[`Single page mode > simple md2html single page with lang dirs 2`] = `
|
|
37
|
+
"<!DOCTYPE html>
|
|
38
|
+
<html lang="ru" dir="ltr">
|
|
39
|
+
<head>
|
|
40
|
+
<meta charset="utf-8">
|
|
41
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
42
|
+
<base href="../" />
|
|
43
|
+
<title>Documentation | Documentation</title>
|
|
44
|
+
<link rel="canonical" href="ru/index.html">
|
|
45
|
+
<link rel="alternate" href="ru/index.html" hreflang="ru" />
|
|
46
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
47
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
48
|
+
</head>
|
|
49
|
+
<body class="g-root g-root_theme_light">
|
|
50
|
+
<div id="root"></div>
|
|
51
|
+
<script type="application/json" id="diplodoc-state">
|
|
52
|
+
{"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":"ru/page.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"ru/index.html","hreflang":"ru"}],"canonical":"ru/index.html","title":"Documentation","noIndex":true,"vcsPath":"ru/index.yaml","sourcePath":"ru/index.yaml"},"title":"Documentation"},"router":{"pathname":"ru/index","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
53
|
+
</script>
|
|
54
|
+
<script type="application/javascript">
|
|
55
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
56
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
57
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
58
|
+
})(data.innerText));
|
|
59
|
+
window.STATIC_CONTENT = false;
|
|
60
|
+
</script>
|
|
61
|
+
<script type="application/javascript" defer src="ru/toc.js"></script>
|
|
62
|
+
</body>
|
|
63
|
+
</html>"
|
|
64
|
+
`;
|
|
65
|
+
|
|
66
|
+
exports[`Single page mode > simple md2html single page with lang dirs 3`] = `
|
|
67
|
+
"<!DOCTYPE html>
|
|
68
|
+
<html lang="ru" dir="ltr">
|
|
69
|
+
<head>
|
|
70
|
+
<meta charset="utf-8">
|
|
71
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
72
|
+
<base href="../" />
|
|
73
|
+
<title>Page Title | Documentation</title>
|
|
74
|
+
<link rel="canonical" href="ru/page.html">
|
|
75
|
+
<link rel="alternate" href="ru/page.html" hreflang="ru" />
|
|
76
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
77
|
+
<meta name="yfm" content="builder in page">
|
|
78
|
+
<meta name="description" content="Some test description">
|
|
79
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
80
|
+
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
|
81
|
+
</head>
|
|
82
|
+
<body class="g-root g-root_theme_light">
|
|
83
|
+
<div id="root"></div>
|
|
84
|
+
<script type="application/json" id="diplodoc-state">
|
|
85
|
+
{"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"}],"alternate":[{"href":"ru/page.html","hreflang":"ru"}],"canonical":"ru/page.html","title":"Page Title","description":"Some test description","interface":{"toc":false,"favicon-src":"/favicon.ico"},"vcsPath":"ru/page.md","sourcePath":"ru/page.md"},"headings":[],"title":"Page Title"},"router":{"pathname":"ru/page","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":false,"search":true,"feedback":true,"favicon-src":"/favicon.ico"}}
|
|
86
|
+
</script>
|
|
87
|
+
<script type="application/javascript">
|
|
88
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
89
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
90
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
91
|
+
})(data.innerText));
|
|
92
|
+
window.STATIC_CONTENT = false;
|
|
93
|
+
</script>
|
|
94
|
+
<script type="application/javascript" defer src="ru/toc.js"></script>
|
|
95
|
+
</body>
|
|
96
|
+
</html>"
|
|
97
|
+
`;
|
|
98
|
+
|
|
99
|
+
exports[`Single page mode > simple md2html single page with lang dirs 4`] = `
|
|
100
|
+
"<!DOCTYPE html>
|
|
101
|
+
<html lang="ru" dir="ltr">
|
|
102
|
+
<head>
|
|
103
|
+
<meta charset="utf-8">
|
|
104
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
105
|
+
<base href="../../" />
|
|
106
|
+
<title>Documentation</title>
|
|
107
|
+
<link rel="canonical" href="ru/project/config.html">
|
|
108
|
+
<link rel="alternate" href="ru/project/config.html" hreflang="ru" />
|
|
109
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
110
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
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>Lorem</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"ru/project/config.html","hreflang":"ru"}],"canonical":"ru/project/config.html","vcsPath":"ru/project/config.md","sourcePath":"ru/project/config.md"},"headings":[],"title":""},"router":{"pathname":"ru/project/config","depth":3,"base":"../../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
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="ru/toc.js"></script>
|
|
125
|
+
</body>
|
|
126
|
+
</html>"
|
|
127
|
+
`;
|
|
128
|
+
|
|
129
|
+
exports[`Single page mode > simple md2html single page with lang dirs 5`] = `"window.__DATA__.data.toc = {"title":"Documentation","href":"ru/single-page.html#ru_index","items":[{"name":"Documentation","href":"ru/single-page.html#ru_page","id":"UUID"},{"name":"Config","href":"ru/single-page.html#ru_project_config","id":"UUID"}],"path":"ru/toc.yaml","id":"UUID"};"`;
|
|
130
|
+
|
|
131
|
+
exports[`Single page mode > simple md2html single page with lang dirs 6`] = `
|
|
132
|
+
"<!DOCTYPE html>
|
|
133
|
+
<html lang="ru" dir="ltr">
|
|
134
|
+
<head>
|
|
135
|
+
<meta charset="utf-8">
|
|
136
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
137
|
+
<base href="../" />
|
|
138
|
+
<title>Documentation | Documentation</title>
|
|
139
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
140
|
+
<meta name="yfm" content="builder in page">
|
|
141
|
+
<meta name="description" content="Some test description">
|
|
142
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
143
|
+
</head>
|
|
144
|
+
<body class="g-root g-root_theme_light">
|
|
145
|
+
<div id="root"></div>
|
|
146
|
+
<script type="application/json" id="diplodoc-state">
|
|
147
|
+
{"data":{"leading":false,"html":"<h2 data-original-article=\\"ru/page.html\\">Page Title<a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"ru/single-page.html#ru_page\\" id=\\"ru_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"}]},"title":"Documentation"},"router":{"pathname":"ru/single-page","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
148
|
+
</script>
|
|
149
|
+
<script type="application/javascript">
|
|
150
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
151
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
152
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
153
|
+
})(data.innerText));
|
|
154
|
+
window.STATIC_CONTENT = false;
|
|
155
|
+
</script>
|
|
156
|
+
<script type="application/javascript" defer src="ru/single-page-toc.js"></script>
|
|
157
|
+
</body>
|
|
158
|
+
</html>"
|
|
159
|
+
`;
|
|
160
|
+
|
|
161
|
+
exports[`Single page mode > simple md2html single page with lang dirs 7`] = `"{"data":{"leading":false,"html":"<h2 data-original-article=\\"ru/page.html\\">Page Title<a class=\\"yfm-anchor\\" aria-hidden=\\"true\\" href=\\"ru/single-page.html#ru_page\\" id=\\"ru_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"}]},"title":"Documentation","toc":{"title":"Documentation","href":"ru/index.html","items":[{"name":"Documentation","href":"ru/page.html","id":"UUID"},{"name":"Config","href":"ru/project/config.html","id":"UUID"}],"path":"ru/toc.yaml","id":"UUID"}},"router":{"pathname":"ru/single-page","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}"`;
|
|
162
|
+
|
|
163
|
+
exports[`Single page mode > simple md2html single page with lang dirs 8`] = `"window.__DATA__.data.toc = {"title":"Documentation","href":"ru/index.html","items":[{"name":"Documentation","href":"ru/page.html","id":"UUID"},{"name":"Config","href":"ru/project/config.html","id":"UUID"}],"path":"ru/toc.yaml","id":"UUID"};"`;
|