2020-09-30 18:25:39 +08:00
|
|
|
const config = {
|
|
|
|
|
gatsby: {
|
|
|
|
|
pathPrefix: '/docs',
|
2020-09-30 19:02:55 +08:00
|
|
|
siteUrl: 'https://nexusjs.org/',
|
2020-09-30 18:25:39 +08:00
|
|
|
titlePrefix: '',
|
|
|
|
|
titleSuffix: '',
|
|
|
|
|
},
|
|
|
|
|
redirects: [],
|
|
|
|
|
header: {
|
2020-09-30 19:02:55 +08:00
|
|
|
logoLink: 'https://nexusjs.org/',
|
2020-09-30 18:25:39 +08:00
|
|
|
title: 'Nexus',
|
|
|
|
|
// check all links
|
|
|
|
|
// links: [
|
|
|
|
|
// { name: 'Docs', link: 'https://www.nexusjs.org/docs' },
|
|
|
|
|
// { name: 'Quickstart', link: 'https://www.prisma.io/docs/getting-started/quickstart' },
|
|
|
|
|
// {
|
|
|
|
|
// name: 'Reference',
|
|
|
|
|
// link: 'https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/api',
|
|
|
|
|
// },
|
|
|
|
|
// { name: 'Blog', link: 'https://www.prisma.io/blog/' },
|
|
|
|
|
// { name: 'Community', link: 'https://www.prisma.io/community/' },
|
|
|
|
|
// { name: 'FAQ', link: 'https://www.prisma.io/docs/more/faq' },
|
|
|
|
|
// ],
|
|
|
|
|
links: [
|
|
|
|
|
{ name: 'Docs', link: '../docs' },
|
2020-11-28 04:30:11 +08:00
|
|
|
{ name: 'Playground', link: 'https://nxs.li/playground' },
|
2020-09-30 18:25:39 +08:00
|
|
|
{ name: 'SDL Converter', link: '../converter' },
|
|
|
|
|
{ name: 'Examples', link: '../docs/getting-started/examples' },
|
|
|
|
|
],
|
|
|
|
|
search: {
|
|
|
|
|
indexName: process.env.GATSBY_ALGOLIA_INDEX_NAME,
|
|
|
|
|
algoliaAppId: process.env.GATSBY_ALGOLIA_APP_ID,
|
|
|
|
|
algoliaSearchKey: process.env.GATSBY_ALGOLIA_SEARCH_KEY,
|
|
|
|
|
algoliaAdminKey: process.env.GATSBY_ALGOLIA_ADMIN_API_KEY,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
siteMetadata: {
|
|
|
|
|
title: 'Nexus - title',
|
|
|
|
|
description: 'Nexus - desc',
|
|
|
|
|
keywords: 'Docs, nexus, 1.0',
|
2020-12-16 22:06:39 +08:00
|
|
|
docsLocation: 'https://github.com/graphql-nexus/nexus/tree/main/docs/content',
|
2020-09-30 18:25:39 +08:00
|
|
|
twitter: {
|
|
|
|
|
site: '@nexusgql',
|
|
|
|
|
creator: '@nexusgql',
|
|
|
|
|
image: '/social/missing.png',
|
|
|
|
|
},
|
|
|
|
|
og: {
|
|
|
|
|
site_name: 'Nexus Schema', // TODO
|
|
|
|
|
type: 'website',
|
|
|
|
|
image: {
|
|
|
|
|
alt: 'Nexus',
|
|
|
|
|
height: '630',
|
|
|
|
|
type: 'image/png',
|
|
|
|
|
url: '/social/missing.png', //replace social image
|
|
|
|
|
width: '1200',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
feedback: {
|
|
|
|
|
function_name: 'https://nexusjs.org/.netlify/functions/index',
|
|
|
|
|
},
|
|
|
|
|
sidebar: {
|
|
|
|
|
tablet_menu_split: [], // Slugs for top level folders which should appear in right pane on tablet
|
|
|
|
|
},
|
|
|
|
|
footer: {
|
|
|
|
|
logoLink: '/',
|
|
|
|
|
title: 'Nexus Schema',
|
|
|
|
|
products: [
|
|
|
|
|
{
|
|
|
|
|
name: 'Prisma Client',
|
|
|
|
|
link: 'https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/crud',
|
|
|
|
|
},
|
|
|
|
|
{ name: 'Prisma 1 Cloud', link: 'https://app.prisma.io/login' },
|
|
|
|
|
// { name: 'Nexus', link: 'https://www.nexusjs.org/' },
|
|
|
|
|
// { name: 'Prisma Admin', link: '/' },
|
|
|
|
|
// { name: 'Prisma Enterprise', link: '/' },
|
|
|
|
|
],
|
|
|
|
|
community: [
|
|
|
|
|
{ name: 'GitHub', link: 'https://github.com/graphql-nexus' },
|
|
|
|
|
{ name: 'GitHub Discussions', link: 'https://nxs.li/discussions' },
|
|
|
|
|
{ name: 'GraphQL Meetup', link: 'https://www.meetup.com/graphql-berlin/' },
|
|
|
|
|
],
|
|
|
|
|
resources: [
|
|
|
|
|
{ name: 'Docs', link: '/' },
|
|
|
|
|
|
|
|
|
|
{ name: 'Tutorial', link: '/getting-started/tutorial/chapter-introduction' },
|
|
|
|
|
|
|
|
|
|
{ name: 'How to GraphQL', link: 'https://www.howtographql.com/' },
|
|
|
|
|
],
|
|
|
|
|
/* start NOT USED */
|
|
|
|
|
company: [
|
|
|
|
|
{ name: 'About', link: 'https://www.prisma.io/about' },
|
|
|
|
|
{ name: 'Jobs', link: 'https://www.prisma.io/jobs' },
|
|
|
|
|
{ name: 'Blog', link: 'https://www.prisma.io/blog/' },
|
|
|
|
|
{
|
|
|
|
|
name: 'Terms & Privacy',
|
|
|
|
|
link: 'https://gist.github.com/nikolasburk/c0f34b0cc50d3403e2e0d40c0e6510aa',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
/* end NOT USED */
|
|
|
|
|
findus: {
|
|
|
|
|
twitterLink: 'https://nxs.li/tweets',
|
|
|
|
|
gitLink: 'https://github.com/graphql-nexus/',
|
|
|
|
|
slackLink: '',
|
|
|
|
|
fbLink: '',
|
|
|
|
|
youtubeLink: '',
|
|
|
|
|
},
|
|
|
|
|
newsletter: {
|
|
|
|
|
text: '',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
module.exports = config
|