Add explicit anchors for releases in release notes

Change-Id: I4610fd3abe2749d01d9080a04760228178ba8808
diff --git a/releases/2.12.md b/releases/2.12.md
index 9441214..6cbfa57 100644
--- a/releases/2.12.md
+++ b/releases/2.12.md
@@ -596,7 +596,7 @@
 
 ## Bugfix Releases
 
-### 2.12.5
+### 2.12.5 {#2.12.5}
 
 * New preference to enable line wrapping in diff screen and inline editor.
 
@@ -641,7 +641,7 @@
   It was possible that changes could be updated in the time between the query
   results being returned and the change being abandoned.
 
-### 2.12.4
+### 2.12.4 {#2.12.4}
 
 * [Issue 4400](https://bugs.chromium.org/p/gerrit/issues/detail?id=4400):
 Fix `AlreadyClosedException` in Lucene index.
@@ -715,7 +715,7 @@
 * [Issue 4036](https://bugs.chromium.org/p/gerrit/issues/detail?id=4036):
 Fix hanging query when using `is:watched` without authentication.
 
-### 2.12.3
+### 2.12.3 {#2.12.3}
 
 * Fix SSL security issue in the SMTP email relay.
 
@@ -778,7 +778,7 @@
 * Show an error message when trying to add a non-existent group to an ACL.
 
 
-### 2.12.2
+### 2.12.2 {#2.12.2}
 
 * Upgrade Apache commons-collections to version 3.2.2.
 
@@ -805,7 +805,7 @@
 Fix internal server error when submitting a change with 'Rebase If Necessary'
 strategy.
 
-### 2.12.1
+### 2.12.1 {#2.12.1}
 
 #### General
 
diff --git a/releases/2.13.md b/releases/2.13.md
index cfc07ee..42f179a 100644
--- a/releases/2.13.md
+++ b/releases/2.13.md
@@ -452,9 +452,7 @@
 
 ## Bugfix Releases
 
-### 2.13.2
-
-(In development)
+### 2.13.2 *(In development)* {#2.13.2}
 
 * Allow to delete caches if not empty when initializing site during upgrade.
 
@@ -506,7 +504,7 @@
 
 * Stability improvements in event dispatch mechanism.
 
-### 2.13.1
+### 2.13.1 {#2.13.1}
 
 * [Issue 4618](https://bugs.chromium.org/p/gerrit/issues/detail?id=4618):
 Fix internal server error after online reindexing completed.
diff --git a/releases/README.md b/releases/README.md
index 8df61a3..f577b27 100644
--- a/releases/README.md
+++ b/releases/README.md
@@ -4,13 +4,13 @@
 
 [TOC]
 
-## 2.14 *(in development)*
+## 2.14 *(In development)* {#2.14}
 
 * Changes can be assigned to specific users
 
 * Secondary index with Elastic Search
 
-## 2.13
+## 2.13 {#2.13}
 
 * Metrics interface
 
@@ -18,7 +18,7 @@
 
 [Release notes for Gerrit 2.13](/releases/2.13.md).
 
-## 2.12
+## 2.12 {#2.12}
 
 * New change submission workflows: 'Submit Whole Topic' and 'Submitted Together'.
 
@@ -26,7 +26,7 @@
 
 [Release notes for Gerrit 2.12](/releases/2.12.md).
 
-## Older Releases
+## Older Releases {#older}
 
 Release notes for releases prior to 2.12 can be found on the old
 [documentation site](http://gerrit-documentation.storage.googleapis.com/ReleaseNotes/index.html).