Skip to content

Commit 57145da

Browse files
smyrickShane Myrick
andauthored
Add docs back to url (#1057)
* Add docs back to url * Update docs config * Fix broken links? Not sure when this started failing Co-authored-by: Shane Myrick <[email protected]>
1 parent 73340dc commit 57145da

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

website/docs/schema-generator/customizing-schemas/advanced-features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: Advanced Features
55
## Adding Custom Additional Types
66

77
There are a couple ways you can add more types to the schema without having them be directly consumed by a type in your schema.
8-
This may be required for [Apollo Federation](federated/apollo-federation), or maybe adding other interface implementations that are not picked up.
8+
This may be required for [Apollo Federation](../../federated/apollo-federation.md), or maybe adding other interface implementations that are not picked up.
99

1010
### `SchemaGenerator::generateSchema`
1111

website/docusaurus.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ module.exports = {
2020
"@docusaurus/preset-classic",
2121
{
2222
docs: {
23-
routeBasePath: '/',
24-
editUrl: "https://github.com/ExpediaGroup/graphql-kotlin/tree/master/docs/",
23+
editUrl: "https://github.com/ExpediaGroup/graphql-kotlin/tree/master/website",
2524
showLastUpdateAuthor: true,
2625
showLastUpdateTime: true
2726
}

website/static/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
<html lang="en-US">
1919
<head>
2020
<meta charset="UTF-8">
21-
<meta http-equiv="refresh" content="0; url=/graphql-kotlin">
21+
<meta http-equiv="refresh" content="0; url=/graphql-kotlin/docs">
2222
<script type="text/javascript">
23-
window.location.href = '/graphql-kotlin';
23+
window.location.href = '/graphql-kotlin/docs';
2424
</script>
2525
<title>GraphQL Kotlin</title>
2626
</head>
2727
<body>
28-
If you are not redirected automatically, follow this <a href="/graphql-kotlin">link</a>.
28+
If you are not redirected automatically, follow this <a href="/graphql-kotlin/docs">link</a>.
2929
</body>
3030
</html>

website/versioned_docs/version-3.x.x/schema-generator/customizing-schemas/advanced-features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ original_id: advanced-features
66
## Adding Custom Additional Types
77

88
There are a couple ways you can add more types to the schema without having them be directly consumed by a type in your schema.
9-
This may be required for [Apollo Federation](federated/apollo-federation), or maybe adding other interface implementations that are not picked up.
9+
This may be required for [Apollo Federation](../../federated/apollo-federation.md), or maybe adding other interface implementations that are not picked up.
1010

1111
### `SchemaGenerator::addAdditionalTypesWithAnnotation`
1212

website/versioned_docs/version-4.x.x/schema-generator/customizing-schemas/advanced-features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ original_id: advanced-features
66
## Adding Custom Additional Types
77

88
There are a couple ways you can add more types to the schema without having them be directly consumed by a type in your schema.
9-
This may be required for [Apollo Federation](federated/apollo-federation), or maybe adding other interface implementations that are not picked up.
9+
This may be required for [Apollo Federation](../../federated/apollo-federation.md), or maybe adding other interface implementations that are not picked up.
1010

1111
### `SchemaGenerator::generateSchema`
1212

0 commit comments

Comments
 (0)