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" "tests"
], ],
"dependencies": { "dependencies": {
"wyrm": "~0.0.3" "wyrm": "~0.0.4"
} }
} }

View File

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

View File

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

View File

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

View File

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