text: const dotenv = require("dotenv")
  
  dotenv.config({
    path: `.env.${process.env.NODE_ENV}`,
  })
  
  module.exports = {
    pathPrefix: `/docs`,
    siteMetadata: {
      title: `Pantheon Docs`,
      description: `Information for building, launching, and running dynamic sites on the Pantheon Website Management Platform`,
      siteUrl: `http://pantheon.io/`,
      social: {
        twitter: `getpantheon`,
      },
      terminus: {
        version: "2.0.1",
      },
    },
    mapping: {
      "Mdx.frontmatter.contributors": "ContributorYaml",
    },
    plugins: [
      `gatsby-transformer-remark`,
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          path: `${__dirname}/../source/data`,
          name: `data`,
        },
      },
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          path: `${__dirname}/../source/docs/assets/images`,
          name: `images`,
        },
      },
      {
        resolve: `gatsby-source-filesystem`,
        options: {
          path: `${__dirname}/../source/content`,
          name: `content`,
        },
      },
      `gatsby-transformer-yaml`,
      `gatsby-transformer-json`,
      {
        resolve: `gatsby-mdx`,
        options: {
          extensions: [".mdx", ".md"],
          gatsbyRemarkPlugins: [
            {
              resolve: "gatsby-remark-images",
              options: {
                maxWidth: 1035,
                sizeByPixelDensity: true,
                showCaptions: true,
                linkImagesToOriginal: false,
              },
            },
            {
              resolve: `gatsby-remark-prismjs`,
              options: {
                classPrefix: "language-",
                inlineCodeMarker: null,
                aliases: {},
              },
            },
            {
              resolve: "gatsby-remark-external-links",
              options: {
                target: null,
                rel: "nofollow noopener noreferrer external",
              },
            },
            `gatsby-remark-slug`,
          ],
        },
      },
      `gatsby-transformer-sharp`,
      `gatsby-plugin-sharp`,
      {
        resolve: "gatsby-plugin-web-font-loader",
        options: {
          google: {
            families: ["Open Sans"],
          },
        },
      },
      {
        resolve: `gatsby-plugin-google-analytics`,
        options: {
          //trackingId: `ADD YOUR TRACKING ID HERE`,
        },
      },
      `gatsby-plugin-react-helmet`,
    ],
  }
  