docs: restore docs for Bash/Zsh completion
The docs were removed seemingly by accident.
Also change Markdown headers with <a> tags to HTML
<hN> tags with IDs, because the Jekyll version we
use to render .md to .html ignores the <a> tags
and respects only the <hN> tags when creating
links to headings.
See https://github.com/bazelbuild/bazel/issues/4255#issuecomment-432120127
Fixes https://github.com/bazelbuild/bazel/issues/4255
Closes #6472.
Change-Id: I024e1d5025849db3a1484a41d58287b59973a33f
PiperOrigin-RevId: 218679796
diff --git a/site/docs/install-ubuntu.md b/site/docs/install-ubuntu.md
index ba36e6d..214246f 100644
--- a/site/docs/install-ubuntu.md
+++ b/site/docs/install-ubuntu.md
@@ -3,7 +3,7 @@
title: Installing Bazel on Ubuntu
---
-# <a name="ubuntu"></a>Installing Bazel on Ubuntu
+<h1 id="ubuntu">Installing Bazel on Ubuntu</h1>
Supported Ubuntu Linux platforms:
@@ -18,10 +18,10 @@
Bazel comes with two completion scripts. After installing Bazel, you can:
-* Access the [bash completion script](install.md)
-* Install the [zsh completion script](install.md)
+* Access the [bash completion script](completion.md#bash)
+* Install the [zsh completion script](completion.md#zsh)
-## <a name="install-with-installer-ubuntu"></a>Installing using binary installer
+<h2 id="install-with-installer-ubuntu">Installing using binary installer</h2>
The binary installers are on Bazel's [GitHub releases page](https://github.com/bazelbuild/bazel/releases).
@@ -66,7 +66,7 @@
You can also add this command to your `~/.bashrc` file.
-## <a name="install-on-ubuntu"></a> Using Bazel custom APT repository
+<h2 id="install-on-ubuntu"> Using Bazel custom APT repository</h2>
### Step 1: Install the JDK