This commit is contained in:
Gregor Aisch
2013-04-02 23:45:44 +02:00
parent f8e6d53bb5
commit b5a759087a
9 changed files with 72 additions and 42 deletions
+25
View File
@@ -0,0 +1,25 @@
<h3><a href="{{ pathto(master_doc) }}">{{ _('Table Of Contents') }}</a></h3>
<ul class="custom-index container"></ul>
<script type="text/javascript">
$(function() {
var ul = $('ul.custom-index');
$('dl.class').each(function(i, el) {
var name = $('tt.descname', el).html(), id = $('dt', el).attr('id'),
li = $('<li><a href="#' + id + '">' + name + '</a></li>');
ul.append(li);
var ul_ = $('<ul />');
li.append(ul_);
$('dl.method', el).each(function(i, el) {
var name = $('tt.descname', el).html(), id = $('dt', el).attr('id');
ul_.append('<li><a href="#' + id + '">' + name + '</a></li>');
});
});
});
</script>
-5
View File
@@ -8,9 +8,6 @@
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9">
{% endblock %}
{% block sidebarlogo %}
<iframe width="200px" scrolling="0" height="35px" frameborder="0" allowtransparency="true" src="http://ghbtns.com/github-btn.html?user=pudo&amp;repo=dataset&amp;type=watch&amp;count=true&amp;size=large"></iframe>
{% endblock %}
{% block sidebar2 %}
{{ sidebar() }}
@@ -27,6 +24,4 @@
<a style="position: absolute; top: 0; right: 0; border: 0;" href="https://github.com/pudo/dataset" class="github">
<img src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" class="github"/>
</a>
{%- endblock %}
+3
View File
@@ -0,0 +1,3 @@
<div style="width:200px;height:140px;"></div>
<iframe width="200px" scrolling="0" height="35px" frameborder="0" allowtransparency="true" src="http://ghbtns.com/github-btn.html?user=pudo&amp;repo=dataset&amp;type=watch&amp;count=true&amp;size=large"></iframe>
+2 -2
View File
@@ -103,7 +103,7 @@ div.sphinxsidebar h4 {
color: #000;
font-size: 24px;
font-weight: normal;
margin: 0 0 5px 0;
margin: 30px 0 5px 0;
padding: 0;
}
@@ -128,7 +128,7 @@ div.sphinxsidebar p {
}
div.sphinxsidebar ul {
margin: 10px 0 30px;
margin: 10px 0px;
padding: 0;
color: #000;
}