forked from carbon-design-system/carbon-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
77 lines (76 loc) · 2.09 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
const path = require('path');
module.exports = {
trailingSlash: `always`,
siteMetadata: {
title: 'Carbon Design System',
siteUrl: 'https://www.carbondesignsystem.com',
description:
'Carbon is the design system for IBM web and product. It is a series of individual styles, components, and guidelines used for creating unified UI.',
keywords:
'IBM, design, system, Carbon, design system, Bluemix, styleguide, style, guide, components, library, pattern, kit, component, cloud',
},
plugins: [
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'component-index-images',
path: path.join(__dirname, 'src/data/index'),
ignore: ['**/*.js', '**/*.yml', '**/.*'],
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'chart-index-images',
path: path.join(__dirname, 'src/data/chart-index'),
ignore: ['**/*.js', '**/*.yml', '**/.*'],
},
},
{
resolve: 'gatsby-remark-images',
options: {
maxWidth: 1152,
linkImagesToOriginal: false,
quality: 75,
withWebp: false,
},
},
'gatsby-plugin-sharp',
'gatsby-transformer-sharp',
'gatsby-plugin-lodash',
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'Carbon Design System',
short_name: 'Carbon',
icon: 'src/images/favicon.svg',
start_url: '/',
display: 'browser',
},
},
{
resolve: 'gatsby-theme-carbon',
options: {
mdxExtensions: ['.mdx'],
isServiceWorkerEnabled: false,
iconPath: './src/images/favicon.svg',
titleType: 'prepend',
repository: {
baseUrl: 'https://github.com/carbon-design-system/carbon-website',
subDirectory: '',
},
mediumAccount: 'carbondesign',
theme: {
homepage: 'white',
},
},
},
'gatsby-plugin-sitemap',
{
resolve: 'gatsby-plugin-chart-index',
options: {
directory: path.resolve(__dirname, './src/data/chart-index'),
},
},
],
};