diff --git a/src/pages/versions.js b/src/pages/versions.js deleted file mode 100644 index cd8208eed6..0000000000 --- a/src/pages/versions.js +++ /dev/null @@ -1,153 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -import Layout from '@theme/Layout'; -import clsx from 'clsx'; - -import styles from './index.module.css'; - -const React = require('react'); - -const CompLibrary = { - Container: (props) =>
, - GridBlock: (props) =>
, - MarkdownBlock: (props) =>
, -}; - -const { Container } = CompLibrary; - -// const versions = require(`../../versions.json`); -const versions = []; - -function Versions(props) { - const { config: siteConfig } = props; - const latestVersion = versions[0]; - const repoUrl = `https://github.com/${siteConfig.organizationName}/${siteConfig.projectName}`; - return ( -
- -
-
-

{siteConfig.title} Versions

-
-

- New versions of Apify SDK are released once a month or - so. With major releases once a year. -

-

Current version (Stable)

- - - - - - - - -
{latestVersion} - {/* You are supposed to change this href where appropriate - Example: href="/docs(/:language)/:id" */} - - Documentation - - - - Release Notes - -
-

- This is the version that is configured automatically - when you first install Apify SDK. -

-

Pre-release versions

- - - - - - - - -
master - {/* You are supposed to change this href where appropriate - Example: href="/docs(/:language)/next/:id" */} - - Documentation - - - Source Code -
-

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 - - - - Release Notes - -
-

- You can find past versions of this project on{' '} - GitHub. -

-
-
-
- ); -} - -export default (props) => ( - - - -);