forked from prisma/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
123 lines (120 loc) · 4.24 KB
/
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
119
120
121
122
123
const config = {
gatsby: {
pathPrefix: '/docs',
siteUrl: 'https://www.prisma.io',
},
redirects: [
{
from: '/reference/tools-and-interfaces/prisma-schema/prisma-schema-file',
to: '/reference/tools-and-interfaces/prisma-schema',
},
{
from: '/reference/tools-and-interfaces/prisma-client/api',
to: '/reference/tools-and-interfaces/prisma-client',
},
],
header: {
logoLink: 'https://www.prisma.io',
title: 'Prisma',
links: [
{ name: 'Docs', link: '/' },
{ name: 'Quickstart', link: '/getting-started/quickstart' },
{
name: 'Reference',
link: '/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: '/more/faq' },
{ name: 'Prisma 1', link: 'https://www.prisma.io/docs/1.34' },
],
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: 'Prisma - Database tools for modern application development',
description:
'Prisma replaces traditional ORMs and can be used to build GraphQL servers, REST APIs, microservices & more.',
keywords: 'Docs, prisma, 2.0',
docsLocation: 'https://github.com/prisma/docs/tree/master/content',
twitter: {
site: '@prisma',
creator: '@prisma',
image: '/social/docs-social.png',
},
og: {
site_name: 'Prisma',
type: 'website',
image: {
alt: 'Database tools for modern developers',
height: '630',
type: 'image/png',
url: '/social/docs-social.png',
width: '1200',
},
},
},
feedback: {
function_name: 'https://prisma2.netlify.app/.netlify/functions/index',
},
sidebar: {
tablet_menu_split: ['04-guides', '05-more'], // Slugs for top level folders which should appear in right pane on tablet
},
footer: {
logoLink: '/',
title: 'Prisma',
products: [
{
name: 'Prisma Client',
link: '/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: 'Meet the community', link: 'https://www.prisma.io/community' },
{ name: 'Slack', link: 'https://slack.prisma.io/' },
{ name: 'Github', link: 'https://github.com/prisma' },
{ name: 'Discussions', link: 'https://github.com/prisma/prisma/discussions' },
{ name: 'GraphQL Meetup', link: 'https://www.meetup.com/graphql-berlin/' },
{ name: 'TypeScript Meetup', link: 'https://www.meetup.com/TypeScript-Berlin/' },
],
resources: [
{ name: 'Docs', link: '/' },
{ name: 'Get started', link: '/getting-started/quickstart' },
{
name: 'API Reference',
link: '/reference/tools-and-interfaces/prisma-client/generating-prisma-client',
},
{ name: 'Examples', link: 'https://github.com/prisma/prisma-examples' },
{ name: 'How to GraphQL', link: 'https://www.howtographql.com/' },
{ name: 'PostgreSQL Tutorial', link: 'https://www.prisma.io/tutorials/?tag=postgresql' },
],
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',
},
],
newsletter: {
text: 'Stay up to date with the latest features and changes to Prisma',
},
findus: {
twitterLink: 'https://twitter.com/prisma',
youtubeLink: 'https://www.youtube.com/channel/UCptAHlN1gdwD89tFM3ENb6w',
fbLink: 'https://www.facebook.com/prisma.io',
slackLink: 'https://slack.prisma.io/',
gitLink: 'https://github.com/prisma',
},
},
}
module.exports = config