Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit c306e17

Browse files
author
Enda Phelan
committed
docs(website): added v1 docs to website
Also removes not supported versions (<14.0)
1 parent 06ed882 commit c306e17

File tree

383 files changed

+25552
-6272
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

383 files changed

+25552
-6272
lines changed

docs/plugins/creating-your-own-plugin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ query archivedNotesAndComments {
254254

255255
### With `graphback generate`
256256

257-
Some plugins are designed to be invoked through the Graphback CLI, such as those that output files to the local project. See [Plugin Overview](../overview.md#file-generation-with-cli).
257+
Some plugins are designed to be invoked through the Graphback CLI, such as those that output files to the local project. See [Plugin Overview](./overview.md#file-generation-with-cli).
258258

259259
`graphback generate` dynamically loads the plugin package by its name defined in the `.graphqlrc`. For plugin packages that begin with `@`, due to a limitation where keys in a YAML object cannot begin with `@`, your plugin documentation should explicitly specify the package name with the `packageName` configuration value.
260260

docs/resolvers/custom-resolvers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ const apolloServer = new ApolloServer({
5555
})
5656
```
5757

58-
See the [GraphbackCRUDService API Reference](../api/graphback-core/interfaces/_runtime_graphbackcrudservice_.graphbackcrudservice) for information on the methods and parameters available in the `GraphbackCRUDService` interface.
58+
See the [GraphbackCRUDService API Reference](../api/graphback-core/interfaces/_runtime_graphbackcrudservice_.graphbackcrudservice.md) for information on the methods and parameters available in the `GraphbackCRUDService` interface.
5959

6060
### context
6161

62-
The [GraphbackContext](../api/graphback-core/interfaces/_runtime_interfaces_.graphbackcontext) interface defines all CRUD services in the `graphback` property. Each service name matches exactly with the name of the model defined in your GraphQL schema.
62+
The [GraphbackContext](../api/graphback-core/interfaces/_runtime_interfaces_.graphbackcontext.md) interface defines all CRUD services in the `graphback` property. Each service name matches exactly with the name of the model defined in your GraphQL schema.
6363

6464
Accessing the CRUD service for the `Note` model:
6565

@@ -118,7 +118,7 @@ In order to avoid such cases, we recommend to pass the `info` object only when t
118118

119119

120120
### Retrieving Nested Fields From `GraphQLResolveInfo`
121-
If you want to retrieve nested selected fields from the GraphQL query to the database query, you can optionally pass the `nested path` as an argument to the [`findBy`](../api/core/classes/_runtime_crudservice_.crudservice.md#findby) method.
121+
If you want to retrieve nested selected fields from the GraphQL query to the database query, you can optionally pass the `nested path` as an argument to the [`findBy`](../api/graphback-core/classes/_runtime_crudservice_.crudservice.md#findby) method.
122122

123123
For example:
124124

website/docusaurus.config.js

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,29 +27,21 @@ module.exports = {
2727
},
2828
items: [
2929
{
30-
to: 'docs/next/introduction',
30+
to: 'docs/introduction',
3131
activeBasePath: 'docs',
3232
label: 'Docs',
3333
position: 'left',
3434
items: [
35-
{ label: '0.16.x', to: 'docs/introduction' },
35+
{ label: '1.0', to: 'docs/introduction' },
36+
{ label: '0.16.x', to: 'docs/0.16.x/introduction' },
3637
{ label: '0.15.x', to: 'docs/0.15.x/introduction' },
3738
{ label: '0.14.x', to: 'docs/0.14.x/introduction' },
38-
{ label: '0.12.x', to: 'docs/0.12.x/gettingstarted' },
39-
{ label: '0.11.x', to: 'docs/0.11.x/gettingstarted' },
40-
{ label: '0.10.x', to: 'docs/0.10.x/gettingstarted' },
41-
{ label: '0.9.x', to: 'docs/0.9.x/gettingstarted' },
4239
{
4340
label: 'Master/Unreleased',
4441
to: 'docs/next/introduction',
4542
},
4643
],
4744
},
48-
{
49-
to: 'versions',
50-
label: `v0.16.x`,
51-
position: 'right',
52-
},
5345
{
5446
to: 'blog',
5547
label: 'Blog',

website/versioned_docs/version-0.10.x/clientsidequeries.md

Lines changed: 0 additions & 90 deletions
This file was deleted.

website/versioned_docs/version-0.10.x/commands.md

Lines changed: 0 additions & 42 deletions
This file was deleted.

website/versioned_docs/version-0.10.x/concepts.md

Lines changed: 0 additions & 57 deletions
This file was deleted.

website/versioned_docs/version-0.10.x/config.md

Lines changed: 0 additions & 92 deletions
This file was deleted.

0 commit comments

Comments
 (0)