mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-06 04:17:55 +00:00

PT-2091 Docs configuration for Render builds * Added Sphinx-material theme and customizations * Changed Makefile to use Material theme * Customized the theme * Added a separate config for render builds
40 lines
1.5 KiB
HTML
40 lines
1.5 KiB
HTML
<header class="md-header" data-md-component="header">
|
|
<nav class="md-header-nav md-grid">
|
|
<div class="md-flex navheader">
|
|
<div class="md-flex__cell md-flex__cell--shrink">
|
|
<a href="https://www.percona.com/software/documentation" title="{{ docstitle|e }}"
|
|
class="md-header-nav__button md-logo">
|
|
{% if theme_logo_icon|e %}
|
|
<i class="md-icon">{{ theme_logo_icon }}</i>
|
|
{% elif logo %}
|
|
<img src="{{ pathto('_static/' ~ logo, 1) }}" height="26"
|
|
alt="{{ shorttitle|striptags|e }} logo">
|
|
{% else %}
|
|
|
|
{% endif %}
|
|
</a>
|
|
</div>
|
|
<div class="md-flex__cell md-flex__cell--shrink">
|
|
<label class="md-icon md-icon--menu md-header-nav__button" for="__drawer"></label>
|
|
</div>
|
|
<div class="md-flex__cell md-flex__cell--stretch">
|
|
<div class="md-flex__ellipsis md-header-nav__title" data-md-component="title">
|
|
<span class="md-header-nav__topic"> {{ title|striptags|e }} </span>
|
|
</div>
|
|
</div>
|
|
<div class="md-flex__cell md-flex__cell--shrink">
|
|
<label class="md-icon md-icon--search md-header-nav__button" for="__search"></label>
|
|
{% include "searchbox.html" %}
|
|
</div>
|
|
{% if theme_repo_url %}
|
|
<div class="md-flex__cell md-flex__cell--shrink">
|
|
<div class="md-header-nav__source">
|
|
{% include "repo.html" %}
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
{% include "version_dropdown.html" %}
|
|
</div>
|
|
</nav>
|
|
</header>
|