This is an automated email from the ASF dual-hosted git repository.

jevans pushed a commit to branch v1.9.x
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/v1.9.x by this push:
     new 32b65a2974 [v1.9.x] Fix css for Apache links, add to Python docs. 
(#20995)
32b65a2974 is described below

commit 32b65a29746c5862bab401090b917c68552b2048
Author: Joe Evans <[email protected]>
AuthorDate: Fri Apr 8 13:56:33 2022 -0700

    [v1.9.x] Fix css for Apache links, add to Python docs. (#20995)
    
    * Add Apache links to python docs footer, update hostname in CI script.
    
    * Don't use relative_url function.
    
    * Add link to ASF.
---
 ci/jenkins/Jenkins_steps.groovy                       |  2 +-
 docs/python_docs/themes/mx-theme/mxtheme/footer.html  | 19 +++++++++++++++----
 .../themes/mx-theme/src/scss/footer/_footer.scss      |  1 +
 3 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/ci/jenkins/Jenkins_steps.groovy b/ci/jenkins/Jenkins_steps.groovy
index 2441d94dfb..4f5a51e435 100644
--- a/ci/jenkins/Jenkins_steps.groovy
+++ b/ci/jenkins/Jenkins_steps.groovy
@@ -1398,7 +1398,7 @@ def docs_website() {
             utils.docker_run('ubuntu_cpu_jekyll', 'build_docs_small', false)
 
             master_url = utils.get_jenkins_master_url()
-            if ( master_url == 'jenkins.mxnet-ci.amazon-ml.com') {
+            if ( master_url == 'jenkins.mxnet-ci.com') {
                 // TODO: Make sure this scripts publish the website from the 
right folder
                 sh "ci/other/ci_deploy_doc.sh ${env.BRANCH_NAME} 
${env.BUILD_NUMBER}"
             } else {
diff --git a/docs/python_docs/themes/mx-theme/mxtheme/footer.html 
b/docs/python_docs/themes/mx-theme/mxtheme/footer.html
index 55a5fb2312..a17a243fcc 100644
--- a/docs/python_docs/themes/mx-theme/mxtheme/footer.html
+++ b/docs/python_docs/themes/mx-theme/mxtheme/footer.html
@@ -1,7 +1,7 @@
 <footer class="site-footer h-card">
     <div class="wrapper">
         <div class="row">
-            <div class="col-4">
+            <div class="col-3">
                 <h4 class="footer-category-title">Resources</h4>
                 <ul class="contact-list">
                     <li><a class="u-email" 
href="mailto:[email protected]";>Dev list</a></li>
@@ -14,11 +14,22 @@
 
                 </ul>
             </div>
+            <div class="col-3">
+                <h4 class="footer-category-title">Apache</h4>
+                <ul class="apache-list">
+                    <li><a 
href="https://www.apache.org/foundation/";>Foundation</a></li>
+                    <li><a 
href="https://www.apache.org/foundation/sponsorship.html";>Sponsorship</a></li>
+                    <li><a href="/api/faq/security.html">Security</a></li>
+                    <li><a 
href="https://www.apache.org/licenses/";>License</a></li>
+                    <li><a 
href="https://www.apache.org/events/current-event";>Events</a></li>
+                    <li><a 
href="https://www.apache.org/foundation/thanks.html";>Thanks</a></li>
+                </ul>
+            </div>
 
-            <div class="col-4"><ul class="social-media-list"><li><a 
href="https://github.com/apache/incubator-mxnet";><svg class="svg-icon"><use 
xlink:href="{{pathto('_static/minima-social-icons.svg#github', 
1)}}"></use></svg> <span 
class="username">apache/incubator-mxnet</span></a></li><li><a 
href="https://www.twitter.com/apachemxnet";><svg class="svg-icon"><use 
xlink:href="{{pathto('_static/minima-social-icons.svg#twitter', 
1)}}"></use></svg> <span class="username">apachemxnet</span></a> [...]
+            <div class="col-3"><ul class="social-media-list"><li><a 
href="https://github.com/apache/incubator-mxnet";><svg class="svg-icon"><use 
xlink:href="{{pathto('_static/minima-social-icons.svg#github', 
1)}}"></use></svg> <span 
class="username">apache/incubator-mxnet</span></a></li><li><a 
href="https://www.twitter.com/apachemxnet";><svg class="svg-icon"><use 
xlink:href="{{pathto('_static/minima-social-icons.svg#twitter', 
1)}}"></use></svg> <span class="username">apachemxnet</span></a> [...]
 </div>
 
-            <div class="col-4 footer-text">
+            <div class="col-3 footer-text">
                 <p>A flexible and efficient library for deep learning.</p>
             </div>
         </div>
@@ -32,7 +43,7 @@
                 <img src="{{pathto('_static/apache_incubator_logo.png', 1)}}" 
class="footer-logo col-2">
             </div>
             <div class="footer-bottom-warning col-9">
-                <p>Apache MXNet is an effort undergoing incubation at The 
Apache Software Foundation (ASF), <span style="font-weight:bold">sponsored by 
the <i>Apache Incubator</i></span>. Incubation is required
+                <p>Apache MXNet is an effort undergoing incubation at <a 
href="http://www.apache.org/";>The Apache Software Foundation</a> (ASF), <span 
style="font-weight:bold">sponsored by the <i>Apache Incubator</i></span>. 
Incubation is required
                     of all newly accepted projects until a further review 
indicates that the infrastructure,
                     communications, and decision making process have 
stabilized in a manner consistent with other
                     successful ASF projects. While incubation status is not 
necessarily a reflection of the completeness
diff --git a/docs/python_docs/themes/mx-theme/src/scss/footer/_footer.scss 
b/docs/python_docs/themes/mx-theme/src/scss/footer/_footer.scss
index 5ce4768e22..b1bf7e9c07 100644
--- a/docs/python_docs/themes/mx-theme/src/scss/footer/_footer.scss
+++ b/docs/python_docs/themes/mx-theme/src/scss/footer/_footer.scss
@@ -147,6 +147,7 @@ footer.mdl-mini-footer {
 }
 
 .contact-list,
+.apache-list,
 .social-media-list {
   list-style: none;
   margin-left: 0;

Reply via email to