-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathgatsby-config.js
53 lines (53 loc) · 1.44 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
module.exports = {
siteMetadata: {
title: 'tseverywhere-docs',
},
plugins: [
'gatsby-plugin-sass',
'gatsby-plugin-mdx',
{
resolve: `gatsby-plugin-page-creator`,
options: {
path: `${__dirname}/docs/src/pages`,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'pages',
path: `${__dirname}/docs/src/pages/`,
},
__key: 'pages',
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'asciidocs',
path: `${__dirname}/docs/src/asciidocs/`,
},
__key: 'asciidocs',
},
{
resolve: `gatsby-plugin-intl`,
options: {
// language JSON resource path
path: `${__dirname}/docs/src/intl`,
// supported language
languages: ['en'],
// language file path
defaultLanguage: 'en',
// option to redirect to `/en` when connecting `/`
redirect: true,
},
},
{
resolve: `gatsby-transformer-asciidoc`,
options: {
attributes: {
showtitle: true,
},
fileExtensions: ['ad', 'adoc'],
},
},
],
};