diff --git a/docsite/_themes/srtd/__init__.py b/docsite/_themes/srtd/__init__.py new file mode 100644 index 0000000000..1440863d68 --- /dev/null +++ b/docsite/_themes/srtd/__init__.py @@ -0,0 +1,17 @@ +"""Sphinx ReadTheDocs theme. + +From https://github.com/ryan-roemer/sphinx-bootstrap-theme. + +""" +import os + +VERSION = (0, 1, 5) + +__version__ = ".".join(str(v) for v in VERSION) +__version_full__ = __version__ + + +def get_html_theme_path(): + """Return list of HTML theme paths.""" + cur_dir = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) + return cur_dir diff --git a/docsite/_themes/srtd/breadcrumbs.html b/docsite/_themes/srtd/breadcrumbs.html new file mode 100644 index 0000000000..1d2e778982 --- /dev/null +++ b/docsite/_themes/srtd/breadcrumbs.html @@ -0,0 +1,11 @@ +
+asdf asdf asdf asdf 22
+{%- endblock %} + + + diff --git a/docsite/_themes/srtd/search.html b/docsite/_themes/srtd/search.html new file mode 100644 index 0000000000..d8bbe69014 --- /dev/null +++ b/docsite/_themes/srtd/search.html @@ -0,0 +1,50 @@ +{# + basic/search.html + ~~~~~~~~~~~~~~~~~ + + Template for the search page. + + :copyright: Copyright 2007-2013 by the Sphinx team, see AUTHORS. + :license: BSD, see LICENSE for details. +#} +{%- extends "layout.html" %} +{% set title = _('Search') %} +{% set script_files = script_files + ['_static/searchtools.js'] %} +{% block extrahead %} + + {# this is used when loading the search index using $.ajax fails, + such as on Chrome for documents on localhost #} + + {{ super() }} +{% endblock %} +{% block body %} + + + {% if search_performed %} +{{ _('Your search did not match any documents. Please make sure that all words are spelled correctly and that you\'ve selected enough categories.') }}
+ {% endif %} + {% endif %} +{{ context|e }}
+