Skip to content

Commit

Permalink
DOC: Update theme
Browse files Browse the repository at this point in the history
  • Loading branch information
has2k1 committed Jul 6, 2023
1 parent 072a00d commit 705bd55
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
8 changes: 4 additions & 4 deletions doc/theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
<meta name="apple-mobile-web-app-capable" content="yes">
<script type="text/javascript" src="{{ pathto('_static/js/jquery-1.12.4.min.js', 1) }} "></script>
<script type="text/javascript" src="{{ pathto('_static/js/jquery-fix.js', 1) }} "></script>
<script type="text/javascript" src="{{ pathto('_static', 1) + '/bootstrap-' + bootstrap_version + '/js/bootstrap.min.js' }} "></script>
<script type="text/javascript" src="{{ pathto('_static/bootstrap-sphinx.js', 1) }} "></script>
<script type="text/javascript" src="{{ pathto('_static/js/jquery-1.12.4.min.js', 1) }}"></script>
<script type="text/javascript" src="{{ pathto('_static/js/jquery-fix.js', 1) }}"></script>
<script type="text/javascript" src="{{ pathto('_static', 1) + '/bootstrap-' + bootstrap_version + '/js/bootstrap.min.js' }}"></script>
<script type="text/javascript" src="{{ pathto('_static/bootstrap-sphinx.js', 1) }}"></script>
{% endblock %}

{# Silence the sidebar's, relbar's #}
Expand Down
5 changes: 3 additions & 2 deletions doc/theme/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
{%- extends "layout.html" %}
{% set title = _('Search') %}
{% block extrahead %}
<script type="text/javascript" src="{{ pathto('_static/searchtools.js', 1) }} "></script>
<script type="text/javascript" src="{{ pathto('searchindex.js', 1) }} "></script>
<script type="text/javascript" src="{{ pathto('_static/searchtools.js', 1) }}"></script>
<script type="text/javascript" src="{{ pathto('_static/language_data.js', 1) }}"></script>
<script type="text/javascript" src="{{ pathto('searchindex.js', 1) }}"></script>
{# this is used when loading the search index using $.ajax fails,
such as on Chrome for documents on localhost #}
<script type="text/javascript" id="searchindexloader"></script>
Expand Down
2 changes: 1 addition & 1 deletion doc/theme/static/bootstrap-3.4.1/css/bootstrap.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion doc/theme/static/js/jquery-fix.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// No Conflict in later (our) version of jQuery
window.$jqTheme = jQuery.noConflict(true);
window.$jqTheme = jQuery.noConflict();
3 changes: 3 additions & 0 deletions doc/theme/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,6 @@ bootswatch_theme =
# Switch Bootstrap version?
# Values: "3" (default) or "2"
bootstrap_version = 3

# basic.css
body_max_width = none

0 comments on commit 705bd55

Please sign in to comment.