/** * 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'); const Container = CompLibrary.Container; const CWD = process.cwd(); const versions = require(`${CWD}/versions.json`); function Versions(props) { const {config: siteConfig} = props; const latestVersion = versions[0]; const repoUrl = `https://github.com/${siteConfig.organizationName}/${ siteConfig.projectName }`; return (
Latest version of Docusaurus.
{latestVersion} | Documentation | Release Notes |
---|
master | Documentation | Source Code |
---|
Here you can find documentation for previous versions of Docusaurus.
{version} | Documentation | Release Notes |
---|
You can find past versions of this project on{' '} GitHub.