This commit is contained in:
Dave Snider 2013-10-21 16:28:09 -07:00
parent 5d5625ca02
commit cee649a646
5 changed files with 31 additions and 37 deletions

View File

@ -25,7 +25,7 @@
"tests"
],
"dependencies": {
"wyrm": "~0.0.3"
"wyrm": "~0.0.4"
}
}

View File

@ -123,7 +123,6 @@
</div>
</section>
{% block footer %}{% endblock %}
</div>
</body>
</html>

View File

@ -204,6 +204,8 @@
.wy-nav-content
padding: $gutter $gutter * 2
height: 100%
max-width: 800px
margin: auto
.wy-body-mask
position: fixed

View File

@ -4268,6 +4268,7 @@ body .redactor_toolbar li a.redactor_btn_pre {
width: 300px;
color: #fcfcfc;
background: #1f1d1d;
border-top: solid 10px #343131;
}
.rst-versions .rst-current-version {
padding: 12px;
@ -4277,6 +4278,7 @@ body .redactor_toolbar li a.redactor_btn_pre {
font-size: 90%;
cursor: pointer;
color: #27ae60;
z-index: 400;
*zoom: 1;
}
.rst-versions .rst-current-version:before, .rst-versions .rst-current-version:after {
@ -5016,6 +5018,8 @@ pre.literal-block:after, .literal-block.redactor_format_pre:after {
.wy-nav-content {
padding: 1.618em 3.236em;
height: 100%;
max-width: 800px;
margin: auto;
}
.wy-body-mask, #redactor_modal_overlay {

View File

@ -1,37 +1,26 @@
<div class="rst-versions" data-toggle="rst-versions">
<span class="rst-current-version {% if current_version != "latest" %}rst-out-of-date{% endif %}" data-toggle="rst-current-version">
<span class="float-left icon icon-book"> Read the Docs</span>
v: {{ current_version }}
{% if current_version != "latest" %}(old) {% endif %}
<span class="icon icon-caret-down"></span>
</span>
<div class="rst-other-versions">
<dl>
<dt>Version</dt>
{% for slug, url in versions %}
<dd><a href="{{ url }}">{{ slug }}</a></dd>
{% endfor %}
</dl>
<dl>
<dt>Downloads</dt>
<dd><a href="{{ url }}">PDF</a></dd>
<dd><a href="{{ url }}">Epub</a></dd>
<dd><a href="{{ url }}">Zip</a></dd>
</dl>
<hr/>
Free document hosting and versioning provided by <a href="http://www.readthedocs.org">Read the Docs</a>.
</div>
</div>
{#
{% if versions %}
<div class="wy-dropdown">
<a href="{{ pathto(master_doc) }}" class="icon icon-home caret"> {{ project }} </a>
<dl class="wy-dropdown-menu">
{% for slug, url in versions %}
<dd><a href="{{ url }}">{{ slug }}</a></dd>
{% endfor %}
</dl>
{% if READTHEDOCS %}
<div class="rst-versions" data-toggle="rst-versions">
<span class="rst-current-version {% if current_version != "latest" %}rst-out-of-date{% endif %}" data-toggle="rst-current-version">
<span class="float-left icon icon-book"> Read the Docs</span>
v: {{ current_version }}
{% if current_version != "latest" %}(old) {% endif %}
<span class="icon icon-caret-down"></span>
</span>
<div class="rst-other-versions">
<dl>
<dt>Version</dt>
{% for slug, url in versions %}
<dd><a href="{{ url }}">{{ slug }}</a></dd>
{% endfor %}
</dl>
<dl>
<dt>Downloads</dt>
<dd><a href="{{ url }}">PDF</a></dd>
<dd><a href="{{ url }}">Epub</a></dd>
<dd><a href="{{ url }}">Zip</a></dd>
</dl>
<hr/>
Free document hosting and versioning provided by <a href="http://www.readthedocs.org">Read the Docs</a>.
</div>
</div>
{% endif %}
#}