DOCS-106 Added Osano cookies

modified:   config/sphinx-build/__pycache__/conf.cpython-37.pyc
	modified:   config/sphinx-build/_static/_templates/theme/layout.html
	new file:   config/sphinx-build/_static/osano.js
	modified:   config/sphinx-build/conf-material/conf.py
	modified:   config/sphinx-build/conf.py
This commit is contained in:
Anastasia Alexadrova
2024-03-12 09:15:39 +01:00
parent 3eeccd7d32
commit 26553842b4
5 changed files with 16 additions and 1 deletions

View File

@@ -22,10 +22,20 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<meta property="og:title" content="Percona Toolkit Documentation" />
<meta property="og:description" content="Command-line tools for common MySQL database administration tasks." />
<meta property="og:url" content="https://docs.percona.com/percona-toolkit/" />
<script src="https://cmp.osano.com/Azqe5vTyLOSbN3OuT/49ad85b5-0418-4794-ab81-7599dddd534c/osano.js"></script>
{% endblock %}
{%- block relbar2 %}
{% include "relbar2.html" %}
{%- endblock %}
{%- block extrafooter %}
<a href="#" onclick="Osano.cm.showDrawer('osano-cm-dom-info-dialog-open')">Cookie Preferences</a>
{{ super() }}
{%- endblock %}
{# Adds Osano cookie module #}
{% set script_files = script_files + ["_static/osano.js"] %}

View File

@@ -0,0 +1 @@
<script src="https://cmp.osano.com/Azqe5vTyLOSbN3OuT/49ad85b5-0418-4794-ab81-7599dddd534c/osano.js"></script>

View File

@@ -32,3 +32,5 @@ html_css_files = [
'../_static/css/material.css',
]

View File

@@ -41,7 +41,7 @@ master_doc = 'index'
# General information about the project.
project = u'Percona Toolkit'
copyright = u'2023, Percona LLC and/or its affiliates'
copyright = u'2024, Percona LLC and/or its affiliates'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
@@ -141,8 +141,10 @@ html_short_title = 'Percona Toolkit'
# Path to custom css files. These will override the default css attribute if they exist
html_css_files = [
'_static/css/material.css',
'_static/css/osano.css',
]
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
#html_last_updated_fmt = '%b %d, %Y'