forked from npm/documentation
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgatsby-config.js
More file actions
27 lines (27 loc) · 757 Bytes
/
gatsby-config.js
File metadata and controls
27 lines (27 loc) · 757 Bytes
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
module.exports = {
trailingSlash: 'never',
siteMetadata: {
title: 'npm Docs',
shortName: 'npm',
description: 'Documentation for the npm registry, website, and command-line interface',
lang: 'en',
// eslint-disable-next-line max-len
imageUrl: 'https://user-images.githubusercontent.com/29712634/81721690-e2fb5d80-9445-11ea-8602-4b2294c964f3.png',
},
plugins: [
{
resolve: './theme',
options: {
icon: './src/images/npm-favicon.png',
editOnGitHub: true,
showContributors: false,
showSidebarEditLink: false,
repo: {
url: 'https://github.com/npm/documentation',
defaultBranch: 'main',
},
},
},
'gatsby-plugin-meta-redirect',
],
}