mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-29 21:42:50 +00:00
fix(v2): remove duplicate section on Versions page (#3960)
This commit is contained in:
parent
88a6f56654
commit
863a4d85d3
|
|
@ -73,25 +73,6 @@ function Version() {
|
|||
</table>
|
||||
</div>
|
||||
|
||||
{currentVersion !== latestVersion && (
|
||||
<div className="margin-bottom--lg">
|
||||
<h3 id="next">Next version (Unreleased)</h3>
|
||||
<p>Here you can find the documentation for unreleased version.</p>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>master</th>
|
||||
<td>
|
||||
<Link to={currentVersion.path}>Documentation</Link>
|
||||
</td>
|
||||
<td>
|
||||
<a href={repoUrl}>Source Code</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
)}
|
||||
{pastVersions.length > 0 && (
|
||||
<div className="margin-bottom--lg">
|
||||
<h3 id="archive">Past versions (Not maintained anymore)</h3>
|
||||
|
|
|
|||
Loading…
Reference in New Issue