Skip to content

Commit

Permalink
Make Netlify happy
Browse files Browse the repository at this point in the history
  • Loading branch information
lex111 committed Oct 12, 2020
1 parent 9632b6e commit 84aa3c7
Showing 1 changed file with 24 additions and 21 deletions.
45 changes: 24 additions & 21 deletions website/src/pages/versions.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,27 +30,30 @@ function Version() {
description="Docusaurus 2 Versions page listing all documented site versions">
<main className="container margin-vert--lg">
<h1>Docusaurus documentation versions</h1>
<div className="margin-bottom--lg">
<h3 id="next">Current version (Stable)</h3>
<p>
Here you can find the documentation for current released version.
</p>
<table>
<tbody>
<tr>
<th>{stableVersion.name}</th>
<td>
<Link to={stableVersion.path}>Documentation</Link>
</td>
<td>
<a href={`${repoUrl}/releases/tag/v${stableVersion.name}`}>
Release Notes
</a>
</td>
</tr>
</tbody>
</table>
</div>

{stableVersion && (
<div className="margin-bottom--lg">
<h3 id="next">Current version (Stable)</h3>
<p>
Here you can find the documentation for current released version.
</p>
<table>
<tbody>
<tr>
<th>{stableVersion.name}</th>
<td>
<Link to={stableVersion.path}>Documentation</Link>
</td>
<td>
<a href={`${repoUrl}/releases/tag/v${stableVersion.name}`}>
Release Notes
</a>
</td>
</tr>
</tbody>
</table>
</div>
)}

<div className="margin-bottom--lg">
<h3 id="latest">Next version (Unreleased)</h3>
Expand Down

0 comments on commit 84aa3c7

Please sign in to comment.