onnxruntime/docs/python/_templates/page.html
Xavier Dupré 0573952499 Update the documentation, run all examples during the generation of the documentation (replace #89) (#103)
* Minor update in the documentation

* Run examples during the generation of the documentation.
2018-12-05 10:12:25 -08:00

88 lines
3.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>{{title|striptags|e}}{{titlesuffix}}</title>
<link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css"/>
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
<link rel="stylesheet" href="{{ pathto('_static/gallery.css', 1) }}" type="text/css" />
</head>
<body>
<div class="container">
<div class="row" style="margin-top: 1rem;">
<div id="sidebar" class="col-xs-12 col-sm-3">
<a href="{{pathto(master_doc)}}">
<img style="margin-bottom: 0.5rem;" class="img-fluid" src="{{ pathto('_static/' + logo, 1) }}"/>
</a>
{%- if pagename != "search" and builder != "singlehtml" %}
<div id="searchbox" style="display: none" role="search">
<form class="form-inline" action="{{ pathto('search') }}" method="get">
<div class="form-group">
<label class="sr-only" for="searchInput">Search</label>
<input type="text" class="form-control" name="q" id="searchInput" placeholder="Search">
</div>
<button type="submit" class="btn btn-secondary" style="display:none">Go</button>
<input type="hidden" name="check_keywords" value="yes"/>
<input type="hidden" name="area" value="default"/>
</form>
</div>
{%- endif %}
<hr>
{%- if pagename != "intro" %}
<div id="toc">
{{ toctree(maxdepth=2, collapse=False, includehidden=True) }}
</div>
{%- else %}
<div id="toc">
{{ toctree(maxdepth=2, collapse=False, includehidden=True).split("<p class=")[0] }}
</div>
{%- endif %}
{%- if theme_versions_url %}
<hr>
<div id="versions" class="card">
<div class="card-block">
<h6 class="card-title" style="display:inline;">Version {{release}}</h6>
<a class="btn btn-secondary btn-sm pull-xs-right" data-toggle="collapse"
href="#other-versions" aria-expanded="false">&#9660;</a>
<ul id="other-versions" class="collapse list-inline">
<li id="other-versions-text" class="list-inline-item">Other versions</li>
<!-- Add <li class="list-inline-item">'s here -->
</ul>
</div>
</div>
<script>var versions_json_url = '{{theme_versions_url}}'</script>
{% endif %}
</div>
<div class="col-xs-12 col-sm-9">
{{ body }}
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js"
integrity="sha384-THPy051/pYDQGanwU6poAc/hOdQxjnOEXzbT+OuUAFqNqFjL+4IGLBgCJC3ZOShY"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.2.0/js/tether.min.js"
integrity="sha384-Plbmg8JY28KFelvJVai01l8WyZzrYWG825m+cZ0eDDS1f7d/js6ikvy1+X+guPIB"
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.3/js/bootstrap.min.js"
integrity="sha384-ux8v3A6CPtOTqOzMKiuo3d/DomGaaClxFYdCu2HPMBEkf6x2xiDyJ7gkXU0MWwaD"
crossorigin="anonymous"></script>
<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lunr.js/0.6.0/lunr.min.js"></script>
<script src="{{ pathto('_static/searchtools.js', 1) }}"></script>
{%- if theme_versions_url %}
<script src="{{ pathto('_static/versions.js', 1) }}"></script>
{% endif %}
<script>$('#searchbox').show(0)</script>
</body>
</html>