| 1 |
{# TEMPLATE VAR SETTINGS #} |
| 2 |
{%- set url_root = pathto('', 1) %} |
| 3 |
{%- if url_root == '#' %}{% set url_root = '' %}{% endif %} |
| 4 |
{%- if not embedded and docstitle %} |
| 5 |
{%- set titlesuffix = " — "|safe + docstitle|e %} |
| 6 |
{%- else %} |
| 7 |
{%- set titlesuffix = "" %} |
| 8 |
{%- endif %} |
| 9 |
{%- set lang_attr = 'en' %} |
| 10 |
|
| 11 |
<!DOCTYPE html> |
| 12 |
<!--[if IE 8]><html class="no-js lt-ie9" lang="{{ lang_attr }}" > <![endif]--> |
| 13 |
<!--[if gt IE 8]><!--> <html class="no-js" lang="{{ lang_attr }}" > <!--<![endif]--> |
| 14 |
<head> |
| 15 |
<meta charset="utf-8"> |
| 16 |
{{ metatags }} |
| 17 |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 18 |
<meta name="Description" content="scikit-optimize: machine learning in Python"> |
| 19 |
|
| 20 |
{% block htmltitle %} |
| 21 |
<title>{{ title|striptags|e }}{{ titlesuffix }}</title> |
| 22 |
{% endblock %} |
| 23 |
<link rel="canonical" href="https://scikit-optimize.github.io/{{pagename}}.html" /> |
| 24 |
|
| 25 |
{% if favicon %} |
| 26 |
<link rel="shortcut icon" href="{{ pathto('_static/' + favicon, 1) }}"/> |
| 27 |
{% endif %} |
| 28 |
|
| 29 |
<link rel="stylesheet" href="{{ pathto('_static/css/vendor/bootstrap.min.css', 1) }}" type="text/css" /> |
| 30 |
{%- for css in css_files %} |
| 31 |
{%- if css|attr("rel") %} |
| 32 |
<link rel="{{ css.rel }}" href="{{ pathto(css.filename, 1) }}" type="text/css"{% if css.title is not none %} title="{{ css.title }}"{% endif %} /> |
| 33 |
{%- else %} |
| 34 |
<link rel="stylesheet" href="{{ pathto(css, 1) }}" type="text/css" /> |
| 35 |
{%- endif %} |
| 36 |
{%- endfor %} |
| 37 |
<link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" /> |
| 38 |
<script id="documentation_options" data-url_root="{{ pathto('', 1) }}" src="{{ pathto('_static/documentation_options.js', 1) }}"></script> |
| 39 |
<script src="{{ pathto('_static/jquery.js', 1) }}"></script> |
| 40 |
{%- block extrahead %} {% endblock %} |
| 41 |
</head> |
| 42 |
<body> |
| 43 |
{% include "nav.html" %} |
| 44 |
{%- block content %} |
| 45 |
<div class="d-flex" id="sk-doc-wrapper"> |
| 46 |
<input type="checkbox" name="sk-toggle-checkbox" id="sk-toggle-checkbox"> |
| 47 |
<label id="sk-sidemenu-toggle" class="sk-btn-toggle-toc btn sk-btn-primary" for="sk-toggle-checkbox">Toggle Menu</label> |
| 48 |
<div id="sk-sidebar-wrapper" class="border-right"> |
| 49 |
<div class="sk-sidebar-toc-wrapper"> |
| 50 |
<div class="sk-sidebar-toc-logo"> |
| 51 |
{%- if logo %} |
| 52 |
<a href="{{ pathto('index') }}"> |
| 53 |
<img |
| 54 |
class="sk-brand-img" |
| 55 |
src="{{ pathto('_static/' + logo, 1) }}" |
| 56 |
alt="logo"/> |
| 57 |
</a> |
| 58 |
{%- endif %} |
| 59 |
</div> |
| 60 |
<div class="btn-group w-100 mb-2" role="group" aria-label="rellinks"> |
| 61 |
{%- if prev %} |
| 62 |
<a href="{{ prev.link|e }}" role="button" class="btn sk-btn-rellink py-1" sk-rellink-tooltip="{{ prev.title|striptags }}">Prev</a> |
| 63 |
{%- else %} |
| 64 |
<a href="#" role="button" class="btn sk-btn-rellink py-1 disabled"">Prev</a> |
| 65 |
{%- endif %} |
| 66 |
{%- if parents -%} |
| 67 |
<a href="{{ parents[-1].link }}" role="button" class="btn sk-btn-rellink py-1" sk-rellink-tooltip="{{ parents[-1].title }}">Up</a> |
| 68 |
{%- else %} |
| 69 |
<a href="#" role="button" class="btn sk-btn-rellink disabled py-1">Up</a> |
| 70 |
{%- endif %} |
| 71 |
{%- if next %} |
| 72 |
<a href="{{ next.link|e }}" role="button" class="btn sk-btn-rellink py-1" sk-rellink-tooltip="{{ next.title|striptags }}">Next</a> |
| 73 |
{%- else %} |
| 74 |
<a href="#" role="button" class="btn sk-btn-rellink py-1 disabled"">Next</a> |
| 75 |
{%- endif %} |
| 76 |
</div> |
| 77 |
{%- if pagename != "install" %} |
| 78 |
<div class="alert alert-danger p-1 mb-2" role="alert"> |
| 79 |
<p class="text-center mb-0"> |
| 80 |
<strong>scikit-optimize {{ release }}</strong><br/> |
| 81 |
<a href="https://scikit-optimize.github.io/dev/versions.html">Other versions</a> |
| 82 |
</p> |
| 83 |
</div> |
| 84 |
{%- endif %} |
| 85 |
{%- if meta and meta['globalsidebartoc']|tobool %} |
| 86 |
<div class="sk-sidebar-toc sk-sidebar-global-toc"> |
| 87 |
{{ toctree(maxdepth=2, titles_only=True) }} |
| 88 |
</div> |
| 89 |
{%- else %} |
| 90 |
<div class="sk-sidebar-toc"> |
| 91 |
{{ toc }} |
| 92 |
</div> |
| 93 |
{%- endif %} |
| 94 |
</div> |
| 95 |
</div> |
| 96 |
<div id="sk-page-content-wrapper"> |
| 97 |
<div class="sk-page-content container-fluid body px-md-3" role="main"> |
| 98 |
{% block body %}{% endblock %} |
| 99 |
</div> |
| 100 |
<div class="container"> |
| 101 |
<footer class="sk-content-footer"> |
| 102 |
{%- if pagename != 'index' %} |
| 103 |
{%- if show_copyright %} |
| 104 |
{%- if hasdoc('copyright') %} |
| 105 |
{% trans path=pathto('copyright'), copyright=copyright|e %}© {{ copyright }}.{% endtrans %} |
| 106 |
{%- else %} |
| 107 |
{% trans copyright=copyright|e %}© {{ copyright }}.{% endtrans %} |
| 108 |
{%- endif %} |
| 109 |
{%- endif %} |
| 110 |
{%- if last_updated %} |
| 111 |
{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %} |
| 112 |
{%- endif %} |
| 113 |
{%- if show_source and has_source and sourcename %} |
| 114 |
<a href="{{ pathto('_sources/' + sourcename, true)|e }}" rel="nofollow">{{ _('Show this page source') }}</a> |
| 115 |
{%- endif %} |
| 116 |
{%- endif %} |
| 117 |
</footer> |
| 118 |
</div> |
| 119 |
</div> |
| 120 |
</div> |
| 121 |
{%- endblock %} |
| 122 |
<script src="{{ pathto('_static/js/vendor/bootstrap.min.js', 1) }}"></script> |
| 123 |
{% include "javascript.html" %} |
| 124 |
</body> |
| 125 |
</html> |