Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit 026f1d5

Browse files
authored
[website] Move trusted-by section from main page to a new page (#20788)
* 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 e214069. * copy powered_by to master/ * update trusted-by page * remove test jenkinsfile
1 parent 091102c commit 026f1d5

File tree

6 files changed

+37
-23
lines changed

6 files changed

+37
-23
lines changed

ci/docker/runtime_functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1329,7 +1329,7 @@ build_docs() {
13291329

13301330
# copy the full site for this version to versions folder
13311331
mkdir -p html/versions/master
1332-
for f in 404.html api assets blog community ecosystem features feed.xml get_started index.html; do
1332+
for f in 404.html api assets blog community ecosystem features trusted_by feed.xml get_started index.html; do
13331333
cp -r html/$f html/versions/master/
13341334
done
13351335

docs/python_docs/themes/mx-theme/mxtheme/header_top.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<a class="page-link" href="{{theme_relative_url}}features">Features</a>
1919
<a class="page-link" href="{{theme_relative_url}}ecosystem">Ecosystem</a>
2020
<a class="page-link page-current" href="{{theme_relative_url}}api">Docs & Tutorials</a>
21+
<a class="page-link" href="{{theme_relative_url}}trusted_by">Trusted By</a>
2122
<a class="page-link" href="https://github.com/apache/incubator-mxnet">GitHub</a>
2223
<div class="dropdown">
2324
<span class="dropdown-header">master

docs/static_site/src/_includes/header.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
<a class="page-link" href="{{'/features' | relative_url }}">Features</a>
8686
<a class="page-link" href="{{'/ecosystem' | relative_url }}">Ecosystem</a>
8787
<a class="page-link" href="{{'/api' | relative_url }}">Docs & Tutorials</a>
88+
<a class="page-link" href="{{'/trusted_by' | relative_url }}">Trusted By</a>
8889
<a class="page-link" href="https://github.com/apache/incubator-mxnet">GitHub</a>
8990
<div class="dropdown">
9091
<span class="dropdown-header">master

docs/static_site/src/_layouts/home.html

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -178,14 +178,6 @@ <h3>{{feature.title}}</h3>
178178
</div>
179179
</div>
180180
</div>
181-
<div class="trusted-by-section section ">
182-
<div class="wrapper">
183-
<div class="trusted-by">
184-
<h2>Already trusted by</h2>
185-
<img src="{{'/assets/img/logos.png' | relative_url}}">
186-
</div>
187-
</div>
188-
</div>
189181
</main>
190182

191183
{%- include footer.html -%}

docs/static_site/src/_sass/minima/_home.scss

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -170,20 +170,6 @@ a.btn {
170170
background-color: white;
171171
}
172172

173-
// ===
174-
// trusted-by
175-
// ===
176-
177-
.trusted-by-section {
178-
background-color: white;
179-
color: $grey-color-dark;
180-
}
181-
182-
.trusted-by {
183-
margin-top: 30px;
184-
185-
}
186-
187173
// ===
188174
// news
189175
// ===
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
layout: page
3+
title: Trusted By
4+
subtitle: These are some of the organizations that use MXNet.
5+
action: Get Started
6+
action_url: /get_started
7+
permalink: /trusted_by/
8+
---
9+
10+
<!---
11+
Licensed to the Apache Software Foundation (ASF) under one
12+
or more contributor license agreements. See the NOTICE file
13+
distributed with this work for additional information
14+
regarding copyright ownership. The ASF licenses this file
15+
to you under the Apache License, Version 2.0 (the
16+
"License"); you may not use this file except in compliance
17+
with the License. You may obtain a copy of the License at
18+
19+
http://www.apache.org/licenses/LICENSE-2.0
20+
21+
Unless required by applicable law or agreed to in writing,
22+
software distributed under the License is distributed on an
23+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
24+
KIND, either express or implied. See the License for the
25+
specific language governing permissions and limitations
26+
under the License.
27+
-->
28+
29+
<div class="trusted-by-page">
30+
<div class="row">
31+
<img src="{{'/assets/img/logos.png' | relative_url}}">
32+
</div>
33+
<br><br>
34+
</div>

0 commit comments

Comments
 (0)