docusaurus/website/siteConfig.js
Joel Marcey 317fa99572 Add social buttons at the bottom of blog posts.
Also, update the siteConfig api docs
2017-12-13 20:10:27 -08:00

110 lines
2.7 KiB
JavaScript

/**
* 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.
*/
/* List of projects/orgs using your project for the users page */
const users = [
{
caption: "Prettier",
image: "/img/prettier.png",
infoLink: "https://www.prettier.io",
pinned: true
},
{
caption: "FastText",
image: "/img/fasttext.png",
infoLink: "https://fasttext.cc",
pinned: true
},
{
caption: "Jest",
image: "/img/jest.png",
infoLink: "https://facebook.github.io/jest/",
pinned: true
},
{
caption: "Reason React",
image: "/img/reason-react.svg",
infoLink: "https://reasonml.github.io/reason-react/",
pinned: true
},
{
caption: "MakeItOpen",
image: "/img/makeitopen.png",
infoLink: "http://makeitopen.com/",
pinned: true
},
{
caption: "React Native",
image: "/img/react-native.svg",
infoLink: "https://facebook.github.io/react-native",
pinned: true
},
{
caption: "Relay",
image: "/img/relay.svg",
infoLink: "https://facebook.github.io/relay/",
pinned: true
},
{
caption: "Bucklescript",
image: "/img/bucklescript.svg",
infoLink: "https://bucklescript.github.io/",
pinned: true
},
{
caption: "Docusaurus",
image: "/img/docusaurus.svg",
infoLink: "https://www.docusaurus.io",
pinned: true
}
];
const siteConfig = {
title: "Docusaurus",
tagline: "Easy to Maintain Open Source Documentation Websites",
url: "https://docusaurus.io",
baseUrl: "/",
organizationName: "facebook",
projectName: "Docusaurus",
cname: "docusaurus.io",
noIndex: false,
users,
editUrl:
"https://github.com/facebook/docusaurus/edit/master/docs/",
headerLinks: [
{ doc: "installation", label: "Docs" },
{ page: "help", label: "Help" },
{ page: "about-slash", label: "About /"},
{ blog: true, label: "Blog" },
{
href: "https://github.com/facebook/docusaurus",
label: "GitHub"
}
],
headerIcon: "img/docusaurus.svg",
footerIcon: "img/docusaurus_monochrome.svg",
favicon: "img/docusaurus.ico",
algolia: {
apiKey: "3eb9507824b8be89e7a199ecaa1a9d2c",
indexName: "docusaurus"
},
colors: {
primaryColor: "#2E8555",
secondaryColor: "#205C3B"
},
translationRecruitingLink: "https://crowdin.com/project/docusaurus",
copyright: "Copyright © " + new Date().getFullYear() + " Facebook Inc.",
highlight: {
theme: "solarized-dark"
},
scripts: ["https://buttons.github.io/buttons.js"],
gaTrackingId: "UA-44373548-31",
facebookAppId: "1615782811974223",
twitter: "true",
};
module.exports = siteConfig;