docs(v1): version page should recommend v2 (bis) (#4049)

* 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>

* update the versions page

* update versions page

* update versions page

Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
This commit is contained in:
Sébastien Lorber 2021-01-14 17:58:42 +01:00 committed by GitHub
parent 0f49192a9a
commit 0a75ed5d49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 9 deletions

View File

@ -1 +0,0 @@

View File

@ -26,10 +26,10 @@ function Versions(props) {
<header className="postHeader">
<h1>{siteConfig.title} Versions</h1>
</header>
<h3 id="v2">Docusaurus v2</h3>
<h2 id="v2">Docusaurus v2</h2>
<p>
We recommend to use{' '}
<a href={`https://v2.docusaurus.io/`}>Docusaurus v2</a>.
We now recommend using{' '}
<a href="https://v2.docusaurus.io">Docusaurus v2</a>.
</p>
<table className="versions">
<tbody>
@ -41,7 +41,8 @@ function Versions(props) {
</tr>
</tbody>
</table>
<h3 id="latest">Current version (Stable)</h3>
<h2 id="v1">Docusaurus v1</h2>
<h3 id="latest">Current v1 version (Stable)</h3>
<p>Latest version of Docusaurus v1.</p>
<table className="versions">
<tbody>
@ -62,12 +63,11 @@ function Versions(props) {
</tbody>
</table>
<h3 id="rc">Latest Version</h3>
Here you can find the latest documentation and unreleased Docusaurus
v1 code.
<p>Unreleased Docusaurus v1 code.</p>
<table className="versions">
<tbody>
<tr>
<th>master</th>
<th>v1 master</th>
<td>
<a
href={`${siteConfig.baseUrl}${siteConfig.docsUrl}/${props.language}/next/installation`}>
@ -82,7 +82,8 @@ function Versions(props) {
</table>
<h3 id="archive">Past Versions</h3>
<p>
Here you can find documentation for previous versions of Docusaurus.
Here you can find documentation for previous versions of Docusaurus
v1.
</p>
<table className="versions">
<tbody>