From 5604e3177faf5be96c66c49e2395233701fbeafd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jind=C5=99ich=20B=C3=A4r?= Date: Wed, 23 Jul 2025 14:07:33 +0200 Subject: [PATCH] docs: remove versions page --- website/src/pages/versions.js | 152 ---------------------------------- 1 file changed, 152 deletions(-) delete mode 100644 website/src/pages/versions.js diff --git a/website/src/pages/versions.js b/website/src/pages/versions.js deleted file mode 100644 index ab88dfe3a6..0000000000 --- a/website/src/pages/versions.js +++ /dev/null @@ -1,152 +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`); - -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) => ( - - - -);