newest version

This commit is contained in:
Dave Snider 2013-10-21 15:52:35 -07:00
parent b74a20a058
commit 5d5625ca02
11 changed files with 5142 additions and 4157 deletions

View File

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

View File

@ -1,16 +1,11 @@
{% if READTHEDOCS %}
<p class="wy-breadcrumbs-extra">Free document hosting provided by <a href="">Read the Docs</a>.</p>
{% endif %}
<ul class="wy-breadcrumbs"> <ul class="wy-breadcrumbs">
<li><a href="/">Docs</a> &raquo;</li> <li><a href="/">Docs</a> &raquo;</li>
<li><a href="">{{ title }}</a></li> <li><a href="">{{ title }}</a></li>
{% if display_github %} {% if display_github %}
<li class="wy-breadcrumbs-aside"> <li class="wy-breadcrumbs-aside">
<a href="https://github.com/{{ github_user }}/{{ github_repo }}/edit/{{ github_version }}{{ conf_py_path }}{{ pagename }}.rst" class="icon icon-github"> Edit on GitHub</a> <a href="https://github.com/{{ github_user }}/{{ github_repo }}/blob/{{ github_version }}{{ conf_py_path }}{{ pagename }}.rst" class="icon icon-github"> Edit on GitHub</a>
</li> </li>
{% endif %} {% endif %}
</ul> </ul>
<hr/> <hr/>

View File

@ -40,7 +40,7 @@
HAS_SOURCE: {{ has_source|lower }} HAS_SOURCE: {{ has_source|lower }}
}; };
</script> </script>
{%- for scriptfile in script_files + ["_static/sphinx_rtd_theme.js"] %} {%- for scriptfile in script_files + ["_static/theme.js"] %}
<script type="text/javascript" src="{{ pathto(scriptfile, 1) }}"></script> <script type="text/javascript" src="{{ pathto(scriptfile, 1) }}"></script>
{%- endfor %} {%- endfor %}
@ -94,13 +94,14 @@
{# SIDE NAV, TOGGLES ON MOBILE #} {# SIDE NAV, TOGGLES ON MOBILE #}
<nav data-toggle="wy-nav-shift" class="wy-nav-side"> <nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-nav-search"> <div class="wy-side-nav-search">
<a href="{{ pathto(master_doc) }}" class="icon icon-home"> {{ docstitle }}</a> <a href="{{ pathto(master_doc) }}" class="icon icon-home"> {{ project }}</a>
{% include "searchbox.html" %} {% include "searchbox.html" %}
</div> </div>
<div class="wy-menu wy-menu-vertical" data-spy="affix"> <div class="wy-menu wy-menu-vertical" data-spy="affix">
{{ toctree(maxdepth=2, collapse=False) }} {{ toctree(maxdepth=2, collapse=False) }}
</div> </div>
{% include "versions.html" %}
&nbsp; &nbsp;
</nav> </nav>
@ -109,9 +110,10 @@
{# MOBILE NAV, TRIGGLES SIDE NAV ON TOGGLE #} {# MOBILE NAV, TRIGGLES SIDE NAV ON TOGGLE #}
<nav class="wy-nav-top"> <nav class="wy-nav-top">
<i data-toggle="wy-nav-top" class="icon icon-reorder"></i> <i data-toggle="wy-nav-top" class="icon icon-reorder"></i>
<a href="/">{{ docstitle }}</a> <a href="/">{{ project }}</a>
</nav> </nav>
{# PAGE CONTENT #} {# PAGE CONTENT #}
<div class="wy-nav-content"> <div class="wy-nav-content">
<div class="rst-content"> <div class="rst-content">

View File

@ -110,7 +110,7 @@
background-color: $menu-logo-color background-color: $menu-logo-color
padding: 5px padding: 5px
border-radius: 100% border-radius: 100%
a > a, .wy-dropdown > a
color: $section-background-color color: $section-background-color
font-size: 100% font-size: 100%
font-weight: bold font-weight: bold

View File

@ -30,12 +30,27 @@
@import wyrm_core/table @import wyrm_core/table
@import wyrm_core/type @import wyrm_core/type
// Cms
// @import wyrm_addons/cms/dashboard
// @import wyrm_addons/cms/layout
// @import wyrm_addons/cms/list_like_table
// @import wyrm_addons/cms/plugin_store
// Elements
@import wyrm_addons/elements/modal
@import wyrm_addons/elements/stars
@import wyrm_addons/elements/tooltip
// Redactor
@import wyrm_addons/redactor/figures
@import wyrm_addons/redactor/redactor
// Restructured text and Sphinx // Restructured text and Sphinx
@import wyrm_addons/rst/rst @import wyrm_addons/rst/rst
@import wyrm_addons/rst/pygments @import wyrm_addons/rst/pygments
// @import wyrm_addons/rst/pygments_dark // @import wyrm_addons/rst/pygments_dark
@import wyrm_addons/rst/pygments_light @import wyrm_addons/rst/pygments_light
// Theme specific files // Theme specific styles
@import nav
@import breadcrumbs @import breadcrumbs
@import nav

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +0,0 @@
$( document ).ready(function() {
$(".icon-reorder").click(function () {
$(".wy-nav-content-wrap").toggleClass("shift");
$(".wy-nav-side").toggleClass("shift");
});
});

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,15 @@
$( document ).ready(function() {
// Shift nav in mobile when clicking the menu.
$("[data-toggle='wy-nav-top']").click(function() {
$("[data-toggle='wy-nav-shift']").toggleClass("shift");
$("[data-toggle='rst-versions']").toggleClass("shift");
});
// Close menu when you click a link.
$(".wy-menu-vertical .current ul li a").click(function() {
$("[data-toggle='wy-nav-shift']").removeClass("shift");
$("[data-toggle='rst-versions']").toggleClass("shift");
});
$("[data-toggle='rst-current-version']").click(function() {
$("[data-toggle='rst-versions']").toggleClass("shift-up");
});
});

View File

@ -1,6 +1,6 @@
[theme] [theme]
inherit = basic inherit = basic
stylesheet = sphinx_rtd_theme.css stylesheet = theme.css
[options] [options]
typekit_id = hiw1hhg typekit_id = hiw1hhg

View File

@ -0,0 +1,37 @@
<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>
</div>
{% endif %}
#}