@diplodoc/cli-tests 4.60.0 → 5.0.0
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 +106 -106
- package/e2e/__snapshots__/load-custom-resources.spec.ts.snap +293 -344
- package/e2e/__snapshots__/metadata.spec.ts.snap +119 -144
- package/e2e/__snapshots__/plugin-corner-cases.spec.ts.snap +0 -0
- package/e2e/__snapshots__/regression.test.ts.snap +904 -715
- package/e2e/__snapshots__/restricted-access.test.ts.snap +234 -0
- package/e2e/__snapshots__/rtl.spec.ts.snap +248 -302
- package/e2e/__snapshots__/translation.spec.ts.snap +366 -0
- package/e2e/errors.spec.ts +31 -0
- package/e2e/regression.test.ts +7 -2
- package/e2e/restricted-access.test.ts +21 -0
- package/e2e/translation.spec.ts +1 -1
- package/fixtures/cliAdapter.ts +41 -20
- package/fixtures/runners/binary.ts +18 -3
- 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/include-toc/test6/input/toc.yaml +1 -0
- package/mocks/regression/input/1.md +2 -0
- package/mocks/regression/input/generic/1.md +3 -0
- package/mocks/regression/input/generic/2.md +3 -0
- package/mocks/regression/input/generic/3.md +1 -0
- package/mocks/regression/input/generic/Sub notes/1.md +3 -0
- package/mocks/regression/input/generic/Sub notes/2.md +3 -0
- package/mocks/regression/input/includes/deep.md +1 -0
- package/mocks/regression/input/includes.md +3 -0
- package/mocks/regression/input/redirects.yaml +6 -0
- package/mocks/regression/input/toc.yaml +7 -3
- 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 +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Note content 1
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{% include [user](./user.md) %}
|
|
@@ -11,9 +11,8 @@ items:
|
|
|
11
11
|
href:
|
|
12
12
|
- include: {path: toc-i.yaml}
|
|
13
13
|
- include: {path: sub/toc.yaml, mode: link}
|
|
14
|
-
-
|
|
15
|
-
|
|
16
|
-
- name: Latex
|
|
14
|
+
- href: ./mermaid
|
|
15
|
+
- name: '{#T}'
|
|
17
16
|
href: ./latex
|
|
18
17
|
- name: Images
|
|
19
18
|
href: ./images
|
|
@@ -21,6 +20,11 @@ items:
|
|
|
21
20
|
href: ./autotitle
|
|
22
21
|
- name: includes
|
|
23
22
|
href: ./includes
|
|
23
|
+
- name: generic
|
|
24
|
+
include:
|
|
25
|
+
path: generic
|
|
26
|
+
includers:
|
|
27
|
+
- name: generic
|
|
24
28
|
- name: openapi
|
|
25
29
|
include:
|
|
26
30
|
path: openapi
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
title: Yandex Flavored Markdown
|
|
2
|
+
items:
|
|
3
|
+
- name: Yandex Flavored Markdown
|
|
4
|
+
href: index.md
|
|
5
|
+
restricted-access: admin
|
|
6
|
+
- name: Plugins
|
|
7
|
+
items:
|
|
8
|
+
- name: Overview
|
|
9
|
+
href: plugins/index.md
|
|
10
|
+
restricted-access:
|
|
11
|
+
- admin
|
|
12
|
+
- name: Plugins 2
|
|
13
|
+
restricted-access: admin
|
|
14
|
+
items:
|
|
15
|
+
- name: Overview 2
|
|
16
|
+
href: plugins/index2.md
|
|
17
|
+
restricted-access:
|
|
18
|
+
- admin
|
|
19
|
+
- user
|
|
20
|
+
- name: Overview 3
|
|
21
|
+
href: plugins/index3.md
|
|
22
|
+
restricted-access:
|
|
23
|
+
- admin
|
|
24
|
+
- name: Overview 4
|
|
25
|
+
href: plugins/index4.md
|
|
26
|
+
restricted-access:
|
|
27
|
+
- admin
|
|
28
|
+
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
title: Yandex Flavored Markdown
|
|
2
|
+
items:
|
|
3
|
+
- name: Plugins
|
|
4
|
+
restricted-access:
|
|
5
|
+
- admin
|
|
6
|
+
- manager
|
|
7
|
+
items:
|
|
8
|
+
- name: Overview
|
|
9
|
+
href: plugins/index.md
|
|
10
|
+
restricted-access:
|
|
11
|
+
- userA
|
|
12
|
+
- userB
|
|
13
|
+
- name: Organizing a YFM project
|
|
14
|
+
items:
|
|
15
|
+
- name: Overview
|
|
16
|
+
href: project/index.md
|
|
17
|
+
restricted-access:
|
|
18
|
+
- userA
|
|
19
|
+
- userB
|
|
20
|
+
|
|
21
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
This is the /a1.md file content.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
This is the /folder1/a1.md file content.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
This is the /folder1/folder1/a1.md file content.
|
|
File without changes
|