text: const resolve = require('path').resolve;
  const DOC_TABLE_OF_CONTENTS = require('../docs/table-of-contents.json');
  
  module.exports = {
    plugins: [
      {
        resolve: `gatsby-theme-ocular`,
        options: {
          logLevel: 1, // Adjusts amount of debug information from ocular-gatsby
  
          // Folders
          DIR_NAME: __dirname,
          ROOT_FOLDER: `${__dirname}/../`,
  
          DOCS: DOC_TABLE_OF_CONTENTS,
          DOC_FOLDERS: [
            `${__dirname}/../docs/`,
            `${__dirname}/../modules/`,
            `${__dirname}/../arrowjs/`
          ],
          SOURCE: [`${__dirname}/static`, `${__dirname}/src`],
  
          PROJECT_TYPE: 'github',
  
          PROJECT_NAME: 'loaders.gl',
          PROJECT_ORG: 'uber-web',
          PROJECT_ORG_LOGO: 'images/uber-logo.png',
          PROJECT_URL: 'https://github.com/visgl/loaders.gl',
          PROJECT_DESC: 'Loaders for Big Data Visualization',
          PATH_PREFIX: '/',
  
          GA_TRACKING: null,
  
          // For showing star counts and contributors.
          // Should be like btoa('YourUsername:YourKey') and should be readonly.
          GITHUB_KEY: null,
  
          HOME_PATH: '/',
  
          PROJECTS: [
            {
              name: 'deck.gl',
              url: 'https://deck.gl'
            },
            {
              name: 'luma.gl',
              url: 'https://luma.gl'
            },
            {
              name: 'react-map-gl',
              url: 'https://uber.github.io/react-map-gl'
            },
            {
              name: 'nebula.gl',
              url: 'https://nebula.gl/'
            }
          ],
  
          LINK_TO_GET_STARTED: '/docs/developer-guide/get-started',
  
          ADDITIONAL_LINKS: [{
            name: 'Blog',
            href: 'http://medium.com/vis-gl',
            index: 1
          }],
  
          STYLESHEETS: [''],
  
          INDEX_PAGE_URL: resolve(__dirname, './templates/index.jsx'),
  
          EXAMPLES: [
            {
              title: 'Point Cloud Loaders',
              image: 'images/example-pointcloud.jpg',
              componentUrl: resolve(__dirname, '../examples/deck.gl/pointcloud/app.js'),
              path: 'examples/pointcloud'
            },
            {
              title: 'glTF Helmet',
              image: 'images/example-gltf.jpg',
              componentUrl: resolve(__dirname, './templates/example-gltf.jsx'),
              path: 'examples/gltf'
            },
            {
              title: '3D Tiles (Melbourne etc)',
              image: 'images/example-3d-tiles.png',
              componentUrl: resolve(__dirname, '../examples/deck.gl/3d-tiles/app.js'),
              path: 'examples/3d-tiles'
            },
            {
              title: 'I3S (San Francisco)',
              image: 'images/example-i3s.jpg',
              componentUrl: resolve(__dirname, '../examples/deck.gl/i3s/app.js'),
              path: 'examples/i3s'
            },
            {
              title: 'Benchmarks',
              image: 'images/benchmark.png',
              componentUrl: resolve(__dirname, '../examples/benchmarks/app-website.js'),
              path: 'examples/benchmarks'
            }
          ]
        }
      },
      {resolve: 'gatsby-plugin-no-sourcemaps'},
      {
        resolve: 'gatsby-plugin-env-variables',
        options: {
          whitelist: ['MapboxAccessToken']
        }
      }
    ]
  };
  