Skip to content

Commit c72f281

Browse files
authored
docs: Configure custom Algolia filters (#8868)
* Configure algolia filters * Upgrade theme * Upgrade theme
1 parent a1af48f commit c72f281

File tree

3 files changed

+42
-24
lines changed

3 files changed

+42
-24
lines changed

docs/gatsby-config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ module.exports = {
99
root: __dirname,
1010
pathPrefix: '/docs/react',
1111
algoliaIndexName: 'react',
12+
algoliaFilters: ['docset:react', 'docset:server'],
1213
subtitle: 'Client (React)',
1314
description: 'A guide to using the Apollo GraphQL Client with React',
1415
githubRepo: 'apollographql/apollo-client',

docs/package-lock.json

Lines changed: 40 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"dependencies": {
1010
"gatsby": "2.32.13",
11-
"gatsby-theme-apollo-docs": "5.0.8",
11+
"gatsby-theme-apollo-docs": "5.1.0",
1212
"react": "17.0.2",
1313
"react-dom": "17.0.1",
1414
"webpack-virtual-modules": "0.4.3"

0 commit comments

Comments
 (0)