You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by we...@apache.org on 2022/05/25 18:29:26 UTC
[incubator-mxnet] branch master updated: [website] Update website for mxnet 1.9.1 (#21038)
This is an automated email from the ASF dual-hosted git repository.
weichu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new 1687b442d9 [website] Update website for mxnet 1.9.1 (#21038)
1687b442d9 is described below
commit 1687b442d9eedf4d9acc36bb84ed2f26da6bb969
Author: waytrue17 <52...@users.noreply.github.com>
AuthorDate: Wed May 25 11:29:08 2022 -0700
[website] Update website for mxnet 1.9.1 (#21038)
* [website][v1.9.x] Update website for 1.9.1 release (#21033)
* update website for 1.9.1 release
* set default to 1.9.1
---
docs/python_docs/themes/mx-theme/mxtheme/header_top.html | 2 ++
docs/static_site/src/.htaccess | 4 ++--
docs/static_site/src/_config.yml | 2 +-
docs/static_site/src/_config_beta.yml | 2 +-
docs/static_site/src/_config_prod.yml | 2 +-
docs/static_site/src/_includes/get_started/get_started.html | 6 +++---
docs/static_site/src/_includes/get_started/linux/python/cpu/pip.md | 4 ++--
docs/static_site/src/_includes/get_started/linux/python/gpu/pip.md | 4 ++--
docs/static_site/src/_includes/get_started/pip_snippet.md | 2 +-
docs/static_site/src/pages/get_started/download.md | 3 ++-
10 files changed, 17 insertions(+), 14 deletions(-)
diff --git a/docs/python_docs/themes/mx-theme/mxtheme/header_top.html b/docs/python_docs/themes/mx-theme/mxtheme/header_top.html
index 2234046f5f..b9d87442f6 100644
--- a/docs/python_docs/themes/mx-theme/mxtheme/header_top.html
+++ b/docs/python_docs/themes/mx-theme/mxtheme/header_top.html
@@ -26,6 +26,8 @@
</span>
<div class="dropdown-content">
<a class="dropdown-option-active" href="/versions/master/">master</a><br>
+ <a class="dropdown-option" href="/versions/1.9.1/">1.9.1</a><br>
+ <a class="dropdown-option" href="/versions/1.8.0/">1.8.0</a><br>
<a class="dropdown-option" href="/versions/1.7.0/">1.7.0</a><br>
<a class="dropdown-option" href="/versions/1.6.0/">1.6.0</a><br>
<a class="dropdown-option" href="/versions/1.5.0/">1.5.0</a><br>
diff --git a/docs/static_site/src/.htaccess b/docs/static_site/src/.htaccess
index ec84f53621..f9f4791dc6 100644
--- a/docs/static_site/src/.htaccess
+++ b/docs/static_site/src/.htaccess
@@ -39,12 +39,12 @@ RewriteOptions AllowNoSlash
</IfModule>
-# Set default website version to old stable (v1.9.0)
+# Set default website version to old stable (v1.9.1)
RewriteCond %{REQUEST_URI} !^/versions/
RewriteCond %{HTTP_REFERER} !mxnet.apache.org
RewriteCond %{HTTP_REFERER} !mxnet.incubator.apache.org
RewriteCond %{HTTP_REFERER} !mxnet.cdn.apache.org
-RewriteRule ^(.*)$ /versions/1.9.0/$1 [r=307,L]
+RewriteRule ^(.*)$ /versions/1.9.1/$1 [r=307,L]
# Redirect Chinese visitors to Chinese CDN, temporary solution for slow site speed in China
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^CN$
diff --git a/docs/static_site/src/_config.yml b/docs/static_site/src/_config.yml
index 74bb9e7b18..7bbc07bd20 100644
--- a/docs/static_site/src/_config.yml
+++ b/docs/static_site/src/_config.yml
@@ -40,7 +40,7 @@ youtube_username: apachemxnet
baseurl: /versions/master
versions:
- master
- - 1.9.0
+ - 1.9.1
- 1.8.0
- 1.7.0
- 1.6.0
diff --git a/docs/static_site/src/_config_beta.yml b/docs/static_site/src/_config_beta.yml
index b984e4dcd4..00ab563f79 100644
--- a/docs/static_site/src/_config_beta.yml
+++ b/docs/static_site/src/_config_beta.yml
@@ -42,7 +42,7 @@ youtube_username: apachemxnet
baseurl: /versions/master
versions:
- master
- - 1.9.0
+ - 1.9.1
- 1.8.0
- 1.7.0
- 1.6.0
diff --git a/docs/static_site/src/_config_prod.yml b/docs/static_site/src/_config_prod.yml
index 081a4090f5..652e24e200 100644
--- a/docs/static_site/src/_config_prod.yml
+++ b/docs/static_site/src/_config_prod.yml
@@ -42,7 +42,7 @@ google_analytics: UA-96378503-1
baseurl: /versions/master
versions:
- master
- - 1.9.0
+ - 1.9.1
- 1.8.0
- 1.7.0
- 1.6.0
diff --git a/docs/static_site/src/_includes/get_started/get_started.html b/docs/static_site/src/_includes/get_started/get_started.html
index 933c9ce0c4..e4fb674de5 100644
--- a/docs/static_site/src/_includes/get_started/get_started.html
+++ b/docs/static_site/src/_includes/get_started/get_started.html
@@ -1,7 +1,7 @@
<script>
/** Defaults **/
/** See options.js for the full ugly script **/
- var versionSelect = defaultVersion = 'v1.9.0';
+ var versionSelect = defaultVersion = 'v1.9.1';
var platformSelect = 'linux';
var languageSelect = 'python';
var processorSelect = 'cpu';
@@ -24,13 +24,13 @@
<div class="col-9 install-right">
<div class="dropdown" id="version-dropdown-container">
<button class="current-version dropbtn btn" type="button" data-toggle="dropdown">
- v1.9.0
+ v1.9.1
<svg class="dropdown-caret" viewBox="0 0 32 32" class="icon icon-caret-bottom" aria-hidden="true">
<path class="dropdown-caret-path" d="M24 11.305l-7.997 11.39L8 11.305z"></path>
</svg>
</button>
<ul class="opt-group version-dropdown">
- <li class="opt active versions"><a href="#">v1.9.0</a></li>
+ <li class="opt active versions"><a href="#">v1.9.1</a></li>
<li class="opt versions"><a href="#">v1.8.0</a></li>
<li class="opt versions"><a href="#">v1.7.0</a></li>
<li class="opt versions"><a href="#">v1.6.0</a></li>
diff --git a/docs/static_site/src/_includes/get_started/linux/python/cpu/pip.md b/docs/static_site/src/_includes/get_started/linux/python/cpu/pip.md
index d12e83e3c0..0f178e4662 100644
--- a/docs/static_site/src/_includes/get_started/linux/python/cpu/pip.md
+++ b/docs/static_site/src/_includes/get_started/linux/python/cpu/pip.md
@@ -9,12 +9,12 @@ page](https://mxnet.apache.org/get_started/download).
Run the following command:
-<div class="v1-9-0">
+<div class="v1-9-1">
{% highlight bash %}
pip install mxnet
{% endhighlight %}
-</div> <!-- End of v1-9-0 -->
+</div> <!-- End of v1-9-1 -->
<div class="v1-8-0">
{% highlight bash %}
diff --git a/docs/static_site/src/_includes/get_started/linux/python/gpu/pip.md b/docs/static_site/src/_includes/get_started/linux/python/gpu/pip.md
index 35a4fda9d7..8f49d7d41c 100644
--- a/docs/static_site/src/_includes/get_started/linux/python/gpu/pip.md
+++ b/docs/static_site/src/_includes/get_started/linux/python/gpu/pip.md
@@ -12,12 +12,12 @@ page](https://mxnet.apache.org/get_started/download).
Run the following command:
-<div class="v1-9-0">
+<div class="v1-9-1">
{% highlight bash %}
$ pip install mxnet-cu102
{% endhighlight %}
-</div> <!-- End of v1-9-0 -->
+</div> <!-- End of v1-9-1 -->
<div class="v1-8-0">
{% highlight bash %}
diff --git a/docs/static_site/src/_includes/get_started/pip_snippet.md b/docs/static_site/src/_includes/get_started/pip_snippet.md
index de678858df..cdce6c1d3b 100644
--- a/docs/static_site/src/_includes/get_started/pip_snippet.md
+++ b/docs/static_site/src/_includes/get_started/pip_snippet.md
@@ -1,7 +1,7 @@
You can then <a href="/get_started/validate_mxnet.html">validate your MXNet installation</a>.
<div style="text-align: center">
- <img src="https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/install/pip-packages-1.9.0.png"
+ <img src="https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/install/pip-packages-1.9.1.png"
alt="pip packages"/>
</div>
diff --git a/docs/static_site/src/pages/get_started/download.md b/docs/static_site/src/pages/get_started/download.md
index a562b78419..e93da02682 100644
--- a/docs/static_site/src/pages/get_started/download.md
+++ b/docs/static_site/src/pages/get_started/download.md
@@ -35,7 +35,8 @@ encouraged to contribute to our development version on
| Version | Source | PGP | SHA |
|---------|-------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------|
-| 1.9.0 | [apache-mxnet-src-1.9.0-incubating.tar.gz](http://www.apache.org/dyn/closer.lua?filename=incubator/mxnet/1.9.0/apache-mxnet-src-1.9.0-incubating.tar.gz&action=download) | [asc](https://downloads.apache.org/incubator/mxnet/1.9.0/apache-mxnet-src-1.9.0-incubating.tar.gz.asc) | [sha512](https://downloads.apache.org/incubator/mxnet/1.9.0/apache-mxnet-src-1.9.0-incubating.tar.gz.sha512) |
+| 1.9.1 | [apache-mxnet-src-1.9.1-incubating.tar.gz](http://www.apache.org/dyn/closer.lua?filename=incubator/mxnet/1.9.1/apache-mxnet-src-1.9.1-incubating.tar.gz&action=download) | [asc](https://downloads.apache.org/incubator/mxnet/1.9.1/apache-mxnet-src-1.9.1-incubating.tar.gz.asc) | [sha512](https://downloads.apache.org/incubator/mxnet/1.9.1/apache-mxnet-src-1.9.1-incubating.tar.gz.sha512) |
+| 1.9.0 | [apache-mxnet-src-1.9.0-incubating.tar.gz](https://archive.apache.org/dist/incubator/mxnet/1.9.0/apache-mxnet-src-1.9.0-incubating.tar.gz) | [asc](https://archive.apache.org/dist/incubator/mxnet/1.9.0/apache-mxnet-src-1.9.0-incubating.tar.gz.asc) | [sha512](https://archive.apache.org/dist/incubator/mxnet/1.9.0/apache-mxnet-src-1.9.0-incubating.tar.gz.sha512) |
| 1.8.0 | [apache-mxnet-src-1.8.0-incubating.tar.gz](https://archive.apache.org/dist/incubator/mxnet/1.8.0/apache-mxnet-src-1.8.0-incubating.tar.gz) | [asc](https://archive.apache.org/dist/incubator/mxnet/1.8.0/apache-mxnet-src-1.8.0-incubating.tar.gz.asc) | [sha512](https://archive.apache.org/dist/incubator/mxnet/1.8.0/apache-mxnet-src-1.8.0-incubating.tar.gz.sha512) |
| 1.7.0 | [apache-mxnet-src-1.7.0-incubating.tar.gz](https://archive.apache.org/dist/incubator/mxnet/1.7.0/apache-mxnet-src-1.7.0-incubating.tar.gz) | [asc](https://archive.apache.org/dist/incubator/mxnet/1.7.0/apache-mxnet-src-1.7.0-incubating.tar.gz.asc) | [sha512](https://archive.apache.org/dist/incubator/mxnet/1.7.0/apache-mxnet-src-1.7.0-incubating.tar.gz.sha512) |
| 1.6.0 | [apache-mxnet-src-1.6.0-incubating.tar.gz](https://archive.apache.org/dist/incubator/mxnet/1.6.0/apache-mxnet-src-1.6.0-incubating.tar.gz) | [asc](https://archive.apache.org/dist/incubator/mxnet/1.6.0/apache-mxnet-src-1.6.0-incubating.tar.gz.asc) | [sha512](https://archive.apache.org/dist/incubator/mxnet/1.6.0/apache-mxnet-src-1.6.0-incubating.tar.gz.sha512) |