@diplodoc/cli-tests 0.0.0-rc-err-count-202505291233 → 0.0.0-rc-ci-optimization-test-202506191355
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/e2e/__snapshots__/include-toc.test.ts.snap +98 -106
- package/e2e/__snapshots__/load-custom-resources.spec.ts.snap +66 -56
- package/e2e/__snapshots__/metadata.spec.ts.snap +19 -14
- package/e2e/__snapshots__/plugin-corner-cases.spec.ts.snap +0 -0
- package/e2e/__snapshots__/regression.test.ts.snap +764 -760
- package/e2e/__snapshots__/restricted-access.test.ts.snap +234 -0
- package/e2e/__snapshots__/rtl.spec.ts.snap +57 -47
- package/e2e/__snapshots__/translation.spec.ts.snap +366 -0
- package/e2e/errors.spec.ts +37 -0
- package/e2e/restricted-access.test.ts +21 -0
- package/fixtures/cliAdapter.ts +39 -20
- package/fixtures/runners/binary.ts +21 -3
- package/fixtures/runners/index.ts +3 -1
- package/fixtures/runners/source.ts +5 -5
- package/fixtures/runners/types.ts +7 -1
- package/fixtures/utils/file.ts +3 -3
- package/fixtures/utils/test.ts +6 -1
- package/mocks/errors/unreachable-link/input/exists.md +1 -0
- package/mocks/errors/unreachable-link/input/index.md +2 -0
- package/mocks/errors/unreachable-link/input/toc.yaml +1 -0
- package/mocks/regression/input/1.md +0 -4
- package/mocks/regression/input/_assets/5_1.png +0 -0
- package/mocks/regression/input/images.md +2 -0
- package/mocks/regression/input/includes.md +1 -0
- package/mocks/restricted-access/test1/input/index.md +0 -0
- package/mocks/restricted-access/test1/input/plugins/index.md +0 -0
- package/mocks/restricted-access/test1/input/plugins/index2.md +0 -0
- package/mocks/restricted-access/test1/input/plugins/index3.md +0 -0
- package/mocks/restricted-access/test1/input/plugins/index4.md +4 -0
- package/mocks/restricted-access/test1/input/toc.yaml +28 -0
- package/mocks/restricted-access/test2/input/index.md +0 -0
- package/mocks/restricted-access/test2/input/plugins/index.md +0 -0
- package/mocks/restricted-access/test2/input/project/index.md +0 -0
- package/mocks/restricted-access/test2/input/toc.yaml +21 -0
- package/mocks/restricted-access/test3/input/a1.md +1 -0
- package/mocks/restricted-access/test3/input/folder1/a1.md +1 -0
- package/mocks/restricted-access/test3/input/folder1/folder2/a1.md +1 -0
- package/mocks/restricted-access/test3/input/folder1/folder2/toc.yaml +8 -0
- package/mocks/restricted-access/test3/input/folder1/toc.yaml +10 -0
- package/mocks/restricted-access/test3/input/index.md +0 -0
- package/mocks/restricted-access/test3/input/toc.yaml +16 -0
- package/package.json +4 -3
- package/vitest.config.ts +1 -2
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
2
|
+
|
|
3
|
+
exports[`Restricted access > Nested restricted access > filelist 1`] = `
|
|
4
|
+
"[
|
|
5
|
+
"plugins/index.md",
|
|
6
|
+
"project/index.md",
|
|
7
|
+
"toc.yaml"
|
|
8
|
+
]"
|
|
9
|
+
`;
|
|
10
|
+
|
|
11
|
+
exports[`Restricted access > Nested restricted access 1`] = `
|
|
12
|
+
"---
|
|
13
|
+
metadata:
|
|
14
|
+
- name: generator
|
|
15
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
16
|
+
restricted-access:
|
|
17
|
+
- - admin
|
|
18
|
+
- manager
|
|
19
|
+
- - userA
|
|
20
|
+
- userB
|
|
21
|
+
---
|
|
22
|
+
"
|
|
23
|
+
`;
|
|
24
|
+
|
|
25
|
+
exports[`Restricted access > Nested restricted access 2`] = `
|
|
26
|
+
"---
|
|
27
|
+
metadata:
|
|
28
|
+
- name: generator
|
|
29
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
30
|
+
restricted-access:
|
|
31
|
+
- - userA
|
|
32
|
+
- userB
|
|
33
|
+
---
|
|
34
|
+
"
|
|
35
|
+
`;
|
|
36
|
+
|
|
37
|
+
exports[`Restricted access > Nested restricted access 3`] = `
|
|
38
|
+
"title: Yandex Flavored Markdown
|
|
39
|
+
items:
|
|
40
|
+
- name: Plugins
|
|
41
|
+
restricted-access:
|
|
42
|
+
- admin
|
|
43
|
+
- manager
|
|
44
|
+
items:
|
|
45
|
+
- name: Overview
|
|
46
|
+
href: plugins/index.md
|
|
47
|
+
restricted-access:
|
|
48
|
+
- userA
|
|
49
|
+
- userB
|
|
50
|
+
- name: Organizing a YFM project
|
|
51
|
+
items:
|
|
52
|
+
- name: Overview
|
|
53
|
+
href: project/index.md
|
|
54
|
+
restricted-access:
|
|
55
|
+
- userA
|
|
56
|
+
- userB
|
|
57
|
+
path: toc.yaml
|
|
58
|
+
"
|
|
59
|
+
`;
|
|
60
|
+
|
|
61
|
+
exports[`Restricted access > Nested toc restricted access > filelist 1`] = `
|
|
62
|
+
"[
|
|
63
|
+
"a1.md",
|
|
64
|
+
"folder1/a1.md",
|
|
65
|
+
"folder1/folder2/a1.md",
|
|
66
|
+
"toc.yaml"
|
|
67
|
+
]"
|
|
68
|
+
`;
|
|
69
|
+
|
|
70
|
+
exports[`Restricted access > Nested toc restricted access 1`] = `
|
|
71
|
+
"---
|
|
72
|
+
metadata:
|
|
73
|
+
- name: generator
|
|
74
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
75
|
+
---
|
|
76
|
+
This is the /a1.md file content.
|
|
77
|
+
"
|
|
78
|
+
`;
|
|
79
|
+
|
|
80
|
+
exports[`Restricted access > Nested toc restricted access 2`] = `
|
|
81
|
+
"---
|
|
82
|
+
metadata:
|
|
83
|
+
- name: generator
|
|
84
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
85
|
+
restricted-access:
|
|
86
|
+
- - userA
|
|
87
|
+
- userB
|
|
88
|
+
- - userAtoc2
|
|
89
|
+
- userBtoc2
|
|
90
|
+
---
|
|
91
|
+
This is the /folder1/a1.md file content.
|
|
92
|
+
"
|
|
93
|
+
`;
|
|
94
|
+
|
|
95
|
+
exports[`Restricted access > Nested toc restricted access 3`] = `
|
|
96
|
+
"---
|
|
97
|
+
metadata:
|
|
98
|
+
- name: generator
|
|
99
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
100
|
+
restricted-access:
|
|
101
|
+
- - userA
|
|
102
|
+
- userB
|
|
103
|
+
- - userAtoc3
|
|
104
|
+
- userBtoc3
|
|
105
|
+
---
|
|
106
|
+
This is the /folder1/folder1/a1.md file content.
|
|
107
|
+
"
|
|
108
|
+
`;
|
|
109
|
+
|
|
110
|
+
exports[`Restricted access > Nested toc restricted access 4`] = `
|
|
111
|
+
"items:
|
|
112
|
+
- name: A1
|
|
113
|
+
href: a1.md
|
|
114
|
+
- name: folder1
|
|
115
|
+
restricted-access:
|
|
116
|
+
- userA
|
|
117
|
+
- userB
|
|
118
|
+
items:
|
|
119
|
+
- name: A1
|
|
120
|
+
href: folder1/a1.md
|
|
121
|
+
restricted-access:
|
|
122
|
+
- userAtoc2
|
|
123
|
+
- userBtoc2
|
|
124
|
+
- name: folder1
|
|
125
|
+
items:
|
|
126
|
+
- name: A1
|
|
127
|
+
href: folder1/folder2/a1.md
|
|
128
|
+
restricted-access:
|
|
129
|
+
- userAtoc3
|
|
130
|
+
- userBtoc3
|
|
131
|
+
path: toc.yaml
|
|
132
|
+
"
|
|
133
|
+
`;
|
|
134
|
+
|
|
135
|
+
exports[`Restricted access > Simple restricted access > filelist 1`] = `
|
|
136
|
+
"[
|
|
137
|
+
"index.md",
|
|
138
|
+
"plugins/index.md",
|
|
139
|
+
"plugins/index2.md",
|
|
140
|
+
"plugins/index3.md",
|
|
141
|
+
"plugins/index4.md",
|
|
142
|
+
"toc.yaml"
|
|
143
|
+
]"
|
|
144
|
+
`;
|
|
145
|
+
|
|
146
|
+
exports[`Restricted access > Simple restricted access 1`] = `
|
|
147
|
+
"---
|
|
148
|
+
metadata:
|
|
149
|
+
- name: generator
|
|
150
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
151
|
+
restricted-access:
|
|
152
|
+
- - admin
|
|
153
|
+
---
|
|
154
|
+
"
|
|
155
|
+
`;
|
|
156
|
+
|
|
157
|
+
exports[`Restricted access > Simple restricted access 2`] = `
|
|
158
|
+
"---
|
|
159
|
+
metadata:
|
|
160
|
+
- name: generator
|
|
161
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
162
|
+
restricted-access:
|
|
163
|
+
- - admin
|
|
164
|
+
---
|
|
165
|
+
"
|
|
166
|
+
`;
|
|
167
|
+
|
|
168
|
+
exports[`Restricted access > Simple restricted access 3`] = `
|
|
169
|
+
"---
|
|
170
|
+
metadata:
|
|
171
|
+
- name: generator
|
|
172
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
173
|
+
restricted-access:
|
|
174
|
+
- - admin
|
|
175
|
+
- - admin
|
|
176
|
+
- user
|
|
177
|
+
---
|
|
178
|
+
"
|
|
179
|
+
`;
|
|
180
|
+
|
|
181
|
+
exports[`Restricted access > Simple restricted access 4`] = `
|
|
182
|
+
"---
|
|
183
|
+
metadata:
|
|
184
|
+
- name: generator
|
|
185
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
186
|
+
restricted-access:
|
|
187
|
+
- - admin
|
|
188
|
+
---
|
|
189
|
+
"
|
|
190
|
+
`;
|
|
191
|
+
|
|
192
|
+
exports[`Restricted access > Simple restricted access 5`] = `
|
|
193
|
+
"---
|
|
194
|
+
metadata:
|
|
195
|
+
- name: generator
|
|
196
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
197
|
+
restricted-access:
|
|
198
|
+
- - admin
|
|
199
|
+
- - customInFile
|
|
200
|
+
---
|
|
201
|
+
"
|
|
202
|
+
`;
|
|
203
|
+
|
|
204
|
+
exports[`Restricted access > Simple restricted access 6`] = `
|
|
205
|
+
"title: Yandex Flavored Markdown
|
|
206
|
+
items:
|
|
207
|
+
- name: Yandex Flavored Markdown
|
|
208
|
+
href: index.md
|
|
209
|
+
restricted-access: admin
|
|
210
|
+
- name: Plugins
|
|
211
|
+
items:
|
|
212
|
+
- name: Overview
|
|
213
|
+
href: plugins/index.md
|
|
214
|
+
restricted-access:
|
|
215
|
+
- admin
|
|
216
|
+
- name: Plugins 2
|
|
217
|
+
restricted-access: admin
|
|
218
|
+
items:
|
|
219
|
+
- name: Overview 2
|
|
220
|
+
href: plugins/index2.md
|
|
221
|
+
restricted-access:
|
|
222
|
+
- admin
|
|
223
|
+
- user
|
|
224
|
+
- name: Overview 3
|
|
225
|
+
href: plugins/index3.md
|
|
226
|
+
restricted-access:
|
|
227
|
+
- admin
|
|
228
|
+
- name: Overview 4
|
|
229
|
+
href: plugins/index4.md
|
|
230
|
+
restricted-access:
|
|
231
|
+
- admin
|
|
232
|
+
path: toc.yaml
|
|
233
|
+
"
|
|
234
|
+
`;
|
|
@@ -1,29 +1,34 @@
|
|
|
1
1
|
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
2
2
|
|
|
3
|
-
exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with only one rtl lang > .yfm 1`] = `"langs: ['he']"`;
|
|
4
|
-
|
|
5
3
|
exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with only one rtl lang > filelist 1`] = `
|
|
6
4
|
"[
|
|
7
5
|
".yfm",
|
|
6
|
+
"_bundle/search-async-1",
|
|
8
7
|
"_bundle/search-async-0",
|
|
9
8
|
"_bundle/app-css-1",
|
|
10
9
|
"_bundle/app-js-1",
|
|
11
|
-
"_bundle/
|
|
10
|
+
"_bundle/app-css-3",
|
|
12
11
|
"_bundle/latex-extension.css",
|
|
13
12
|
"_bundle/latex-extension.js",
|
|
14
13
|
"_bundle/mermaid-extension.js",
|
|
14
|
+
"_bundle/page-constructor-extension.css",
|
|
15
|
+
"_bundle/page-constructor-extension.js",
|
|
15
16
|
"_bundle/search-js-0",
|
|
16
|
-
"_bundle/search-js-1",
|
|
17
17
|
"_bundle/search-css-0",
|
|
18
|
-
"_bundle/search-js-
|
|
18
|
+
"_bundle/search-js-1",
|
|
19
|
+
"_bundle/search-css-3",
|
|
19
20
|
"_bundle/search-css-1",
|
|
21
|
+
"_bundle/search-js-2",
|
|
22
|
+
"_bundle/search-css-2",
|
|
20
23
|
"index.html",
|
|
21
24
|
"page.html",
|
|
22
25
|
"toc.js"
|
|
23
26
|
]"
|
|
24
27
|
`;
|
|
25
28
|
|
|
26
|
-
exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with only one rtl lang
|
|
29
|
+
exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with only one rtl lang 1`] = `"langs: ['he']"`;
|
|
30
|
+
|
|
31
|
+
exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with only one rtl lang 2`] = `
|
|
27
32
|
"<!DOCTYPE html>
|
|
28
33
|
<html lang="he" dir="rtl">
|
|
29
34
|
<head>
|
|
@@ -35,8 +40,8 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
|
|
|
35
40
|
|
|
36
41
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
37
42
|
|
|
38
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
39
43
|
<link type="text/css" rel="stylesheet" href="_bundle/search-css-2"/>
|
|
44
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-3"/>
|
|
40
45
|
</head>
|
|
41
46
|
<body class="g-root g-root_theme_light">
|
|
42
47
|
<div id="root"></div>
|
|
@@ -59,7 +64,7 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
|
|
|
59
64
|
</html>"
|
|
60
65
|
`;
|
|
61
66
|
|
|
62
|
-
exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with only one rtl lang
|
|
67
|
+
exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with only one rtl lang 3`] = `
|
|
63
68
|
"<!DOCTYPE html>
|
|
64
69
|
<html lang="he" dir="rtl">
|
|
65
70
|
<head>
|
|
@@ -71,8 +76,8 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
|
|
|
71
76
|
|
|
72
77
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
73
78
|
|
|
74
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
75
79
|
<link type="text/css" rel="stylesheet" href="_bundle/search-css-2"/>
|
|
80
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-3"/>
|
|
76
81
|
</head>
|
|
77
82
|
<body class="g-root g-root_theme_light">
|
|
78
83
|
<div id="root"></div>
|
|
@@ -95,11 +100,41 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
|
|
|
95
100
|
</html>"
|
|
96
101
|
`;
|
|
97
102
|
|
|
98
|
-
exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with only one rtl lang
|
|
103
|
+
exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with only one rtl lang 4`] = `"window.__DATA__.data.toc = {"title":"Documentation","href":"index.html","items":[{"name":"Documentation","href":"page.html","id":"UUID"}],"path":"toc.yaml","id":"UUID"};"`;
|
|
104
|
+
|
|
105
|
+
exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with rtl and ltr langs > filelist 1`] = `
|
|
106
|
+
"[
|
|
107
|
+
".yfm",
|
|
108
|
+
"_bundle/search-async-1",
|
|
109
|
+
"_bundle/search-async-0",
|
|
110
|
+
"_bundle/app-css-1",
|
|
111
|
+
"_bundle/app-js-1",
|
|
112
|
+
"_bundle/app-css-3",
|
|
113
|
+
"_bundle/latex-extension.css",
|
|
114
|
+
"_bundle/latex-extension.js",
|
|
115
|
+
"_bundle/mermaid-extension.js",
|
|
116
|
+
"_bundle/page-constructor-extension.css",
|
|
117
|
+
"_bundle/page-constructor-extension.js",
|
|
118
|
+
"_bundle/search-js-0",
|
|
119
|
+
"_bundle/search-css-0",
|
|
120
|
+
"_bundle/search-js-1",
|
|
121
|
+
"_bundle/search-css-3",
|
|
122
|
+
"_bundle/search-css-1",
|
|
123
|
+
"_bundle/search-js-2",
|
|
124
|
+
"_bundle/search-css-2",
|
|
125
|
+
"ar/index.html",
|
|
126
|
+
"ar/page.html",
|
|
127
|
+
"ar/toc.js",
|
|
128
|
+
"en/index.html",
|
|
129
|
+
"en/page.html",
|
|
130
|
+
"en/toc.js",
|
|
131
|
+
"index.html"
|
|
132
|
+
]"
|
|
133
|
+
`;
|
|
99
134
|
|
|
100
|
-
exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with rtl and ltr langs
|
|
135
|
+
exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with rtl and ltr langs 1`] = `"langs: ['ar', 'en']"`;
|
|
101
136
|
|
|
102
|
-
exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with rtl and ltr langs
|
|
137
|
+
exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with rtl and ltr langs 2`] = `
|
|
103
138
|
"<!DOCTYPE html>
|
|
104
139
|
<html lang="ar" dir="rtl">
|
|
105
140
|
<head>
|
|
@@ -111,8 +146,8 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
|
|
|
111
146
|
|
|
112
147
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
113
148
|
|
|
114
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
115
149
|
<link type="text/css" rel="stylesheet" href="_bundle/search-css-2"/>
|
|
150
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-3"/>
|
|
116
151
|
</head>
|
|
117
152
|
<body class="g-root g-root_theme_light">
|
|
118
153
|
<div id="root"></div>
|
|
@@ -135,7 +170,7 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
|
|
|
135
170
|
</html>"
|
|
136
171
|
`;
|
|
137
172
|
|
|
138
|
-
exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with rtl and ltr langs
|
|
173
|
+
exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with rtl and ltr langs 3`] = `
|
|
139
174
|
"<!DOCTYPE html>
|
|
140
175
|
<html lang="ar" dir="rtl">
|
|
141
176
|
<head>
|
|
@@ -147,8 +182,8 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
|
|
|
147
182
|
|
|
148
183
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
149
184
|
|
|
150
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
151
185
|
<link type="text/css" rel="stylesheet" href="_bundle/search-css-2"/>
|
|
186
|
+
<link type="text/css" rel="stylesheet" href="_bundle/app-css-3"/>
|
|
152
187
|
</head>
|
|
153
188
|
<body class="g-root g-root_theme_light">
|
|
154
189
|
<div id="root"></div>
|
|
@@ -171,9 +206,9 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
|
|
|
171
206
|
</html>"
|
|
172
207
|
`;
|
|
173
208
|
|
|
174
|
-
exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with rtl and ltr langs
|
|
209
|
+
exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with rtl and ltr langs 4`] = `"window.__DATA__.data.toc = {"title":"Documentation","href":"ar/index.html","items":[{"name":"Documentation","href":"ar/page.html","id":"UUID"}],"path":"ar/toc.yaml","id":"UUID"};"`;
|
|
175
210
|
|
|
176
|
-
exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with rtl and ltr langs
|
|
211
|
+
exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with rtl and ltr langs 5`] = `
|
|
177
212
|
"<!DOCTYPE html>
|
|
178
213
|
<html lang="en" dir="ltr">
|
|
179
214
|
<head>
|
|
@@ -187,7 +222,7 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
|
|
|
187
222
|
|
|
188
223
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
189
224
|
|
|
190
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-
|
|
225
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
191
226
|
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
192
227
|
</head>
|
|
193
228
|
<body class="g-root g-root_theme_light">
|
|
@@ -211,7 +246,7 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
|
|
|
211
246
|
</html>"
|
|
212
247
|
`;
|
|
213
248
|
|
|
214
|
-
exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with rtl and ltr langs
|
|
249
|
+
exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with rtl and ltr langs 6`] = `
|
|
215
250
|
"<!DOCTYPE html>
|
|
216
251
|
<html lang="en" dir="ltr">
|
|
217
252
|
<head>
|
|
@@ -224,7 +259,7 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
|
|
|
224
259
|
|
|
225
260
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
226
261
|
|
|
227
|
-
<link type="text/css" rel="stylesheet" href="_bundle/search-css-
|
|
262
|
+
<link type="text/css" rel="stylesheet" href="_bundle/search-css-1"/>
|
|
228
263
|
<link type="text/css" rel="stylesheet" href="_bundle/app-css-1"/>
|
|
229
264
|
</head>
|
|
230
265
|
<body class="g-root g-root_theme_light">
|
|
@@ -248,34 +283,9 @@ exports[`Generate html document with correct lang and dir attributes. Load corre
|
|
|
248
283
|
</html>"
|
|
249
284
|
`;
|
|
250
285
|
|
|
251
|
-
exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with rtl and ltr langs
|
|
252
|
-
|
|
253
|
-
exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with rtl and ltr langs > filelist 1`] = `
|
|
254
|
-
"[
|
|
255
|
-
".yfm",
|
|
256
|
-
"_bundle/search-async-0",
|
|
257
|
-
"_bundle/app-css-1",
|
|
258
|
-
"_bundle/app-js-1",
|
|
259
|
-
"_bundle/search-css-2",
|
|
260
|
-
"_bundle/latex-extension.css",
|
|
261
|
-
"_bundle/latex-extension.js",
|
|
262
|
-
"_bundle/mermaid-extension.js",
|
|
263
|
-
"_bundle/search-js-0",
|
|
264
|
-
"_bundle/search-js-1",
|
|
265
|
-
"_bundle/search-css-0",
|
|
266
|
-
"_bundle/search-js-2",
|
|
267
|
-
"_bundle/search-css-1",
|
|
268
|
-
"ar/index.html",
|
|
269
|
-
"ar/page.html",
|
|
270
|
-
"ar/toc.js",
|
|
271
|
-
"en/index.html",
|
|
272
|
-
"en/page.html",
|
|
273
|
-
"en/toc.js",
|
|
274
|
-
"index.html"
|
|
275
|
-
]"
|
|
276
|
-
`;
|
|
286
|
+
exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with rtl and ltr langs 7`] = `"window.__DATA__.data.toc = {"title":"Documentation","href":"en/index.html","items":[{"name":"Documentation","href":"en/page.html","id":"UUID"}],"path":"en/toc.yaml","id":"UUID"};"`;
|
|
277
287
|
|
|
278
|
-
exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with rtl and ltr langs
|
|
288
|
+
exports[`Generate html document with correct lang and dir attributes. Load correct bundles. > documentation with rtl and ltr langs 8`] = `
|
|
279
289
|
"<!DOCTYPE html>
|
|
280
290
|
<html lang="ar" dir="rtl">
|
|
281
291
|
<head>
|