-
Notifications
You must be signed in to change notification settings - Fork 2.6k
/
gatsby-config.js
118 lines (117 loc) · 3.69 KB
/
gatsby-config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
const themeOptions = require('gatsby-theme-apollo-docs/theme-options');
module.exports = {
plugins: [
{
resolve: 'gatsby-theme-apollo-docs',
options: {
...themeOptions,
root: __dirname,
pathPrefix: '/docs/react',
algoliaIndexName: 'react',
subtitle: 'Client (React)',
description: 'A guide to using the Apollo GraphQL Client with React',
githubRepo: 'apollographql/apollo-client',
defaultVersion: '3',
versions: {
'2': 'version-2.6',
},
checkLinksOptions: {
exceptions: [
'/api/core/ApolloClient/',
'/v2/api/apollo-client/',
],
},
sidebarCategories: {
null: [
'index',
'why-apollo',
'get-started',
'[Changelog](https://github.com/apollographql/apollo-client/blob/main/CHANGELOG.md)',
],
'Fetching': [
'data/queries',
'data/mutations',
'data/refetching',
'data/subscriptions',
'data/fragments',
'data/error-handling',
'data/operation-best-practices'
],
Caching: [
'caching/overview',
'caching/cache-configuration',
'caching/cache-interaction',
'caching/garbage-collection',
'caching/cache-field-behavior',
'caching/advanced-topics'
],
Pagination: [
'pagination/overview',
'pagination/core-api',
'pagination/offset-based',
'pagination/cursor-based',
'pagination/key-args'
],
'Local State': [
'local-state/local-state-management',
'local-state/managing-state-with-field-policies',
'local-state/reactive-variables',
'local-state/client-side-schema',
'local-state/local-resolvers'
],
'Development & Testing': [
'development-testing/developer-tooling',
'development-testing/static-typing',
'development-testing/testing',
'development-testing/client-schema-mocking',
],
Performance: [
'performance/performance',
'performance/optimistic-ui',
'performance/server-side-rendering',
'performance/babel',
],
Integrations: [
'integrations/integrations',
'integrations/react-native',
'integrations/webpack',
],
Networking: [
'networking/basic-http-networking',
'networking/advanced-http-networking',
'networking/authentication',
],
Migrating: [
'migrating/apollo-client-3-migration',
'migrating/hooks-migration'
],
'API - Core': [
'api/core/ApolloClient',
'api/cache/InMemoryCache',
'api/core/ObservableQuery'
],
'API - React': [
'api/react/hooks',
'api/react/testing',
'api/react/ssr',
'api/react/components',
'api/react/hoc'
],
'API - Link': [
'api/link/introduction',
'api/link/apollo-link-http',
'api/link/apollo-link-batch-http',
'api/link/apollo-link-context',
'api/link/apollo-link-error',
'api/link/persisted-queries',
'api/link/apollo-link-rest',
'api/link/apollo-link-retry',
'api/link/apollo-link-schema',
'api/link/apollo-link-ws',
'api/link/community-links'
],
},
},
},
],
};