text: const { path } = require('@vuepress/utils')
  const { registerComponentsPlugin } = require('@vuepress/plugin-register-components')
  const { searchPlugin } = require('@vuepress/plugin-search')
  const { localTheme } = require('../../emiyl-theme')
  
  module.exports = {
      lang: 'en-US',
      title: 'AppleDB',
      description: 'A database of Apple software and devices.',
    
      theme: localTheme({
        repo: 'emiyl/appledb',
        selectLanguageText: '<i class="fas fa-globe"/>',
        logo: '/assets/images/logo.png',
        logoDark: '/assets/images/logo_dark.png',
        repoLabel: '<i class="fab fa-github icon"></i>',
        navbar: [
          {
            text: 'Devices',
            link: '/device-selection/'
          },
          {
            text: 'Firmwares',
            link: '/firmwares.html'
          },
          {
            text: 'Credits',
            link: '/credits.html'
          },
          {
            text: 'iOS Guide',
            link: 'https://ios.cfw.guide/'
          }
        ]
      }),
  
      plugins: [
        searchPlugin({
          locales: {
            '/': {
              placeholder: 'Search',
            },
          }
        }),
        registerComponentsPlugin({
          componentsDir: path.resolve(__dirname, './components'),
        }),
        require('./plugins/newDynamicPages/lib/'),
        require('./plugins/redirectPlugin/lib')
      ],
  
      shouldPrefetch: false,
    
      head: [
        [ 'meta', { property: 'og:image', content: '/assets/images/splash-23aaron-logo.jpg' } ],
        [ 'link', { rel: 'stylesheet', href: 'https://use.fontawesome.com/releases/v5.6.1/css/all.css' } ],
      ],
  }