merlimat closed pull request #2254: Fix pulsar:version vars in site2 docs.
URL: https://github.com/apache/incubator-pulsar/pull/2254
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/site2/docs/deploy-bare-metal.md b/site2/docs/deploy-bare-metal.md
index 792aa39dcc..0c9236b5b7 100644
--- a/site2/docs/deploy-bare-metal.md
+++ b/site2/docs/deploy-bare-metal.md
@@ -48,20 +48,20 @@ For machines running a bookie and a Pulsar broker, we
recommend using more power
To get started deploying a Pulsar cluster on bare metal, you'll need to
download a binary tarball release in one of the following ways:
* By clicking on the link directly below, which will automatically trigger a
download:
- * <a href="pulsar:binary_release_url" download>Pulsar pulsar:version binary
release</a>
+ * <a href="pulsar:binary_release_url" download>Pulsar {{pulsar:version}}
binary release</a>
* From the Pulsar [downloads page](pulsar:download_page_url)
* From the Pulsar [releases
page](https://github.com/apache/incubator-pulsar/releases/latest) on
[GitHub](https://github.com)
* Using [wget](https://www.gnu.org/software/wget):
```bash
-$ wget
http://archive.apache.org/dist/incubator/pulsar/pulsar-pulsar:version/apache-pulsar-pulsar:version-bin.tar.gz
+$ wget pulsar:binary_release_url
```
Once you've downloaded the tarball, untar it and `cd` into the resulting
directory:
```bash
-$ tar xvzf apache-pulsar-pulsar:version-bin.tar.gz
-$ cd apache-pulsar-pulsar:version
+$ tar xvzf apache-pulsar-{{pulsar:version}}-bin.tar.gz
+$ cd apache-pulsar-{{pulsar:version}}
```
The untarred directory contains the following subdirectories:
diff --git a/site2/docs/getting-started-standalone.md
b/site2/docs/getting-started-standalone.md
index 99bd923a16..ebe20b1ef3 100644
--- a/site2/docs/getting-started-standalone.md
+++ b/site2/docs/getting-started-standalone.md
@@ -20,7 +20,7 @@ To get started running Pulsar, download a binary tarball
release in one of the f
* by clicking the link below and downloading the release from an Apache mirror:
- * <a href="pulsar:binary_release_url" download>Pulsar pulsar:version binary
release</a>
+ * <a href="pulsar:binary_release_url" download>Pulsar {{pulsar:version}}
binary release</a>
* from the Pulsar [downloads page](pulsar:download_page_url)
* from the Pulsar [releases
page](https://github.com/apache/incubator-pulsar/releases/latest)
@@ -33,8 +33,8 @@ To get started running Pulsar, download a binary tarball
release in one of the f
Once the tarball is downloaded, untar it and `cd` into the resulting directory:
```bash
-$ tar xvfz apache-pulsar-pulsar:version-bin.tar.gz
-$ cd apache-pulsar-pulsar:version
+$ tar xvfz apache-pulsar-{{pulsar:version}}-bin.tar.gz
+$ cd apache-pulsar-{{pulsar:version}}
```
## What your package contains
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services