docs(v1): version page should recommend v2 (#4047)

* Update siteConfig.js

* Update siteConfig.js

* update the versions page

* update the versions page

* Update website-1.x/pages/en/versions.js

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
This commit is contained in:
Sébastien Lorber 2021-01-14 17:30:54 +01:00 committed by GitHub
parent 0252d01ebb
commit 0f49192a9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,8 +26,23 @@ function Versions(props) {
<header className="postHeader">
<h1>{siteConfig.title} Versions</h1>
</header>
<h3 id="v2">Docusaurus v2</h3>
<p>
We recommend to use{' '}
<a href={`https://v2.docusaurus.io/`}>Docusaurus v2</a>.
</p>
<table className="versions">
<tbody>
<tr>
<th>2.x</th>
<td>
<a href="https://v2.docusaurus.io">Documentation</a>
</td>
</tr>
</tbody>
</table>
<h3 id="latest">Current version (Stable)</h3>
<p>Latest version of Docusaurus.</p>
<p>Latest version of Docusaurus v1.</p>
<table className="versions">
<tbody>
<tr>
@ -47,7 +62,8 @@ function Versions(props) {
</tbody>
</table>
<h3 id="rc">Latest Version</h3>
Here you can find the latest documentation and unreleased code.
Here you can find the latest documentation and unreleased Docusaurus
v1 code.
<table className="versions">
<tbody>
<tr>