Add netlify config

This commit is contained in:
Trevor Blades
2019-03-05 14:54:23 -08:00
parent fcf5115dda
commit a3ae60da0a
2 changed files with 7 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ module.exports = {
subtitle: 'Platform',
description: 'How to use the Apollo GraphQL platform',
contentDir: 'source',
basePath: '/docs/platform',
basePath: '/docs',
githubRepo: 'apollographql/apollo',
sidebarCategories: {
null: [

6
netlify.toml Normal file
View File

@@ -0,0 +1,6 @@
[build]
base = "docs/"
publish = "docs/public/"
command = "gatsby build --prefix-paths && mkdir -p docs && mv public/* docs && mv docs public/"
[build.environment]
NPM_VERSION = "6"