Skip to content

Commit

Permalink
[v1.9.x] Fix css for Apache links, add to Python docs. (apache#20995)
Browse files Browse the repository at this point in the history
* Add Apache links to python docs footer, update hostname in CI script.

* Don't use relative_url function.

* Add link to ASF.
  • Loading branch information
josephevans committed May 3, 2022
1 parent 5b87ea3 commit 4de11cc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
19 changes: 15 additions & 4 deletions docs/python_docs/themes/mx-theme/mxtheme/footer.html
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -14,11 +14,22 @@ <h4 class="footer-category-title">Resources</h4>

</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></li><li><a href="https://youtube.com/apachemxnet"><svg class="svg-icon"><use xlink:href="{{pathto('_static/minima-social-icons.svg#youtube', 1)}}"></use></svg> <span class="username">apachemxnet</span></a></li></ul>
<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></li><li><a href="https://youtube.com/apachemxnet"><svg class="svg-icon"><use xlink:href="{{pathto('_static/minima-social-icons.svg#youtube', 1)}}"></use></svg> <span class="username">apachemxnet</span></a></li></ul>
</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>
Expand All @@ -32,7 +43,7 @@ <h4 class="footer-category-title">Resources</h4>
<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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ footer.mdl-mini-footer {
}

.contact-list,
.apache-list,
.social-media-list {
list-style: none;
margin-left: 0;
Expand Down

0 comments on commit 4de11cc

Please sign in to comment.