Skip to content
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
36 changes: 8 additions & 28 deletions docs/source/_static/custom.css
Original file line number Diff line number Diff line change
@@ -1,33 +1,13 @@
div.body {
max-width: 2000px;
table#packages tr th {
padding-top: 3em;
padding-bottom: 1em;
}

iframe {
-moz-transform: scale(0.25, 0.25);
-webkit-transform: scale(0.25, 0.25);
-o-transform: scale(0.25, 0.25);
-ms-transform: scale(0.25, 0.25);
transform: scale(0.25, 0.25);
-moz-transform-origin: top left;
-webkit-transform-origin: top left;
-o-transform-origin: top left;
-ms-transform-origin: top left;
transform-origin: top left;

width: 3100px;
margin-right: -2500px;
height: 1600px;
margin-bottom: -1200px;
}

#tools-wrapper a {
text-decoration:none;
table#packages tr td {
vertical-align: top;
}

#tools-wrapper .sponsor-logo {
max-height: 20px;
table#packages tr td a img {
height: 1.4em;
max-width: none;
}

#tools-wrapper .empty-cell {
text-align: center;
}
Binary file removed docs/source/_static/favicon.ico
Binary file not shown.
Binary file removed docs/source/_static/logo.png
Binary file not shown.
3 changes: 3 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
},
],
}
html_css_files = [
"custom.css",
]
html_sidebars = {
'**': ['localtoc.html']
}
Expand Down
30 changes: 15 additions & 15 deletions python/template.rst
Original file line number Diff line number Diff line change
@@ -1,59 +1,59 @@
.. raw:: html

<div>
<table>
<table id="packages">
{% for section in config %}
<tr>
<td colspan=5 style="height:4em; vertical-align:center">
<th colspan=5>
{% with section_id = section.name | lower | replace(" ", "-") %}
<h3 id="{{ section_id }}">
{{ section.name }}
<a class="headerlink" href="#{{ section_id }}" title="Permalink to this headline">¶</a>
</h3>
{% endwith %}
</td>
</th>
</tr>

{% for package in section.packages %}
<tr>

<td style="text-align:left; vertical-align:top;">
<td>
<a href="https://github.com/{{ package.user }}/{{ package.name }}">
<img style="text-align:left; height:1.4em; max-width: none;" src="_static/badges/github-gray.svg">
<img src="_static/badges/github-gray.svg">
</a>
</td>

{% if 'pypi' in package.badges %}
<td style="text-align:left; vertical-align:top;">
<td>
<a href="https://pypi.python.org/pypi/{{ package.pypi_name }}">
<img style="text-align:left; height:1.4em; max-width: none;" src="_static/badges/pip-orange.svg">
<img src="_static/badges/pip-orange.svg">
</a>
</td>
{% else %}
<td style="text-align:center; style="vertical-align:top;">
<img style="text-align:left; height:1.4em; max-width: none;" src="_static/badges/pip-empty.svg">
<td>
<img src="_static/badges/pip-empty.svg">
</td>
{% endif %}
{% if 'conda' in package.badges %}
<td style="text-align:left; vertical-align:top;">
<td>
<a href="https://anaconda.org/{{ package.conda_channel }}/{{ package.conda_package }}">
<img style="text-align:left; height:1.4em; max-width: none;" src="_static/badges/conda-blue.svg">
<img src="_static/badges/conda-blue.svg">
</a>
</td>
{% else %}
<td style="text-align:left;vertical-align:top; ">
<img style="text-align:left; height:1.4em; max-width: none;" src="_static/badges/conda-empty.svg">
<td>
<img src="_static/badges/conda-empty.svg">
</td>
{% endif %}

<td style="vertical-align:top; text-align:left;cellpadding:0.3em">
<td>
{% if 'site' in package.badges %}
<a href="{{ package.site_protocol}}://{{ package.site }}">{{ package.name }}</a>
{% else %}
<a href="http://github.com/{{ package.repo }}">{{ package.name }}</a>
{% endif %}
</td>
<td style="text-align:left;vertical-align:top;cellpadding:0.3em">
<td>
{{ package.description }}
</td>

Expand Down