Skip to content

Commit

Permalink
Merge branch 'master' into guide-page-styling
Browse files Browse the repository at this point in the history
  • Loading branch information
timglaser committed Jun 2, 2020
2 parents 7ef107e + cea7a49 commit 6ec368a
Show file tree
Hide file tree
Showing 13 changed files with 403 additions and 79 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ you can use the Github `Edit This File` button to submit a change.

To be able to [Clone](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository) this repository and contribute you will need to be given write access to the repository. This is reserved for New Relic Employees only. Please contact the Developer Experience Team if you need write access.

As a non New Relic Employee you can [Fork](https://help.github.com/en/github/getting-started-with-github/fork-a-repo) the repository and contribute as needed.
As a non New Relic employee you can [Fork](https://help.github.com/en/github/getting-started-with-github/fork-a-repo) the repository and contribute as needed.

## Submitting a PR from a forked repo

Expand Down Expand Up @@ -112,4 +112,4 @@ When making educational guide contributions please follow these guidelines.

## Updating navigation

@TODO Need to add how to update navigation when adding new content.
@TODO Need to add how to update navigation when adding new content.
61 changes: 37 additions & 24 deletions gatsby-config.js
Original file line number Diff line number Diff line change
@@ -1,48 +1,50 @@
module.exports = {
siteMetadata: {
title: `New Relic Developers`,
description: `Do more on our platform and make New Relic your own with APIs, SDKs, code snippets, tutorials, and more developer tools.`,
author: `New Relic`,
title: 'New Relic Developers',
description:
'Do more on our platform and make New Relic your own with APIs, SDKs, code snippets, tutorials, and more developer tools.',
author: 'New Relic',
siteUrl: 'https://developer.newrelic.com',
},
plugins: [
`gatsby-plugin-react-helmet`,
'gatsby-plugin-react-helmet',
{
resolve: `gatsby-source-filesystem`,
resolve: 'gatsby-source-filesystem',
options: {
name: `images`,
name: 'images',
path: `${__dirname}/src/images`,
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
`gatsby-plugin-sass`,
'gatsby-transformer-sharp',
'gatsby-plugin-sharp',
'gatsby-plugin-sass',
{
resolve: `gatsby-plugin-manifest`,
resolve: 'gatsby-plugin-manifest',
options: {
name: `gatsby-starter-default`,
short_name: `starter`,
start_url: `/`,
background_color: `#663399`,
theme_color: `#663399`,
display: `minimal-ui`,
icon: `src/images/gatsby-icon.png`, // This path is relative to the root of the site.
name: 'gatsby-starter-default',
short_name: 'starter',
start_url: '/',
background_color: '#663399',
theme_color: '#663399',
display: 'minimal-ui',
icon: 'src/images/gatsby-icon.png', // This path is relative to the root of the site.
},
},
{
resolve: `gatsby-source-filesystem`,
resolve: 'gatsby-source-filesystem',
options: {
name: `markdown-pages`,
name: 'markdown-pages',
path: `${__dirname}/src/markdown-pages`,
},
},
`gatsby-remark-images`,
`gatsby-transformer-remark`,
'gatsby-remark-images',
'gatsby-transformer-remark',
{
resolve: `gatsby-plugin-mdx`,
resolve: 'gatsby-plugin-mdx',
options: {
gatsbyRemarkPlugins: [
{
resolve: `gatsby-remark-images`,
resolve: 'gatsby-remark-images',
options: {
maxWidth: 1200,
},
Expand All @@ -51,11 +53,22 @@ module.exports = {
},
},
{
resolve: `gatsby-plugin-google-tagmanager`,
resolve: 'gatsby-plugin-google-tagmanager',
options: {
id: 'GTM-W77XWWH',
includeInDevelopment: true,
},
},
{
resolve: 'gatsby-plugin-robots-txt',
options: {
host: 'https://developer.newrelic.com',
sitemap: 'https://developer.newrelic.com/sitemap.xml',
// NOTE: policy.disallow can take an array of pages or
// directories for web crawlers to ignore.
policy: [{ userAgent: '*', allow: '/' }],
},
},
'gatsby-plugin-sitemap',
],
};
Loading

0 comments on commit 6ec368a

Please sign in to comment.