mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 04:39:35 +00:00
Pt 2091 doc migration render (#552)
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
This commit is contained in:

committed by
GitHub

parent
210aafa85a
commit
cc5bfbe39f
22
config/sphinx-build/_static/_templates/theme/sidebar.html
Normal file
22
config/sphinx-build/_static/_templates/theme/sidebar.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<nav class="md-nav md-nav--primary" data-md-level="0">
|
||||
<label class="md-nav__title md-nav__title--site" for="__drawer">
|
||||
<a href="{{ pathto(master_doc)|e }}" title="{{ docstitle|striptags|e }}" class="md-nav__button md-logo">
|
||||
{% if theme_logo_icon %}
|
||||
<i class="md-icon">{{ theme_logo_icon }}</i>
|
||||
{% else %}
|
||||
<img src="{{ pathto('_static/' ~ logo, 1) }}" alt="{{ html_title }} logo" width="48" height="48">
|
||||
{% endif %}
|
||||
</a>
|
||||
<a href="{{ pathto(master_doc)|e }}"
|
||||
title="{{ docstitle|striptags|e }}">{{ theme_nav_title or shorttitle }}</a>
|
||||
</label>
|
||||
{%- if theme_repo_url %}
|
||||
<div class="md-nav__source">
|
||||
{% include "repo.html" %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% include "globaltoc.html" %}
|
||||
<label class="md-nav__title md-nav__title--site" for="__drawer">
|
||||
<a title="Download PDF Manual" onclick="_gaq.push(['b._trackEvent', 'Percona Toolkit', 'Download', 'Download Percona Toolkit {{version}} Manual']);" href="https://learn.percona.com/download-percona-toolkit-3-manual" class="md-nav__link">Download PDF Manual <span class="glyphicon glyphicon-chevron-down"></span></a>
|
||||
</label>
|
||||
</nav>
|
Reference in New Issue
Block a user