-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Autogen category links for Reddit nesting (#14)
Customizes the result of the autogenerated sidebar to organize it the same way Reddit's wiki is organized. This means linking the category created by folders to the "index" page for that folder located one level up with the same name as the folder. Also, removes the no longer needed sidebar item to the "index" page because it would be redundant (see method `updateAutogeneratedSiderbarForRedditWikiStructure`).
- Loading branch information
Showing
6 changed files
with
40 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
label: US | ||
link: | ||
type: doc | ||
id: countries/us |
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,4 @@ | ||
label: Running a business | ||
link: | ||
type: doc | ||
id: earning/business |
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,5 @@ | ||
position: 1 | ||
label: Income Tax | ||
link: | ||
type: doc | ||
id: tax/income |
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,5 @@ | ||
position: 2 | ||
label: Residence Tax | ||
link: | ||
type: doc | ||
id: tax/residence |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,7 +71,7 @@ const sidebars = { | |
Other: [ | ||
{ type: 'autogenerated', dirName: 'other'}, | ||
] | ||
} | ||
}, | ||
], | ||
|
||
}; | ||
|