Skip to content

Commit

Permalink
use id attribute instead of name for in page anchors and remove redun…
Browse files Browse the repository at this point in the history
…dant anchors
  • Loading branch information
ronami committed Feb 13, 2018
1 parent c46a0f7 commit 6036226
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions website/pages/en/versions.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ class Versions extends React.Component {
<header className="postHeader">
<h2>{siteConfig.title + ' Versions'}</h2>
</header>
<a name="latest" />
<h3>Current version (Stable)</h3>
<h3 id="latest">Current version (Stable)</h3>
<p>Latest stable version of Jest</p>
<table className="versions">
<tbody>
Expand All @@ -47,8 +46,7 @@ class Versions extends React.Component {
</tr>
</tbody>
</table>
<a name="rc" />
<h3>Latest version</h3>
<h3 id="rc">Latest version</h3>
<p>
Here you can find the latest unreleased documentation and code.
</p>
Expand All @@ -71,8 +69,7 @@ class Versions extends React.Component {
</tr>
</tbody>
</table>
<a name="archive" />
<h3>Past Versions</h3>
<h3 id="archive">Past Versions</h3>
<p>
Here you can find documentation for previous versions of Jest.
</p>
Expand Down

0 comments on commit 6036226

Please sign in to comment.