-
Notifications
You must be signed in to change notification settings - Fork 394
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change "docs/home" to "docs" (#1257)
* Move /doc/home to /doc - Change sidebar.json to point Home to the new url and keep the same label. - Change DocsPage model to generate home at new url. - Swap /doc -> /doc/home redirect to the other way around. - Change link component to allow empty strings that aren't undefined. * Re-add 307 code to swapped redirect * remove unnecessary falsy checks * remove old comment * Don't use '/' in doc home path creation * Change up redirects so new docs home never has a trailing slash * Remove old reversed redirect * Change instance of /doc/home to /doc * Fix slightly messed up redirects list
- Loading branch information
1 parent
7dd2c04
commit bce4d6a
Showing
5 changed files
with
8 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
[ | ||
{ | ||
"slug": "home", | ||
"slug": "", | ||
"label": "Home", | ||
"source": "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
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