Skip to content

Commit

Permalink
fix broken installation widget - remove empty entries (apache#18661)
Browse files Browse the repository at this point in the history
  • Loading branch information
ys2843 authored and chinakook committed Nov 19, 2020
1 parent 27a5597 commit b0c8542
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 90 deletions.
121 changes: 31 additions & 90 deletions docs/static_site/src/_includes/get_started/get_started.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,16 @@ <h2>Platform and use-case specific instructions for using MXNet</h2>

<!-- No CPU GPU for other Devices -->
<div class="linux macos windows cloud">
<div class="row">
<div class="col-3 install-left">
<span>GPU / CPU</span>
</div>
<div class="col-9 install-right">
<div class="btn-group opt-group" role="group">
<button type="button" class="btn btn-default processors opt active">GPU</button>
<button type="button" class="btn btn-default processors opt">CPU</button>
<div class="python cloud devices">
<div class="row">
<div class="col-3 install-left">
<span>GPU / CPU</span>
</div>
<div class="col-9 install-right">
<div class="btn-group opt-group" role="group">
<button type="button" class="btn btn-default processors opt active">GPU</button>
<button type="button" class="btn btn-default processors opt">CPU</button>
</div>
</div>
</div>
</div>
Expand Down Expand Up @@ -133,25 +135,6 @@ <h2>Platform and use-case specific instructions for using MXNet</h2>
</div>
</div>

<!-- Julia Options -->
<div class="linux macos windows">
<div class="julia">
<div class="cpu gpu">
<div class="row">
<div class="col-3 install-left">
<span>Distribution</span>
</div>
<div class="col-9 install-right">
<div class="btn-group opt-group" role="group">
<button type="button" class="btn btn-default environs opt active">Pkg</button>
<button type="button" class="btn btn-default environs opt">Build from Source</button>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>


Expand Down Expand Up @@ -198,48 +181,34 @@ <h2>Platform and use-case specific instructions for using MXNet</h2>


<div class="r">
<div class="build-from-source">
{% markdown %}{% include /get_started/linux/r/build-from-source.md %}{% endmarkdown %}
</div> <!-- END of build from source -->
{% markdown %}{% include /get_started/linux/r/build-from-source.md %}{% endmarkdown %}
</div> <!-- END of R -->


<div class="scala">
<div class="build-from-source">
{% markdown %}{% include /get_started/linux/scala/build-from-source.md %}{% endmarkdown %}
</div> <!-- END of build from source -->
{% markdown %}{% include /get_started/linux/scala/build-from-source.md %}{% endmarkdown %}
</div> <!-- End of scala -->


<div class="clojure">
<div class="build-from-source">
{% markdown %}{% include /get_started/linux/clojure/build-from-source.md %}{% endmarkdown %}
</div> <!-- END of build from source -->
{% markdown %}{% include /get_started/linux/clojure/build-from-source.md %}{% endmarkdown %}
</div> <!-- End of clojure -->


<div class="java">
<div class="build-from-source">
{% markdown %}{% include /get_started/linux/java/build-from-source.md %}{% endmarkdown %}
</div> <!-- END of build from source -->
{% markdown %}{% include /get_started/linux/java/build-from-source.md %}{% endmarkdown %}
</div> <!-- End of java -->

<div class="julia">
<div class="build-from-source">
{% markdown %}{% include /get_started/linux/julia/build-from-source.md %}{% endmarkdown %}
</div> <!-- END of build from source -->
{% markdown %}{% include /get_started/linux/julia/build-from-source.md %}{% endmarkdown %}
</div> <!-- End of julia -->

<div class="perl">
<div class="build-from-source">
{% markdown %}{% include /get_started/linux/perl/build-from-source.md %}{% endmarkdown %}
</div> <!-- End of build from source -->
{% markdown %}{% include /get_started/linux/perl/build-from-source.md %}{% endmarkdown %}
</div> <!-- End of perl -->

<div class="cpp">
<div class="build-from-source">
{% markdown %}{% include /get_started/linux/cpp/build-from-source.md %}{% endmarkdown %}
</div> <!-- End of build from source -->
{% markdown %}{% include /get_started/linux/cpp/build-from-source.md %}{% endmarkdown %}
</div> <!-- END - C++-->
</div> <!-- END - Linux -->

Expand Down Expand Up @@ -276,48 +245,34 @@ <h2>Platform and use-case specific instructions for using MXNet</h2>


<div class="r">
<div class="build-from-source">
{% markdown %}{% include /get_started/macos/r/build-from-source.md %}{% endmarkdown %}
</div> <!-- END of build from source -->
{% markdown %}{% include /get_started/macos/r/build-from-source.md %}{% endmarkdown %}
</div> <!-- END of R -->


<div class="scala">
<div class="build-from-source">
{% markdown %}{% include /get_started/macos/scala/build-from-source.md %}{% endmarkdown %}
</div> <!-- END of build from source -->
{% markdown %}{% include /get_started/macos/scala/build-from-source.md %}{% endmarkdown %}
</div> <!-- End of scala -->


<div class="clojure">
<div class="build-from-source">
{% markdown %}{% include /get_started/macos/clojure/build-from-source.md %}{% endmarkdown %}
</div> <!-- END of build from source -->
{% markdown %}{% include /get_started/macos/clojure/build-from-source.md %}{% endmarkdown %}
</div> <!-- End of clojure -->


<div class="java">
<div class="build-from-source">
{% markdown %}{% include /get_started/macos/java/build-from-source.md %}{% endmarkdown %}
</div> <!-- END of build from source -->
{% markdown %}{% include /get_started/macos/java/build-from-source.md %}{% endmarkdown %}
</div> <!-- End of java -->

<div class="julia">
<div class="build-from-source">
{% markdown %}{% include /get_started/macos/julia/build-from-source.md %}{% endmarkdown %}
</div> <!-- END of build from source -->
{% markdown %}{% include /get_started/macos/julia/build-from-source.md %}{% endmarkdown %}
</div> <!-- End of julia -->

<div class="perl">
<div class="build-from-source">
{% markdown %}{% include /get_started/macos/perl/build-from-source.md %}{% endmarkdown %}
</div> <!-- End of build from source -->
{% markdown %}{% include /get_started/macos/perl/build-from-source.md %}{% endmarkdown %}
</div> <!-- End of perl -->

<div class="cpp">
<div class="build-from-source">
{% markdown %}{% include /get_started/macos/cpp/build-from-source.md %}{% endmarkdown %}
</div> <!-- End of build from source -->
{% markdown %}{% include /get_started/macos/cpp/build-from-source.md %}{% endmarkdown %}
</div> <!-- END - C++-->
</div> <!-- END - MacOS -->

Expand Down Expand Up @@ -353,48 +308,34 @@ <h2>Platform and use-case specific instructions for using MXNet</h2>


<div class="r">
<div class="build-from-source">
{% markdown %}{% include /get_started/windows/r/build-from-source.md %}{% endmarkdown %}
</div> <!-- END of build from source -->
{% markdown %}{% include /get_started/windows/r/build-from-source.md %}{% endmarkdown %}
</div> <!-- END of R -->


<div class="scala">
<div class="build-from-source">
{% markdown %}{% include /get_started/windows/scala/build-from-source.md %}{% endmarkdown %}
</div> <!-- END of build from source -->
{% markdown %}{% include /get_started/windows/scala/build-from-source.md %}{% endmarkdown %}
</div> <!-- End of scala -->


<div class="clojure">
<div class="build-from-source">
{% markdown %}{% include /get_started/windows/clojure/build-from-source.md %}{% endmarkdown %}
</div> <!-- END of build from source -->
{% markdown %}{% include /get_started/windows/clojure/build-from-source.md %}{% endmarkdown %}
</div> <!-- End of clojure -->


<div class="java">
<div class="build-from-source">
{% markdown %}{% include /get_started/windows/java/build-from-source.md %}{% endmarkdown %}
</div> <!-- END of build from source -->
{% markdown %}{% include /get_started/windows/java/build-from-source.md %}{% endmarkdown %}
</div> <!-- End of java -->

<div class="julia">
<div class="build-from-source">
{% markdown %}{% include /get_started/windows/julia/build-from-source.md %}{% endmarkdown %}
</div> <!-- END of build from source -->
{% markdown %}{% include /get_started/windows/julia/build-from-source.md %}{% endmarkdown %}
</div> <!-- End of julia -->

<div class="perl">
<div class="build-from-source">
{% markdown %}{% include /get_started/windows/perl/build-from-source.md %}{% endmarkdown %}
</div> <!-- End of build from source -->
{% markdown %}{% include /get_started/windows/perl/build-from-source.md %}{% endmarkdown %}
</div> <!-- End of perl -->

<div class="cpp">
<div class="build-from-source">
{% markdown %}{% include /get_started/windows/cpp/build-from-source.md %}{% endmarkdown %}
</div> <!-- End of build from source -->
{% markdown %}{% include /get_started/windows/cpp/build-from-source.md %}{% endmarkdown %}
</div> <!-- END - C++-->
</div> <!-- END - Windows -->

Expand Down
2 changes: 2 additions & 0 deletions docs/static_site/src/_sass/minima/_getting_started.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
max-width: 800px;
margin: auto;
margin-bottom: 40px;
padding-bottom: 40px;
padding-top: 40px;

.highlight {
margin-left: 20px;
Expand Down

0 comments on commit b0c8542

Please sign in to comment.