/** * 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 }`; const defaultDoc = "core/core-intro"; return (

{siteConfig.title} Versions

New versions of this project are released every so often.

Current version (Stable)

> Note that until Bitcoin-S reaches version 1.0.0 it does **_not_** follow [semantic versioning](https://semver.org/)
{latestVersion} {/* You are supposed to change this href where appropriate Example: href="/docs(/:language)/:id" */} Documentation Scaladoc Release Notes

This is the version that is downloaded automatically if you don't specify a version number.

Pre-release versions

master Documentation Source Code

If you want to live dangerously, all merges into master are published as snapshots on{" "} Sonatype .

Past Versions

Here you can find previous versions of the documentation.

{versions.map( version => version !== latestVersion && ( ) )}
{version} {/* You are supposed to change this href where appropriate Example: href="/docs(/:language)/:version/:id" */} Documentation {/* TODO: fix this URL */} Scaladoc Release Notes
); } module.exports = Versions;