-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DOCSTOOLS-795: fixes for single-page
- Loading branch information
1 parent
59ec006
commit 1fc9692
Showing
51 changed files
with
410 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
tests/mocks/include-toc/test1/expected-output/_single_page/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
This is the /folder1/folder1/a1.md file content. | ||
|
||
|
||
<hr class="yfm-page__delimeter"> | ||
|
||
This is the /folder1/a1.md file content. | ||
|
||
|
||
<hr class="yfm-page__delimeter"> | ||
|
||
This is the /folder1/folder1/a1.md file content. | ||
|
||
|
||
<hr class="yfm-page__delimeter"> | ||
|
||
This is the /a1.md file content. | ||
|
||
|
||
<hr class="yfm-page__delimeter"> | ||
|
||
This is the /folder1/a1.md file content. | ||
|
||
|
||
<hr class="yfm-page__delimeter"> | ||
|
||
This is the /folder1/folder1/a1.md file content. |
8 changes: 5 additions & 3 deletions
8
...oc/test1/expected-output/folder1/toc.yaml → ...st1/expected-output/_single_page/toc.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
items: | ||
- name: A1 | ||
href: a1.md | ||
href: '#_a1' | ||
- name: folder1 | ||
items: | ||
- name: A1 | ||
href: folder1/a1.md | ||
href: '#_folder1_a1' | ||
- name: folder1 | ||
items: | ||
- name: A1 | ||
href: folder1/folder2/a1.md | ||
href: '#_folder1_folder2_a1' | ||
base: . | ||
href: index.md | ||
singlePage: true |
50 changes: 50 additions & 0 deletions
50
tests/mocks/include-toc/test2/expected-output/_single_page/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
## File C {data-original-article=/folder/folder/fileC} {#_folder_folder_fileC_file-c} {#_folder_folder_fileC} | ||
|
||
|
||
<hr class="yfm-page__delimeter"> | ||
|
||
## File B {data-original-article=/folder/fileB} {#_folder_fileB_file-b} {#_folder_fileB} | ||
|
||
Lorem Ipsum is simply dummy text of the printing and typesetting industry. | ||
|
||
--- | ||
|
||
Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. | ||
|
||
--- | ||
|
||
|
||
<hr class="yfm-page__delimeter"> | ||
|
||
|
||
## File C {data-original-article=/folder/fileC} {#_folder_fileC_file-c} {#_folder_fileC} | ||
|
||
|
||
<hr class="yfm-page__delimeter"> | ||
|
||
## File 1 {data-original-article=/file1} {#_file1_file-1} {#_file1} | ||
|
||
|
||
<hr class="yfm-page__delimeter"> | ||
|
||
|
||
## File B {data-original-article=/fileB} {#_fileB_file-b} {#_fileB} | ||
|
||
Lorem Ipsum is simply dummy text of the printing and typesetting industry. | ||
|
||
--- | ||
|
||
Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. | ||
|
||
--- | ||
|
||
|
||
<hr class="yfm-page__delimeter"> | ||
|
||
|
||
## File C {data-original-article=/fileC} {#_fileC_file-c} {#_fileC} | ||
|
||
|
||
<hr class="yfm-page__delimeter"> | ||
|
||
## File X {data-original-article=/fileX} {#_fileX_file-x} {#_fileX} |
14 changes: 14 additions & 0 deletions
14
tests/mocks/include-toc/test2/expected-output/_single_page/toc.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
items: | ||
- name: Name1 | ||
href: '#_file1' | ||
- name: NameA | ||
href: '#_fileA' | ||
- name: NameB | ||
href: '#_fileB' | ||
- name: NameC | ||
href: '#_fileC' | ||
- name: NameX | ||
href: '#_fileX' | ||
base: . | ||
href: index.md | ||
singlePage: true |
Oops, something went wrong.