diff --git a/docs/_templates/themes/pcbsd_style/README.md b/docs/_templates/themes/pcbsd_style/README.md new file mode 100644 index 0000000..2fa95a7 --- /dev/null +++ b/docs/_templates/themes/pcbsd_style/README.md @@ -0,0 +1,24 @@ +#PC-BSD Style + +###A new style for _Our_ docs so as to avoid upstream theme changes. + +**In order to use the pcbsd_style theme, there are some adjustments to make to the _src-qt/docs/conf.py_ file:** + +* Revise this value from 'classic' or something else, to 'pcbsd_style' prior to generating docs: +``` + html_theme = 'pcbsd_style' +``` +* Comment out these lines because the build may fail since these don't exist and/or aren't used right now: +``` + # "stickysidebar": "true", + # "rightsidebar": "false", + # "sidebarwidth" : "240", + # "headbgcolor" : "#fff", + # "relbarbgcolor" : "#696969", + # "sidebarbgcolor" : "#696969", + # "bgcolor" : "#fff" +``` +* Add or adjust this statement below to match, it is for _additional_ places to search: +``` + html_theme_path = ['themes'] +``` diff --git a/docs/_templates/themes/pcbsd_style/breadcrumbs.html b/docs/_templates/themes/pcbsd_style/breadcrumbs.html new file mode 100644 index 0000000..f0c802f --- /dev/null +++ b/docs/_templates/themes/pcbsd_style/breadcrumbs.html @@ -0,0 +1,20 @@ +
diff --git a/docs/_templates/themes/pcbsd_style/footer.html b/docs/_templates/themes/pcbsd_style/footer.html new file mode 100644 index 0000000..21328b9 --- /dev/null +++ b/docs/_templates/themes/pcbsd_style/footer.html @@ -0,0 +1,36 @@ + + diff --git a/docs/_templates/themes/pcbsd_style/layout.html b/docs/_templates/themes/pcbsd_style/layout.html new file mode 100644 index 0000000..678aa83 --- /dev/null +++ b/docs/_templates/themes/pcbsd_style/layout.html @@ -0,0 +1,172 @@ +{# TEMPLATE VAR SETTINGS #} +{%- set url_root = pathto('', 1) %} +{%- if url_root == '#' %}{% set url_root = '' %}{% endif %} +{%- if not embedded and docstitle %} + {%- set titlesuffix = " — "|safe + docstitle|e %} +{%- else %} + {%- set titlesuffix = "" %} +{%- endif %} + + + + + + + {{ metatags }} + + {% block htmltitle %} +asdf asdf asdf asdf 22
+{%- endblock %} + + + diff --git a/docs/_templates/themes/pcbsd_style/search.html b/docs/_templates/themes/pcbsd_style/search.html new file mode 100644 index 0000000..cb5f86e --- /dev/null +++ b/docs/_templates/themes/pcbsd_style/search.html @@ -0,0 +1,49 @@ +{# + 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 footer %} + + {# 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 }}
+