diff --git a/docs/_static/custom.css b/docs/_static/custom.css new file mode 100644 index 0000000..e68036b --- /dev/null +++ b/docs/_static/custom.css @@ -0,0 +1,7 @@ +.section { + margin-bottom: 30px !important; +} + +div.tip { + color: #3a87ad; /* Basicstrap CSS was messed up so override it */ +} diff --git a/docs/_themes/basicstrap/layout.html b/docs/_themes/basicstrap/layout.html new file mode 100755 index 0000000..b1b344c --- /dev/null +++ b/docs/_themes/basicstrap/layout.html @@ -0,0 +1,325 @@ +{# + basicstrap/layout.html + ~~~~~~~~~~~~~~~~~~~~~~~~~ + + Master layout template for Sphinx themes. on Twitter Bootstrap + + :copyright: Copyright 2012 by tell-k. + :license: MIT Licence, see LICENSE for details. +#} +{%- block doctype -%} + +{%- endblock %} +{%- set reldelim1 = reldelim1 is not defined and ' »' or reldelim1 %} +{%- set reldelim2 = reldelim2 is not defined and ' |' or reldelim2 %} +{%- set render_sidebar = (not embedded) and (not theme_nosidebar|tobool) and +(sidebars != []) %} +{%- set url_root = pathto('', 1) %} +{# XXX necessary? #} +{%- if url_root == '#' %}{% set url_root = '' %}{% endif %} +{%- if not embedded and docstitle %} +{%- set titlesuffix = " — "|safe + docstitle|e %} +{%- else %} +{%- set titlesuffix = "" %} +{%- endif %} + +{%- macro relbar() %} +
+{%- endmacro %} + +{%- macro sidebar(for_mobile=False) %} +{%- if render_sidebar %} + +{%- endif %} +{%- endmacro %} + +{% set script_files = script_files + ['_static/js/bootstrap.min.js'] %} +{%- macro script() %} + +{%- for scriptfile in script_files %} +{%- if scriptfile == '_static/jquery.js' %} + +{%- else %} + +{%- endif %} +{%- endfor %} + +{%- endmacro %} + +{%- macro css() %} +{%- if (theme_googlewebfont|tobool) %} + +{%- endif %} + +{%- if (theme_inner_theme|tobool) %} + +{%- else %} + +{%- endif %} + + + + + + +{%- for cssfile in css_files %} + +{%- endfor %} +{%- if (not theme_noresponsive|tobool) %} + +{%- endif %} +{%- endmacro %} + + + + + {{ metatags }} + {%- block htmltitle %} ++ {% trans %}Please activate JavaScript to enable the search + functionality.{% endtrans %} +
++ {% trans %}From here you can search these documents. Enter your search + words into the box below and click "search". Note that the search + function will automatically search for all of the words. Pages + containing fewer words won't appear in the result list.{% endtrans %} +
+ + {% if search_performed %} +{{ _('Your search did not match any results.') }}
+ {% endif %} + {% endif %} ++ {{ _('Enter search terms or a module, class or function name.') }} +
++ From here you can search these documents. Enter your search + words into the box below and click "search". +
+ +{%- if search_performed %} +Your search did not match any results.
+ {%- endif %} +{%- endif %} +| t |