IGNITE-16112 add 'Extensions' block on downloads page (#91)
diff --git a/_src/_components/download-extension-binary.pug b/_src/_components/download-extension-binary.pug
new file mode 100644
index 0000000..95ede44
--- /dev/null
+++ b/_src/_components/download-extension-binary.pug
@@ -0,0 +1,20 @@
+.downtable__wrap
+ .downtable__scroller
+ table.downtable
+ tr
+ th.downtable1 Name
+ th.downtable1 Version
+ th.downtable2 Docs
+ th.downtable3 Release Notes
+ th.downtable4 Date
+ th.downtable5 Source
+ tbody
+ +downloadExtensionRow({
+ name: "ignite-performance-statistics-ext",
+ ver: "1.0.0",
+ date: "2021-07-07",
+ guide: "/docs/latest/extensions-and-integrations/performance-statistics.html",
+ notes: "/releases/ext/performance-statistics-1.0.0/release_notes.html",
+ sourcelink: "https://archive.apache.org/dist/ignite/ignite-extensions/ignite-performance-statistics-ext/1.0.0/ignite-performance-statistics-ext-1.0.0-bin.zip",
+ onclick: "gtag('event', 'download', {'event_category': 'apache_ignite_source_download', 'event_label': 'apache-ignite-3.0.0-alpha3'});"
+ })
\ No newline at end of file
diff --git a/_src/_components/download-extension-source.pug b/_src/_components/download-extension-source.pug
new file mode 100644
index 0000000..40c9486
--- /dev/null
+++ b/_src/_components/download-extension-source.pug
@@ -0,0 +1,47 @@
+.downtable__wrap
+ .downtable__scroller
+ table.downtable
+ tr
+ th.downtable1 Name
+ th.downtable1 Version
+ th.downtable2 Docs
+ th.downtable3 Release Notes
+ th.downtable4 Date
+ th.downtable5 Source
+ tbody
+ +downloadExtensionRow({
+ name: "ignite-spring-tx-ext",
+ ver: "1.0.0",
+ date: "2021-11-02",
+ guide: "/docs/2.11.0/extensions-and-integrations/spring/spring-tx.html",
+ notes: "/releases/ext/spring-tx-1.0.0/release_notes.html",
+ sourcelink: "https://archive.apache.org/dist/ignite/ignite-extensions/ignite-spring-tx-ext/1.0.0/ignite-spring-tx-ext-1.0.0-src.zip",
+ onclick: "gtag('event', 'download', {'event_category': 'apache_ignite_source_download', 'event_label': 'apache-ignite-3.0.0-alpha3'});"
+ })
+ +downloadExtensionRow({
+ name: "ignite-spring-cache-ext",
+ ver: "1.0.0",
+ date: "2021-11-02",
+ guide: "/docs/2.11.0/extensions-and-integrations/spring/spring-caching.html",
+ notes: "/releases/ext/spring-cache-1.0.0/release_notes.html",
+ sourcelink: "https://archive.apache.org/dist/ignite/ignite-extensions/ignite-spring-cache-ext/1.0.0/ignite-spring-cache-ext-1.0.0-src.zip",
+ onclick: "gtag('event', 'download', {'event_category': 'apache_ignite_source_download', 'event_label': 'apache-ignite-2.11.0'});"
+ })
+ +downloadExtensionRow({
+ name: "ignite-performance-statistics-ext",
+ ver: "1.0.0",
+ date: "2021-07-07",
+ guide: "/docs/2.11.0/extensions-and-integrations/performance-statistics.html",
+ notes: "/releases/ext/performance-statistics-1.0.0/release_notes.html",
+ sourcelink: "https://archive.apache.org/dist/ignite/ignite-extensions/ignite-performance-statistics-ext/1.0.0/ignite-performance-statistics-ext-1.0.0-src.zip",
+ onclick: "gtag('event', 'download', {'event_category': 'apache_ignite_source_download', 'event_label': 'apache-ignite-2.10.0'});"
+ })
+ +downloadExtensionRow({
+ name: "ignite-spring-data-all-ext",
+ ver: "1.0.0",
+ date: "2021-07-07",
+ guide: "https://ignite.apache.org/docs/latest",
+ notes: "t/releases/ext/spring-data-all-1.0.0/release_notes.html",
+ sourcelink: "https://archive.apache.org/dist/ignite/ignite-extensions/ignite-spring-data-all-ext/1.0.0/ignite-spring-data-all-ext-1.0.0-src.zip",
+ onclick: "gtag('event', 'download', {'event_category': 'apache_ignite_source_download', 'event_label': 'apache-ignite-2.9.1'});"
+ })
\ No newline at end of file
diff --git a/_src/download.pug b/_src/download.pug
index c1be624..33f37d5 100644
--- a/_src/download.pug
+++ b/_src/download.pug
@@ -48,6 +48,28 @@
a(href=params.sourcelink + ".sha512", target="_blank") sha512
| )
+ mixin downloadExtensionRow(params)
+ tr
+ td !{params.name}
+ td !{params.ver}
+ td
+ if(params.guide)
+ a(href=params.guide, target="_blank") guide
+ td
+ if(params.notes)
+ a(href=params.notes, target="_blank") release notes
+ td !{params.date}
+ td.jsLinksInside
+
+ if(params.sourcelink)
+ - let fileNameArr = params.sourcelink.split("/");
+ - let fileName = fileNameArr[fileNameArr.length - 1];
+ a.sourcelink(href=params.sourcelink, target="_blank", onclick=params.onclick) !{fileName}
+ | (
+ a(href=params.sourcelink + ".asc", target="_blank") pgp
+ a(href=params.sourcelink + ".sha512", target="_blank") sha512
+ | )
+
mixin downloadDockerRow(params)
tr
td !{params.name}
@@ -169,8 +191,17 @@
$ git clone https://gitbox.apache.org/repos/asf/ignite
.downfooter__spacer.pt-5.pb-5
- h2.capstext.pb-3#extensions EXTENSIONS
+ section.download-extenstions.container#extensions
+ h2.capstext.pb-3 EXTENSIONS
+
+ h3.h5.pb-2 Source Releases
+ include ./_components/download-extension-source.pug
+
+ h3.h5.pt-5.pb-2 Binary Releases
+ p.pb-2 Binary release packages are provided for your convenience and not considered as primary release artifacts of the ASF. It's recommended to verify a release downloadable, following <a href="#verify">this guidelines</a>. For more information about Apache release policy see <a href="https://www.apache.org/legal/release-policy.html#what" target="_blank">What is a Release?</a>
+ include ./_components/download-extension-binary.pug
+ p.pt-2.pb-2 Spring Boot extensions:
-
var xmlCode = `<dependency>
<groupId>org.apache.ignite</groupId>
diff --git a/download.html b/download.html
index 28e2d4a..5f2cf48 100644
--- a/download.html
+++ b/download.html
@@ -906,7 +906,138 @@
<pre class="nativecode__codebox nomargin"><code class="bash">$ git clone https://gitbox.apache.org/repos/asf/ignite
</code></pre>
<div class="downfooter__spacer pt-5 pb-5"></div>
- <h2 class="capstext pb-3" id="extensions">EXTENSIONS</h2>
+ </section>
+ <section class="download-extenstions container" id="extensions">
+ <h2 class="capstext pb-3">EXTENSIONS</h2>
+ <h3 class="h5 pb-2">Source Releases</h3>
+ <div class="downtable__wrap">
+ <div class="downtable__scroller">
+ <table class="downtable">
+ <tr>
+ <th class="downtable1">Name</th>
+ <th class="downtable1">Version</th>
+ <th class="downtable2">Docs</th>
+ <th class="downtable3">Release Notes</th>
+ <th class="downtable4">Date</th>
+ <th class="downtable5">Source</th>
+ </tr>
+ <tbody>
+ <tr>
+ <td>ignite-spring-tx-ext</td>
+ <td>1.0.0</td>
+ <td><a href="/docs/2.11.0/extensions-and-integrations/spring/spring-tx.html" target="_blank">guide</a></td>
+ <td><a href="/releases/ext/spring-tx-1.0.0/release_notes.html" target="_blank">release notes</a></td>
+ <td>2021-11-02</td>
+ <td class="jsLinksInside">
+ <a
+ class="sourcelink"
+ href="https://archive.apache.org/dist/ignite/ignite-extensions/ignite-spring-tx-ext/1.0.0/ignite-spring-tx-ext-1.0.0-src.zip"
+ target="_blank"
+ onclick="gtag('event', 'download', {'event_category': 'apache_ignite_source_download', 'event_label': 'apache-ignite-3.0.0-alpha3'});"
+ >ignite-spring-tx-ext-1.0.0-src.zip</a
+ >
+ (<a href="https://archive.apache.org/dist/ignite/ignite-extensions/ignite-spring-tx-ext/1.0.0/ignite-spring-tx-ext-1.0.0-src.zip.asc" target="_blank">pgp</a
+ ><a href="https://archive.apache.org/dist/ignite/ignite-extensions/ignite-spring-tx-ext/1.0.0/ignite-spring-tx-ext-1.0.0-src.zip.sha512" target="_blank">sha512</a>)
+ </td>
+ </tr>
+ <tr>
+ <td>ignite-spring-cache-ext</td>
+ <td>1.0.0</td>
+ <td><a href="/docs/2.11.0/extensions-and-integrations/spring/spring-caching.html" target="_blank">guide</a></td>
+ <td><a href="/releases/ext/spring-cache-1.0.0/release_notes.html" target="_blank">release notes</a></td>
+ <td>2021-11-02</td>
+ <td class="jsLinksInside">
+ <a
+ class="sourcelink"
+ href="https://archive.apache.org/dist/ignite/ignite-extensions/ignite-spring-cache-ext/1.0.0/ignite-spring-cache-ext-1.0.0-src.zip"
+ target="_blank"
+ onclick="gtag('event', 'download', {'event_category': 'apache_ignite_source_download', 'event_label': 'apache-ignite-2.11.0'});"
+ >ignite-spring-cache-ext-1.0.0-src.zip</a
+ >
+ (<a href="https://archive.apache.org/dist/ignite/ignite-extensions/ignite-spring-cache-ext/1.0.0/ignite-spring-cache-ext-1.0.0-src.zip.asc" target="_blank">pgp</a
+ ><a href="https://archive.apache.org/dist/ignite/ignite-extensions/ignite-spring-cache-ext/1.0.0/ignite-spring-cache-ext-1.0.0-src.zip.sha512" target="_blank">sha512</a>)
+ </td>
+ </tr>
+ <tr>
+ <td>ignite-performance-statistics-ext</td>
+ <td>1.0.0</td>
+ <td><a href="/docs/2.11.0/extensions-and-integrations/performance-statistics.html" target="_blank">guide</a></td>
+ <td><a href="/releases/ext/performance-statistics-1.0.0/release_notes.html" target="_blank">release notes</a></td>
+ <td>2021-07-07</td>
+ <td class="jsLinksInside">
+ <a
+ class="sourcelink"
+ href="https://archive.apache.org/dist/ignite/ignite-extensions/ignite-performance-statistics-ext/1.0.0/ignite-performance-statistics-ext-1.0.0-src.zip"
+ target="_blank"
+ onclick="gtag('event', 'download', {'event_category': 'apache_ignite_source_download', 'event_label': 'apache-ignite-2.10.0'});"
+ >ignite-performance-statistics-ext-1.0.0-src.zip</a
+ >
+ (<a href="https://archive.apache.org/dist/ignite/ignite-extensions/ignite-performance-statistics-ext/1.0.0/ignite-performance-statistics-ext-1.0.0-src.zip.asc" target="_blank">pgp</a
+ ><a href="https://archive.apache.org/dist/ignite/ignite-extensions/ignite-performance-statistics-ext/1.0.0/ignite-performance-statistics-ext-1.0.0-src.zip.sha512" target="_blank">sha512</a>)
+ </td>
+ </tr>
+ <tr>
+ <td>ignite-spring-data-all-ext</td>
+ <td>1.0.0</td>
+ <td><a href="https://ignite.apache.org/docs/latest" target="_blank">guide</a></td>
+ <td><a href="t/releases/ext/spring-data-all-1.0.0/release_notes.html" target="_blank">release notes</a></td>
+ <td>2021-07-07</td>
+ <td class="jsLinksInside">
+ <a
+ class="sourcelink"
+ href="https://archive.apache.org/dist/ignite/ignite-extensions/ignite-spring-data-all-ext/1.0.0/ignite-spring-data-all-ext-1.0.0-src.zip"
+ target="_blank"
+ onclick="gtag('event', 'download', {'event_category': 'apache_ignite_source_download', 'event_label': 'apache-ignite-2.9.1'});"
+ >ignite-spring-data-all-ext-1.0.0-src.zip</a
+ >
+ (<a href="https://archive.apache.org/dist/ignite/ignite-extensions/ignite-spring-data-all-ext/1.0.0/ignite-spring-data-all-ext-1.0.0-src.zip.asc" target="_blank">pgp</a
+ ><a href="https://archive.apache.org/dist/ignite/ignite-extensions/ignite-spring-data-all-ext/1.0.0/ignite-spring-data-all-ext-1.0.0-src.zip.sha512" target="_blank">sha512</a>)
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+ <h3 class="h5 pt-5 pb-2">Binary Releases</h3>
+ <p class="pb-2">
+ Binary release packages are provided for your convenience and not considered as primary release artifacts of the ASF. It's recommended to verify a release downloadable, following <a href="#verify">this guidelines</a>. For more
+ information about Apache release policy see <a href="https://www.apache.org/legal/release-policy.html#what" target="_blank">What is a Release?</a>
+ </p>
+ <div class="downtable__wrap">
+ <div class="downtable__scroller">
+ <table class="downtable">
+ <tr>
+ <th class="downtable1">Name</th>
+ <th class="downtable1">Version</th>
+ <th class="downtable2">Docs</th>
+ <th class="downtable3">Release Notes</th>
+ <th class="downtable4">Date</th>
+ <th class="downtable5">Source</th>
+ </tr>
+ <tbody>
+ <tr>
+ <td>ignite-performance-statistics-ext</td>
+ <td>1.0.0</td>
+ <td><a href="/docs/latest/extensions-and-integrations/performance-statistics.html" target="_blank">guide</a></td>
+ <td><a href="/releases/ext/performance-statistics-1.0.0/release_notes.html" target="_blank">release notes</a></td>
+ <td>2021-07-07</td>
+ <td class="jsLinksInside">
+ <a
+ class="sourcelink"
+ href="https://archive.apache.org/dist/ignite/ignite-extensions/ignite-performance-statistics-ext/1.0.0/ignite-performance-statistics-ext-1.0.0-bin.zip"
+ target="_blank"
+ onclick="gtag('event', 'download', {'event_category': 'apache_ignite_source_download', 'event_label': 'apache-ignite-3.0.0-alpha3'});"
+ >ignite-performance-statistics-ext-1.0.0-bin.zip</a
+ >
+ (<a href="https://archive.apache.org/dist/ignite/ignite-extensions/ignite-performance-statistics-ext/1.0.0/ignite-performance-statistics-ext-1.0.0-bin.zip.asc" target="_blank">pgp</a
+ ><a href="https://archive.apache.org/dist/ignite/ignite-extensions/ignite-performance-statistics-ext/1.0.0/ignite-performance-statistics-ext-1.0.0-bin.zip.sha512" target="_blank">sha512</a>)
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+ <p class="pt-2 pb-2">Spring Boot extensions:</p>
<pre class="nativecode__codebox nomargin"><code class="xml"><dependency>
<groupId>org.apache.ignite</groupId>
<artifactId>ignite-spring-boot-autoconfigure-ext</artifactId>