2017-11-22 17:12:27 +00:00
|
|
|
/*eslint sort-keys: 0*/
|
|
|
|
/**
|
|
|
|
* Copyright (c) 2017-present, Facebook, Inc.
|
|
|
|
*
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
|
*/
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
const siteConfig = {
|
|
|
|
title: 'Metro',
|
|
|
|
tagline: '🚇 The JavaScript bundler for React Native',
|
|
|
|
url: 'https://facebook.github.io',
|
2017-11-30 11:56:25 +00:00
|
|
|
baseUrl: '/metro/',
|
|
|
|
projectName: 'metro',
|
|
|
|
repo: 'facebook/metro',
|
|
|
|
editUrl: 'https://github.com/facebook/metro/edit/master/docs/',
|
2017-11-22 17:12:27 +00:00
|
|
|
headerLinks: [
|
|
|
|
{doc: 'getting-started', label: 'Docs'},
|
|
|
|
{doc: 'api', label: 'API'},
|
|
|
|
{page: 'help', label: 'Help'},
|
|
|
|
{blog: true, label: 'Blog'},
|
|
|
|
{languages: true},
|
|
|
|
{search: true},
|
2017-11-30 11:56:25 +00:00
|
|
|
{href: 'https://github.com/facebook/metro', label: 'GitHub'},
|
2017-11-22 17:12:27 +00:00
|
|
|
],
|
|
|
|
headerIcon: 'img/metro.svg',
|
|
|
|
footerIcon: 'img/metro.svg',
|
|
|
|
favicon: 'img/favicon/favicon.ico',
|
|
|
|
ogImage: 'img/opengraph.png',
|
2017-11-30 11:56:25 +00:00
|
|
|
recruitingLink: 'https://crowdin.com/project/metro',
|
2017-11-22 17:12:27 +00:00
|
|
|
algolia: {
|
|
|
|
apiKey: process.env.ALGOLIA_METRO_API_KEY,
|
|
|
|
indexName: 'metro',
|
|
|
|
},
|
|
|
|
gaTrackingId: 'UA-44373548-17',
|
|
|
|
colors: {
|
|
|
|
primaryColor: '#ef4242',
|
|
|
|
secondaryColor: '#f96e6e',
|
|
|
|
prismColor: 'rgba(153, 66, 79, 0.03)',
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = siteConfig;
|