From 1ef3f99d0c99c2fe8abdcb68de5cfc9d67c6c1ad Mon Sep 17 00:00:00 2001 From: Dmitriy Kostiuk Date: Tue, 12 Dec 2023 20:51:48 +0300 Subject: [PATCH 1/2] Update mkdocs.yml --- mkdocs.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/mkdocs.yml b/mkdocs.yml index 6685f37..ab8aba8 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -44,8 +44,17 @@ theme: - content.action.view extra_css: - css/design.css + - css/extra.css plugins: - - search + search: {} + with-pdf: + output_path: "_pdf/psmysql.pdf" + cover_title: "Percona Server for MySQL documentation" + cover_subtitle: 2.2.0 (June 30, 2023) + author: "Percona Technical Documentation Team" + cover_logo: docs/assets/mysql.jpg + custom_template_path: _resource/templates + enabled_if_env: ENABLE_PDF_EXPORT extra: version: provider: mike @@ -283,4 +292,4 @@ nav: - MongoDB: reference/dummy.md - ProxySQL: reference/dummy.md - HAproxy: reference/dummy.md - - Remote monitoring: reference/dummy.md \ No newline at end of file + - Remote monitoring: reference/dummy.md From 6bd8c383e7070334f7cb456f99995b887abef051 Mon Sep 17 00:00:00 2001 From: Dmitriy Kostiuk Date: Tue, 12 Dec 2023 20:52:47 +0300 Subject: [PATCH 2/2] Add files via upload --- docs/css/extra.css | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 docs/css/extra.css diff --git a/docs/css/extra.css b/docs/css/extra.css new file mode 100644 index 0000000..1c42732 --- /dev/null +++ b/docs/css/extra.css @@ -0,0 +1,7 @@ +@media print { + /* Adjusts positioning of admonition icon */ + .md-typeset :is(.admonition-title,summary):before { + top: 0.6rem; + left: 0.6rem; + } + }