/** * 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. */ import React, {useContext} from 'react'; import Head from '@docusaurus/Head'; import DocusaurusContext from '@docusaurus/context'; import Link from '@docusaurus/Link'; import Layout from '@theme/Layout'; import classnames from 'classnames'; import styles from './styles.module.css'; const QUOTES = [ { thumbnail: 'img/christopher-chedeau.jpg', name: 'Christopher "vjeux" Chedeau', title: 'Lead Prettier Developer', text: ( <> 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. ), }, { thumbnail: 'img/hector-ramos.png', name: 'Hector Ramos', title: 'Lead React Native Advocate', text: ( <> 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! ), }, { thumbnail: 'img/ricky-vetter.jpg', name: 'Ricky Vetter', title: 'ReasonReact Developer', text: ( <> 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. ), }, ]; function Home() { const context = useContext(DocusaurusContext); const {siteConfig = {}} = context; // TODO: (wrapper function) API so that user won't need to concatenate url manually const feedbackUrl = `${siteConfig.baseUrl}feedback/`; const gettingStartedUrl = `${siteConfig.baseUrl}docs/introduction`; return (

Docusaurus with Keytar {siteConfig.title} makes it easy to maintain{' '} Open Source {' '} documentation websites.

Get Started