forked from github/docs
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
end-to-end test link rewriting plugin (github#34939)
- Loading branch information
Showing
7 changed files
with
118 additions
and
154 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,5 @@ versions: | |
ghec: '*' | ||
children: | ||
- /hello-world | ||
- /link-rewriting | ||
--- |
30 changes: 30 additions & 0 deletions
30
tests/fixtures/content/get-started/quickstart/link-rewriting.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,30 @@ | ||
--- | ||
title: Link rewriting | ||
intro: 'When rendered, links are rewritting to perfection for viewing' | ||
versions: | ||
fpt: '*' | ||
ghes: '*' | ||
ghae: '*' | ||
ghec: '*' | ||
type: quick_start | ||
--- | ||
|
||
## Internal links never need language prefix | ||
|
||
[AUTOTITLE](/get-started/foo/cross-version-linking) already tests things | ||
like `/enterprise-server@latest/` becomes `/enterprise-server@X.Y/` where | ||
`X.Y` is the latest Enterprise server version. | ||
|
||
## External links are left alone | ||
|
||
[@peterbe](https://github.com/peterbe) | ||
|
||
## Legacy enterprise links | ||
|
||
For example, [this Enterprise 11.10 link](/enterprise/11.10.340/admin/articles/upgrading-to-the-latest-release). | ||
|
||
## Links to `assets` and `public` | ||
|
||
Here's a [Picture](/assets/images/_fixtures/screenshot.png). | ||
|
||
[A GraphQL Schema](/public/schema.docs.graphql) |
This file was deleted.
Oops, something went wrong.
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