diff --git a/site/_config.local.yml b/site/_config.local.yml
index 26a5ba1eae357ad38a9f01925643ac08907893d9..5d6f4511cec75d959a632a4b534f312c279fb4ad 100644
--- a/site/_config.local.yml
+++ b/site/_config.local.yml
@@ -20,6 +20,5 @@
destination: generated
livereload: true
baseurl: "/"
-current_version: 1.18
include:
- docs/example.md
diff --git a/site/_config.yml b/site/_config.yml
index d9a70f0fdddf5f830d11632c40c029ece7d17c85..c632c02f5e6bd003b3ea8fff51c504ed531bcdb4 100644
--- a/site/_config.yml
+++ b/site/_config.yml
@@ -25,9 +25,8 @@ pulsar_repo: https://github.com/apache/incubator-pulsar/tree/master
baseurl: /
destination: ../generated-site/content
-versions:
-- 1.18
-latest: 1.18
+current_version: 1.19.0-incubating
+archived_releases:
markdown: kramdown
kramdown:
diff --git a/site/_includes/explanations/install-package.md b/site/_includes/explanations/install-package.md
index 99394455e26a794a1fbe5e249356e4d69fd71f35..24e3a0c8341d52f3a14f0e4319f923f71fd7adfb 100644
--- a/site/_includes/explanations/install-package.md
+++ b/site/_includes/explanations/install-package.md
@@ -1,5 +1,6 @@
-{% capture binary_release_url %}https://github.com/apache/incubator-pulsar/releases/download/v{{ site.current_version }}/pulsar-{{ site.current_version }}-bin.tar.gz{% endcapture %}
-{% capture source_release_url %}https://github.com/apache/incubator-pulsar/releases/download/v{{ site.current_version }}/pulsar-{{ site.current_version }}-src.tar.gz{% endcapture %}
+
+{% capture binary_release_url %}http://www.apache.org/dyn/closer.cgi/incubator/pulsar/pulsar-{{ site.current_version }}/apache-pulsar-{{ site.current_version }}-bin.tar.gz{% endcapture %}
+{% capture source_release_url %}http://www.apache.org/dyn/closer.cgi/incubator/pulsar/pulsar-{{ site.current_version }}/apache-pulsar-{{ site.current_version }}-src.tar.gz{% endcapture %}
## System requirements
@@ -20,22 +21,22 @@ To get started running Pulsar, download a binary tarball release in one of the f
```shell
# Source release
- $ wget {{ source_release_url }}
+ $ wget http://archive.apache.org/dist/incubator/pulsar/pulsar-{{site.current_version}}/apache-pulsar-{{site.current_version}}-src.tar.gz
# Binary release
- $ wget {{ binary_release_url }}
+ $ wget http://archive.apache.org/dist/incubator/pulsar/pulsar-{{site.current_version}}/apache-pulsar-{{site.current_version}}-bin.tar.gz
```
Once the tarball is downloaded, untar it and `cd` into the resulting directory:
```bash
# Source release
-$ tar xvf pulsar-{{ site.latest }}-bin.tar.gz
-$ cd pulsar-{{ site.latest }}
+$ tar xvfz pulsar-{{ site.current_version }}-src.tar.gz
+$ cd pulsar-{{ site.current_version }}
# Binary release
-$ tar xvf pulsar-{{ site.latest }}-src.tar.gz
-$ cd pulsar-{{ site.latest }}
+$ tar xvfz apache-pulsar-{{ site.current_version }}-bin.tar.gz
+$ cd pulsar-{{ site.current_version }}
```
## What your package contains
@@ -60,4 +61,4 @@ To compile, skipping the tests:
```shell
$ mvn install -DskipTests
-```
\ No newline at end of file
+```
diff --git a/site/_includes/navbar.html b/site/_includes/navbar.html
index 44dd4c24f5940a8ce139c6a88f97ee6b1a03b5af..e7a45bb7791554246365f4912ca525408b1b1331 100644
--- a/site/_includes/navbar.html
+++ b/site/_includes/navbar.html
@@ -31,8 +31,26 @@
- -
- Documentation
+
-
+ Documentation
+
+
-
diff --git a/site/_includes/versions.html b/site/_includes/versions.html
deleted file mode 100644
index 37bf1881069b4f94611ffd44ad7417cfe973698d..0000000000000000000000000000000000000000
--- a/site/_includes/versions.html
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
- {% for version in site.versions %}
- - {{ version }}
- {% endfor %}
-
diff --git a/site/docs/latest/_config.version.yml b/site/docs/latest/_config.version.yml
index 0b2c928cc68969385db6e9488ace9835a640b0de..22f2fb20ead8a712e52a1c94139a279838638190 100644
--- a/site/docs/latest/_config.version.yml
+++ b/site/docs/latest/_config.version.yml
@@ -18,4 +18,3 @@
#
data_dir: _data
-current_version: latest
\ No newline at end of file
diff --git a/site/download.md b/site/download.md
index bdda04e50097ba8a990f547de8624eab053f1d8a..5a49cc628e98d6d181ebc3305f83495c9a9ed6f7 100644
--- a/site/download.md
+++ b/site/download.md
@@ -1,33 +1,25 @@
---
title: Apache Pulsar downloads
-layout: docs
-toc_disable: true
+layout: content
---
-{% include admonition.html type="success" title='Notice' content="
-The current release was done prior to entering the Apache Incubator, so
-it's still relative to 'Yahoo Pulsar' rather than 'Apache Pulsar'" %}
-
Download Pulsar from the [releases page](https://github.com/apache/incubator-pulsar/releases) on GitHub or here:
-{% for version in site.versions %}
-### Version {{ version }}{% if version == site.current_version %} (latest){% endif %}
+### Version {{ site.current_version }}
| Type | Link |
|:-------|:-----------------------------------------------------------------------------------------------------------------------------------------------|
-| Source | [pulsar-{{ version }}-src.tar.gz](https://github.com/apache/incubator-pulsar/releases/download/v{{ version }}/pulsar-{{ version }}-src.tar.gz) |
-| Binary | [pulsar-{{ version }}-bin.tar.gz](https://github.com/apache/incubator-pulsar/releases/download/v{{ version }}/pulsar-{{ version }}-bin.tar.gz) |
-{% endfor %}
+| Source | [apache-pulsar-{{ site.current_version }}-src.tar.gz](http://www.apache.org/dyn/closer.cgi/incubator/pulsar/pulsar-{{ site.current_version }}/apache-pulsar-{{ site.current_version }}-src.tar.gz) |
+| Binary | [apache-pulsar-{{ site.current_version }}-bin.tar.gz](http://www.apache.org/dyn/closer.cgi/incubator/pulsar/pulsar-{{ site.current_version }}/apache-pulsar-{{ site.current_version }}-bin.tar.gz) |
+
### Release notes
-{% for version in site.versions %}
-* [Pulsar version {{version}}{% if version == site.current_version %} (latest){% endif %}](https://github.com/apache/incubator-pulsar/releases/tag/v{{ version }})
-{% endfor %}
+[https://github.com/apache/incubator-pulsar/releases/tag/v{{site.current_version}}](https://github.com/apache/incubator-pulsar/releases/tag/v{{site.current_version}})
### Getting started
-Once you've downloaded a Pulsar release, instructions on getting up and running with a {% popover standalone %} cluster that you can run your laptop can be found in [Run Pulsar locally](../docs/{{ site.current_version }}/getting-started/LocalCluster).
+Once you've downloaded a Pulsar release, instructions on getting up and running with a {% popover standalone %} cluster that you can run your laptop can be found in [Run Pulsar locally](/docs/latest/getting-started/LocalCluster).
If you need to connect to an existing Pulsar {% popover cluster %} or {% popover instance %} using an officially supported client, see client docs for these languages:
@@ -36,3 +28,16 @@ Client guide | API docs
[The Pulsar Java client](../docs/latest/clients/Java) | [Java client Javadoc](../api/client)
[Java admin interface Javadoc](../api/admin)
[The Pulsar Python client](../docs/latest/clients/Python) | [pdoc](../api/python)
[The Pulsar C++ client](../docs/latest/clients/Cpp) | [Doxygen docs](../api/cpp)
+
+
+{% if site.archived_releases %}
+
+### Other releases
+
+| Release | Download | Release notes |
+|:-------|:--------------------------------------------|--------------------------------------------|
+{% for version in site.archived_releases
+%} {{version}} | [http://archive.apache.org/dist/incubator/pulsar/pulsar-{{version}}](http://archive.apache.org/dist/incubator/pulsar/pulsar-{{version}}) | [Release notes v{{version}}](https://github.com/apache/incubator-pulsar/releases/tag/v{{ version }})|
+{% endfor %}
+
+{% endif %}