You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2020/02/12 08:13:13 UTC

[incubator-apisix-website] branch master updated: fix URL (#18)

This is an automated email from the ASF dual-hosted git repository.

juzhiyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-apisix-website.git


The following commit(s) were added to refs/heads/master by this push:
     new c30a236  fix URL (#18)
c30a236 is described below

commit c30a2368026146965fce25fe43393ebcc72bd78b
Author: 琚致远 <ju...@apache.org>
AuthorDate: Wed Feb 12 16:13:00 2020 +0800

    fix URL (#18)
---
 config.yaml                   |  10 ++---
 content/downloads/index.en.md | 100 ++++++++++++++++++++++++++++++++++++++++++
 content/downloads/index.zh.md | 100 ++++++++++++++++++++++++++++++++++++++++++
 public                        |   1 +
 4 files changed, 206 insertions(+), 5 deletions(-)

diff --git a/config.yaml b/config.yaml
index ad139d4..c17d5c9 100644
--- a/config.yaml
+++ b/config.yaml
@@ -43,7 +43,7 @@ languages:
       - title: Get Involved
         sublinks:
         - title: Release Guide
-          url: contribute/release
+          url: /contribute/release
       language:
         name: 中
         link: /zh
@@ -119,15 +119,15 @@ languages:
     # Customizable navbar. For a dropdown, add a "sublinks" list.
     navbar:
     - title: 首页
-      url: /
+      url: /zh
     - title: 安全
-      url: security
+      url: /zh/security
     - title: 下载
-      url: /downloads
+      url: /zh/downloads
     - title: 参与
       sublinks:
       - title: 发布指南
-        url: contribute/release
+        url: /zh/contribute/release
     language:
         name: EN
         link: /
diff --git a/content/downloads/index.en.md b/content/downloads/index.en.md
new file mode 100644
index 0000000..5c04935
--- /dev/null
+++ b/content/downloads/index.en.md
@@ -0,0 +1,100 @@
+---
+title: "Downloads"
+date: 2019-11-26T23:48:02+08:00
+include_footer: true
+---
+
+<div class="downloads">
+  <section>
+    <h2 class="title">Releases</h2>
+    <p class="description">
+      Apache APISIX is released as source code tarballs. The downloads are distributed via mirror sites and should be
+      checked for tampering using GPG or SHA-512.
+    </p>
+    <div class="table-container" role="table" aria-label="Destinations">
+      <div class="flex-table header" role="rowgroup">
+        <div class="flex-row first" role="columnheader">Version</div>
+        <div class="flex-row" role="columnheader">Release date</div>
+        <div class="flex-row" role="columnheader">Source download</div>
+      </div>
+      <div class="flex-table row" role="rowgroup">
+        <div class="flex-row first" role="cell"><span class="flag-icon flag-icon-gb"></span>0.9</div>
+        <div class="flex-row" role="cell">2019 November 24</div>
+        <div class="flex-row" role="cell">
+          <a href="https://dist.apache.org/repos/dist/release/incubator/apisix/0.9/">source</a>
+          (
+          <a href="http://www.apache.org/dist/incubator/apisix/0.9/apache-apisix-0.9-incubating-src.tar.gz.asc">asc</a>
+          <a
+            href="http://www.apache.org/dist/incubator/apisix/0.9/apache-apisix-0.9-incubating-src.tar.gz.sha512">sha512</a>
+          )
+        </div>
+      </div>
+    </div>
+  </section>
+  <section>
+    <h2 class="title">Verify the releases</h2>
+    <a href="https://www.apache.org/dist/incubator/apisix/KEYS">PGP signatures KEYS</a>
+    <p>
+      It is essential that you verify the integrity of the downloaded files using the PGP or SHA signatures. The PGP
+      signatures can be verified using GPG or PGP. Please download the KEYS as well as the asc signature files for
+      relevant distribution. It is recommended to get these files from the main distribution directory and not from the
+      mirrors.
+    </p>
+
+    {{< highlight go "linenos=table" >}}
+    gpg -i KEYS
+    {{< / highlight >}}
+
+    <p>
+      or
+    </p>
+
+    {{< highlight go "linenos=table,hl_lines=8 15-17,linenostart=1" >}}
+    pgpk -a KEYS
+    {{< / highlight >}}
+
+    <p>
+      or
+    </p>
+
+    {{< highlight go "linenos=table,hl_lines=8 15-17,linenostart=1" >}}
+    pgp -ka KEYS
+    {{< / highlight >}}
+
+    <p>
+      To verify the binaries/sources you can download the relevant asc files for it from main distribution directory and
+      follow the below guide.
+    </p>
+
+    {{< highlight go "linenos=table,hl_lines=8 15-17,linenostart=1" >}}
+    gpg --verify apache-apisix-incubating-********.asc apache-apisix-incubating-*********
+    {{< / highlight >}}
+
+    <p>
+      or
+    </p>
+
+    {{< highlight go "linenos=table,hl_lines=8 15-17,linenostart=1" >}}
+    pgpv apache-apisix-incubating-********.asc
+    {{< / highlight >}}
+
+    <p>
+      or
+    </p>
+
+    {{< highlight go "linenos=table,hl_lines=8 15-17,linenostart=1" >}}
+    pgp apache-apisix-incubating-********.asc
+    {{< / highlight >}}
+    <p />
+  </section>
+  <section>
+    <h2 class="title">Disclaimer</h2>
+    <p>
+      Apache APISIX (incubating) is an effort undergoing incubation at The Apache Software Foundation (ASF),
+      sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further
+      review indicates that the infrastructure, communications, and decision making process have stabilized in a manner
+      consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the
+      completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+    </p>
+  </section>
+</div>
\ No newline at end of file
diff --git a/content/downloads/index.zh.md b/content/downloads/index.zh.md
new file mode 100644
index 0000000..e7e9c30
--- /dev/null
+++ b/content/downloads/index.zh.md
@@ -0,0 +1,100 @@
+---
+title: "下载"
+date: 2019-11-26T23:48:02+08:00
+include_footer: true
+---
+
+<div class="downloads">
+  <section>
+    <h2 class="title">Releases</h2>
+    <p class="description">
+      Apache APISIX is released as source code tarballs. The downloads are distributed via mirror sites and should be
+      checked for tampering using GPG or SHA-512.
+    </p>
+    <div class="table-container" role="table" aria-label="Destinations">
+      <div class="flex-table header" role="rowgroup">
+        <div class="flex-row first" role="columnheader">Version</div>
+        <div class="flex-row" role="columnheader">Release date</div>
+        <div class="flex-row" role="columnheader">Source download</div>
+      </div>
+      <div class="flex-table row" role="rowgroup">
+        <div class="flex-row first" role="cell"><span class="flag-icon flag-icon-gb"></span>0.9</div>
+        <div class="flex-row" role="cell">2019 November 24</div>
+        <div class="flex-row" role="cell">
+          <a href="https://dist.apache.org/repos/dist/release/incubator/apisix/0.9/">source</a>
+          (
+          <a href="http://www.apache.org/dist/incubator/apisix/0.9/apache-apisix-0.9-incubating-src.tar.gz.asc">asc</a>
+          <a
+            href="http://www.apache.org/dist/incubator/apisix/0.9/apache-apisix-0.9-incubating-src.tar.gz.sha512">sha512</a>
+          )
+        </div>
+      </div>
+    </div>
+  </section>
+  <section>
+    <h2 class="title">Verify the releases</h2>
+    <a href="https://www.apache.org/dist/incubator/apisix/KEYS">PGP signatures KEYS</a>
+    <p>
+      It is essential that you verify the integrity of the downloaded files using the PGP or SHA signatures. The PGP
+      signatures can be verified using GPG or PGP. Please download the KEYS as well as the asc signature files for
+      relevant distribution. It is recommended to get these files from the main distribution directory and not from the
+      mirrors.
+    </p>
+
+    {{< highlight go "linenos=table" >}}
+    gpg -i KEYS
+    {{< / highlight >}}
+
+    <p>
+      or
+    </p>
+
+    {{< highlight go "linenos=table,hl_lines=8 15-17,linenostart=1" >}}
+    pgpk -a KEYS
+    {{< / highlight >}}
+
+    <p>
+      or
+    </p>
+
+    {{< highlight go "linenos=table,hl_lines=8 15-17,linenostart=1" >}}
+    pgp -ka KEYS
+    {{< / highlight >}}
+
+    <p>
+      To verify the binaries/sources you can download the relevant asc files for it from main distribution directory and
+      follow the below guide.
+    </p>
+
+    {{< highlight go "linenos=table,hl_lines=8 15-17,linenostart=1" >}}
+    gpg --verify apache-apisix-incubating-********.asc apache-apisix-incubating-*********
+    {{< / highlight >}}
+
+    <p>
+      or
+    </p>
+
+    {{< highlight go "linenos=table,hl_lines=8 15-17,linenostart=1" >}}
+    pgpv apache-apisix-incubating-********.asc
+    {{< / highlight >}}
+
+    <p>
+      or
+    </p>
+
+    {{< highlight go "linenos=table,hl_lines=8 15-17,linenostart=1" >}}
+    pgp apache-apisix-incubating-********.asc
+    {{< / highlight >}}
+    <p />
+  </section>
+  <section>
+    <h2 class="title">Disclaimer</h2>
+    <p>
+      Apache APISIX (incubating) is an effort undergoing incubation at The Apache Software Foundation (ASF),
+      sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further
+      review indicates that the infrastructure, communications, and decision making process have stabilized in a manner
+      consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the
+      completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
+    </p>
+  </section>
+</div>
\ No newline at end of file
diff --git a/public b/public
new file mode 160000
index 0000000..03d9464
--- /dev/null
+++ b/public
@@ -0,0 +1 @@
+Subproject commit 03d94649b382fce9827e37bbd66dc051bd325b73