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 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
63 changes: 63 additions & 0 deletions ci/jenkins/Jenkinsfile_website_full_sethman
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
// -*- mode: groovy -*-

// 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.
//
// Jenkins pipeline
// See documents at https://jenkins.io/doc/book/pipeline/jenkinsfile/

// timeout in minutes
max_time = 240

node('restricted-utility') {
// Loading the utilities requires a node context unfortunately
checkout scm
utils = load('ci/Jenkinsfile_utils.groovy')
custom_steps = load('ci/jenkins/Jenkins_steps.groovy')
}

utils.assign_node_labels(utility: 'restricted-utility', linux_cpu: 'restricted-mxnetlinux-cpu', linux_gpu: 'restricted-mxnetlinux-gpu-g4', linux_gpu_p3: 'restricted-mxnetlinux-gpu-p3', windows_cpu: 'restricted-mxnetwindows-cpu', windows_gpu: 'restricted-mxnetwindows-gpu')

utils.main_wrapper(
core_logic: {
utils.parallel_stage('Build', [
custom_steps.compile_unix_cpu_openblas('libmxnet'),
custom_steps.compile_unix_full_gpu('libmxnet_gpu')
])

utils.parallel_stage('Build Docs', [
custom_steps.docs_jekyll(),
custom_steps.docs_c('libmxnet'),
custom_steps.docs_python('libmxnet_gpu'),
])

utils.parallel_stage('Prepare', [
custom_steps.docs_prepare()
])

// utils.parallel_stage('Publish', [
// custom_steps.docs_publish()
// ])
}
,
failure_handler: {
// Only send email if master or release branches failed
if (currentBuild.result == "FAILURE" && (env.BRANCH_NAME == "master" || env.BRANCH_NAME.startsWith("v"))) {
emailext body: 'Build for MXNet branch ${BRANCH_NAME} has broken. Please view the build at ${BUILD_URL}', replyTo: '${EMAIL}', subject: '[BUILD FAILED] Branch ${BRANCH_NAME} build ${BUILD_NUMBER}', to: '${EMAIL}'
}
}
)
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}}powered_by">Powered 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
2 changes: 1 addition & 1 deletion docs/static_site/src/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,4 @@ Redirect 301 /faq/index.html /api
Redirect 301 /tutorials/index.html /api
Redirect 301 /architecture/index.html /api/architecture/overview
Redirect 301 /community/ecosystem.html /ecosystem
Redirect 301 /community/powered_by.html /ecosystem
Redirect 301 /community/powered_by.html /powered_by
mseth10 marked this conversation as resolved.
Show resolved Hide resolved
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="{{'/powered_by' | relative_url }}">Powered 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
1 change: 1 addition & 0 deletions docs/static_site/src/_sass/minima.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ $on-laptop: 1024px !default;
"minima/blog",
"minima/features",
"minima/ecosystem",
"minima/powered_by",
"minima/docs",
"minima/getting_started",
"minima/colorful"
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
26 changes: 26 additions & 0 deletions docs/static_site/src/_sass/minima/_powered_by.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* 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. */

.powered-by-page {
.card {
background-color: $grey-color-light;
}

h4 {
float: left;
}
}
57 changes: 57 additions & 0 deletions docs/static_site/src/pages/powered_by.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
---
layout: page
title: Powered By
subtitle: Explore a rich ecosystem of libraries, tools, and more to support research and development of Deep Learning application across many fields and domains of application.
action: Get Started
action_url: /get_started
permalink: /powered_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="powered-by-page">
<div class="row">
<h2>D2L.ai</h2>
<div class="row">
<div class="col-4">
<a href="http://d2l.ai/"><img src="{{'/assets/img/front.jpg' | relative_url}}"></a>
</div>
<div class="col-8">
<p>A <a href="https://d2l.ai">deep learning book</a> with interactive jupyter notebooks, math formula,
and a dedicated forum for discussions.</p>
<p>It offers an interactive learning experience with mathematics, figures, code, text, and discussions,
where concepts and techniques are illustrated and implemented with experiments on real data
sets.</p>
<p>Each section is an executable Jupyter notebook. You can modify the code and tune hyperparameters to
get instant feedback to accumulate practical experiences in deep learning.</p>
<p>The book is authored by <a href="https://www.astonzhang.com/">Aston Zhang</a>, Amazon Applied
Scientist UIUC Ph.D., <a href="http://zacklipton.com/">Zack C. Lipton</a>, CMU Assistant Professor
UCSD Ph.D.,
<a href="https://scholar.google.com/citations?user=Z_WrhK8AAAAJ&hl=en">Mu Li</a> Amazon Principal
Scientist CMU Ph.D. and <a href="https://alex.smola.org/">Alex J. Smola</a> Amazon VP/Distinguished
Scientist TU Berlin Ph.D.
<p>D2L is used as a textbook or a reference book at Carnegie Mellon University, Georgia Institute of
Technology, the University of California Berkeley and many more university</p>
</div>
</div>
</div>
<br><br>
</div>