Skip to content

Commit

Permalink
DISTPG-631 Added PDF fixes and a pixel to docs (#428)
Browse files Browse the repository at this point in the history
modified:   _resource/overrides/main.html
	new file:   docs/css/extra.css
	modified:   mkdocs-base.yml
	modified:   mkdocs-pdf.yml
	deleted:    mkdocs-percona.yml
	modified:   mkdocs.yml
  • Loading branch information
nastena1606 authored Aug 7, 2023
1 parent 358a9dd commit 3b252b9
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 27 deletions.
1 change: 1 addition & 0 deletions _resource/overrides/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ <h4>Contact Us </h4>
<p>For free technical help, visit the Percona <a class="reference external" href="https://forums.percona.com/c/postgresql/25?utm_campaign=Doc%20pages" target="_blank">Community Forum</a>.<br>
<p>To report bugs or submit feature requests, open a <a class="reference external" href="https://jira.percona.com/projects/DISTPG/issues/" target="_blank">JIRA</a> ticket.<br>
<p>For paid <a class="reference external" href="https://www.percona.com/services/support"> support </a> and <a class="reference external" href="https://www.percona.com/services/managed-services"> managed </a> or <a class="reference external" href="https://www.percona.com/services/consulting">consulting services </a>, contact <a class="reference external" href="https://www.percona.com/about-percona/contact" target="_blank">Percona Sales</a>.</p>
<img referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=b95a2b04-c5c7-47f9-bb4e-b7fc13c3ab0d" />
</article>
</div>
</div>
Expand Down
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;
}
}
1 change: 1 addition & 0 deletions mkdocs-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ extra_css:
- https://unicons.iconscout.com/release/v3.0.3/css/line.css
- https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css
- css/percona.css
- css/extra.css

extra_javascript:
- js/version-select.js
Expand Down
5 changes: 2 additions & 3 deletions mkdocs-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@
INHERIT: mkdocs-base.yml

markdown_extensions:
- pymdownx.superfences
- pymdownx.tabbed
- admonition
pymdownx.tabbed: {}
admonition: {}
23 changes: 0 additions & 23 deletions mkdocs-percona.yml

This file was deleted.

4 changes: 3 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ theme:
- content.action.view
- content.code.copy


# Plugins
plugins:
section-index: {}

#markdown_extensions:
# - pymdownx.tabbed:
Expand Down

0 comments on commit 3b252b9

Please sign in to comment.