/** * 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. */ const React = require("react"); const CompLibrary = require("../../core/CompLibrary.js"); const Container = CompLibrary.Container; const GridBlock = CompLibrary.GridBlock; const MarkdownBlock = CompLibrary.MarkdownBlock; /* Used to read markdown */ const siteConfig = require(process.cwd() + "/siteConfig.js"); const translate = require("../../server/translate.js").translate; class Button extends React.Component { render() { return (
{this.props.children}
); } } Button.defaultProps = { target: "_self" }; class HomeSplash extends React.Component { render() { return (

{siteConfig.title} {siteConfig.tagline}

); } } class Index extends React.Component { render() { let language = this.props.language || "en"; const showcase = siteConfig.users .filter(user => { return user.pinned; }) .map((user, i) => { return ( ); }); return (


{"Who's Using Docusaurus?"}

Docusaurus is building websites for these projects...

{showcase}
All Docusaurus Users
I’ve helped open source many projects at Facebook and every one needed a website. They all had very similar constraints: the documentation should be written in markdown and be deployed via GitHub pages. None of the existing solutions were great, so I hacked my own and then forked it whenever we needed a new website. I’m so glad that Docusaurus now exists so that I don’t have to spend a week each time spinning up a new one.", image: `${siteConfig.baseUrl}img/christopher-chedeau.jpg`, imageAlign: "top", title: 'Christopher "vjeux" Chedeau
Lead Prettier Developer' }, { content: "Open source contributions to the React Native docs have skyrocketed after our move to Docusaurus. The docs are now hosted on a small repo in plain markdown, with none of the clutter that a typical static site generator would require. Thanks Slash!", image: `${siteConfig.baseUrl}img/hector-ramos.png`, imageAlign: "top", title: 'Hector Ramos
Lead React Native Advocate' }, { content: "Docusaurus has been a great choice for the ReasonML family of projects. It makes our documentation consistent, i18n-friendly, easy to maintain, and friendly for new contributors.", image: `${siteConfig.baseUrl}img/ricky-vetter.jpg`, imageAlign: "top", title: 'Ricky Vetter
Lead Reason-React Developer' } ]} layout="threeColumn" />
); } } module.exports = Index;