docs: function withSharo(nextConfig = {}) {
    // https://github.com/zeit/next-plugins/issues/320
    const withMdx = require('@zeit/next-mdx')({
    // Allow regular markdown files (*.md) to be imported.
      extension: /\.mdx?$/
    })
  
    return (
      withSass(withMdx(
        Object.assign(
          // =====================================================================
          // Default configurations (can be overridden by nextConfig)
          // =====================================================================
          {
            // Currently empty
          },
          // =====================================================================
          // Override default configurations with nextConfig
          // =====================================================================
          nextConfig,
          // =====================================================================
          // Override nextConfig configurations
          // (note to self: follow Next.js rules on this section)
          // =====================================================================
          {
            webpack(config, options) {
            // Allow autoresolving of MDX (*.md, *.mdx) and SCSS (*.scss, *.sass)
              config.resolve.extensions.push('.md', '.mdx', '.scss', '.sass')
  
              if (typeof nextConfig.webpack === 'function') {
                return nextConfig.webpack(config, options)
              }
  
              return config
            }
          }
        )
      ))
    )
  }