Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements from HD-20808 #1127

Merged
merged 3 commits into from
Aug 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/css/extra.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@media print {
/* Adjusts positioning of admonition icon */
.md-typeset :is(.admonition-title,summary):before {
top: 0.6rem;
left: 0.6rem;
}
}
14 changes: 13 additions & 1 deletion docs/css/percona.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,20 @@ line-height: 1.4;
margin: 1em 0 .54em;
}

article table {
page-break-before: auto !important;
page-break-inside: auto !important;
}

article ol {
page-break-before: auto !important;
page-break-inside: auto !important;
}

section {
page-break-before: auto !important;
page-break-inside: auto !important;
}
/*.git-revision-date-localized-plugin:before {
content: url('https://api.iconify.design/mdi/clock-edit-outline.svg');
}*/
}*/
5 changes: 2 additions & 3 deletions mkdocs-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ theme:
name: material
logo: _images/percona-logo.svg
favicon: _images/percona-favicon.ico
custom_dir: overrides
font:
text: Poppins
palette:
Expand Down Expand Up @@ -49,7 +48,8 @@ extra_css:
- https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css
- css/percona.css
- css/lightgallery.min.css
- css/nocopy.css
- css/nocopy.css\
- css/extra.css

extra_javascript:
# - js/lightgallery.min.js
Expand Down Expand Up @@ -79,7 +79,6 @@ markdown_extensions:

plugins:
search: {}
section-index: {}
search:
separator: '[\s\-,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;|(?!\b)(?=[A-Z][a-z])'
git-revision-date: {}
Expand Down
6 changes: 6 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@ extra:
analytics:
provider: google
property: UA-343802-3


plugins:
section-index: {}
catalinaadam marked this conversation as resolved.
Show resolved Hide resolved


Loading