Files
flipper/website/siteConfig.js
Pascal Hartig d41df85ab7 Add codeblock buttons
Summary: Shamelessly ripped off from docusaurus.io

Reviewed By: jknoxville

Differential Revision: D15123501

fbshipit-source-id: 10451c72494e022af5887d4c78ef0db1ff581254
2019-04-29 15:43:22 -07:00

47 lines
1.3 KiB
JavaScript

/**
* Copyright 2018-present Facebook.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* @format
*/
const repoUrl = 'https://github.com/facebook/flipper';
const siteConfig = {
title: 'Flipper' /* title for your website */,
tagline: 'Extensible mobile app debugging',
url: 'https://fbflipper.com/' /* your website url */,
baseUrl: '/' /* base url for your project */,
projectName: 'flipper',
headerLinks: [
{doc: 'getting-started', label: 'Getting Started'},
{doc: 'understand', label: 'Docs'},
{href: repoUrl, label: 'GitHub'},
],
editUrl: 'https://github.com/facebook/flipper/blob/master/docs/',
/* path to images for header/footer */
headerIcon: 'img/icon.png',
footerIcon: 'img/mascot.png',
favicon: 'img/icon.png',
/* colors for website */
colors: {
primaryColor: '#121020',
secondaryColor: '#121020',
accentColor: '#785BA3',
actionColor: '#008cf2',
},
copyright: 'Copyright © ' + new Date().getFullYear() + ' Facebook',
highlight: {
theme: 'default',
},
scripts: [
'https://buttons.github.io/buttons.js',
'https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js',
'/js/code-blocks-buttons.js',
],
repoUrl,
stylesheets: [],
onPageNav: 'separate',
};
module.exports = siteConfig;