You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by ma...@apache.org on 2021/12/31 10:02:12 UTC
[incubator-mxnet] branch v1.x updated: [website] Move trusted-by section from main page to a new page (#20788) (#20797)
This is an automated email from the ASF dual-hosted git repository.
manuseth pushed a commit to branch v1.x
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/v1.x by this push:
new cd47783 [website] Move trusted-by section from main page to a new page (#20788) (#20797)
cd47783 is described below
commit cd47783d38cdd0d8b0b28294ae1101bf67a8f914
Author: Manu Seth <22...@users.noreply.github.com>
AuthorDate: Fri Dec 31 01:56:48 2021 -0800
[website] Move trusted-by section from main page to a new page (#20788) (#20797)
* add custom jenkinsfile
* move users from home page
* test users page
* revert htaccess change
* move trusted-by section from homepage to ecosystem/
* Revert "move trusted-by section from homepage to ecosystem/"
This reverts commit e214069a98a431c8fa1bc6d2a1a874907f1a664e.
* copy powered_by to master/
* update trusted-by page
* remove test jenkinsfile
---
.../themes/mx-theme/mxtheme/header_top.html | 1 +
docs/static_site/src/_includes/header.html | 1 +
docs/static_site/src/_layouts/home.html | 8 -----
docs/static_site/src/_sass/minima/_home.scss | 14 ---------
docs/static_site/src/pages/trusted_by.html | 34 ++++++++++++++++++++++
5 files changed, 36 insertions(+), 22 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 eaba20b..579e90a 100644
--- a/docs/python_docs/themes/mx-theme/mxtheme/header_top.html
+++ b/docs/python_docs/themes/mx-theme/mxtheme/header_top.html
@@ -18,6 +18,7 @@
<a class="page-link" href="/versions/1.9.0/features">Features</a>
<a class="page-link" href="/versions/1.9.0/ecosystem">Ecosystem</a>
<a class="page-link page-current" href="/versions/1.9.0/api">Docs & Tutorials</a>
+ <a class="page-link" href="/versions/1.9.0/trusted_by">Trusted By</a>
<a class="page-link" href="https://github.com/apache/incubator-mxnet">GitHub</a>
<div class="dropdown">
<span class="dropdown-header">1.9.0
diff --git a/docs/static_site/src/_includes/header.html b/docs/static_site/src/_includes/header.html
index 34ce780..479a8c3 100644
--- a/docs/static_site/src/_includes/header.html
+++ b/docs/static_site/src/_includes/header.html
@@ -85,6 +85,7 @@
<a class="page-link" href="{{'/features' | relative_url }}">Features</a>
<a class="page-link" href="{{'/ecosystem' | relative_url }}">Ecosystem</a>
<a class="page-link" href="{{'/api' | relative_url }}">Docs & Tutorials</a>
+ <a class="page-link" href="{{'/trusted_by' | relative_url }}">Trusted By</a>
<a class="page-link" href="https://github.com/apache/incubator-mxnet">GitHub</a>
<div class="dropdown">
<span class="dropdown-header">1.9.0
diff --git a/docs/static_site/src/_layouts/home.html b/docs/static_site/src/_layouts/home.html
index 9823d43..430c03f 100644
--- a/docs/static_site/src/_layouts/home.html
+++ b/docs/static_site/src/_layouts/home.html
@@ -178,14 +178,6 @@
</div>
</div>
</div>
- <div class="trusted-by-section section ">
- <div class="wrapper">
- <div class="trusted-by">
- <h2>Already trusted by</h2>
- <img src="{{'/assets/img/logos.png' | relative_url}}">
- </div>
- </div>
- </div>
</main>
{%- include footer.html -%}
diff --git a/docs/static_site/src/_sass/minima/_home.scss b/docs/static_site/src/_sass/minima/_home.scss
index bdb4f93..5acc7f3 100644
--- a/docs/static_site/src/_sass/minima/_home.scss
+++ b/docs/static_site/src/_sass/minima/_home.scss
@@ -171,20 +171,6 @@ a.btn {
}
// ===
-// trusted-by
-// ===
-
-.trusted-by-section {
- background-color: white;
- color: $grey-color-dark;
-}
-
-.trusted-by {
- margin-top: 30px;
-
-}
-
-// ===
// news
// ===
.news-section {
diff --git a/docs/static_site/src/pages/trusted_by.html b/docs/static_site/src/pages/trusted_by.html
new file mode 100644
index 0000000..a49b3d8
--- /dev/null
+++ b/docs/static_site/src/pages/trusted_by.html
@@ -0,0 +1,34 @@
+---
+layout: page
+title: Trusted By
+subtitle: These are some of the organizations that use MXNet.
+action: Get Started
+action_url: /get_started
+permalink: /trusted_by/
+---
+
+<!---
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+
+<div class="trusted-by-page">
+ <div class="row">
+ <img src="{{'/assets/img/logos.png' | relative_url}}">
+ </div>
+ <br><br>
+</div>