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

[website] Move trusted-by section from main page to a new page #20788

Merged
merged 9 commits into from
Dec 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ci/docker/runtime_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1329,7 +1329,7 @@ build_docs() {

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

Expand Down
1 change: 1 addition & 0 deletions docs/python_docs/themes/mx-theme/mxtheme/header_top.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<a class="page-link" href="{{theme_relative_url}}features">Features</a>
<a class="page-link" href="{{theme_relative_url}}ecosystem">Ecosystem</a>
<a class="page-link page-current" href="{{theme_relative_url}}api">Docs & Tutorials</a>
<a class="page-link" href="{{theme_relative_url}}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">master
Expand Down
1 change: 1 addition & 0 deletions docs/static_site/src/_includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -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">master
Expand Down
8 changes: 0 additions & 8 deletions docs/static_site/src/_layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,14 +178,6 @@ <h3>{{feature.title}}</h3>
</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 -%}
Expand Down
14 changes: 0 additions & 14 deletions docs/static_site/src/_sass/minima/_home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -170,20 +170,6 @@ a.btn {
background-color: white;
}

// ===
// trusted-by
// ===

.trusted-by-section {
background-color: white;
color: $grey-color-dark;
}

.trusted-by {
margin-top: 30px;

}

// ===
// news
// ===
Expand Down
34 changes: 34 additions & 0 deletions docs/static_site/src/pages/trusted_by.html
Original file line number Diff line number Diff line change
@@ -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>