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; + } + } 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