Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Jacobs committed Jun 17, 2021
1 parent a711173 commit f142b0a
Show file tree
Hide file tree
Showing 3 changed files with 117 additions and 114 deletions.
107 changes: 54 additions & 53 deletions mkdocs-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,63 +25,64 @@ extra_javascript:
- js/lightgallery.min.js

markdown_extensions:
- attr_list
- toc:
permalink: True
- admonition
- def_list
- meta
- smarty:
smart_angled_quotes: true
- pymdownx.details
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.tabbed
- pymdownx.tilde
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:mermaid2.fence_mermaid
- pymdownx.highlight:
linenums: false
- plantuml_markdown
- lightgallery
- attr_list
- toc:
permalink: True
- admonition
- def_list
- meta
- smarty:
smart_angled_quotes: true
- pymdownx.details
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.tabbed
- pymdownx.tilde
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:mermaid2.fence_mermaid
- pymdownx.highlight:
linenums: false
- plantuml_markdown
- lightgallery

plugins:
- search
- git-revision-date
- macros:
include_yaml:
- variables.yml
# https://pypi.org/project/mkdocs-exclude/
- exclude:
glob:
- 'setting-up/client/docker.md'
# https://github.com/orzih/mkdocs-with-pdf
- with-pdf:
output_path: '_pdf/PerconaMonitoringAndManagement-2.18.0.pdf'
cover_title: 'Documentation'
cover_subtitle: 2.18.0 (June 1, 2021)
author: 'Percona Technical Documentation Team'
cover_logo: docs/_images/PMM_Logo.svg
debug_html: false
custom_template_path: _resources/templates
enabled_if_env: ENABLE_PDF_EXPORT
# Check links - but extends build time significantly
# https://pypi.org/project/mkdocs-htmlproofer-plugin/
- htmlproofer
- search
- git-revision-date
- macros:
include_yaml:
- variables.yml
# https://pypi.org/project/mkdocs-exclude/
- exclude:
glob:
- "setting-up/client/docker.md"
# https://github.com/orzih/mkdocs-with-pdf
- with-pdf:
output_path: "_pdf/PerconaMonitoringAndManagement-2.18.0.pdf"
cover_title: "Documentation"
cover_subtitle: 2.18.0 (June 1, 2021)
author: "Percona Technical Documentation Team"
cover_logo: docs/_images/PMM_Logo.svg
debug_html: false
custom_template_path: _resources/templates
enabled_if_env: ENABLE_PDF_EXPORT
# Check links - but extends build time significantly
# https://pypi.org/project/mkdocs-htmlproofer-plugin/
- htmlproofer

extra: # Used in main.html template and can't be externalised
open_issue_text: '<i class="uil uil-exclamation-triangle"></i> Report a problem
with this page'
open_issue_subject: 'PMM2: doc issue on page '
open_issue_body: 'Please describe the issue here'
open_issue_tooltip: 'Report an issue with this page on GitHub'
edit_page_text: '<i class="uil uil-pen"></i> <b>Edit this page</b>'
updated_text: '<i class="uil uil-refresh"></i> Page updated'
version:
provider: mike
open_issue_text:
'<i class="uil uil-exclamation-triangle"></i> Report a problem
with this page'
open_issue_subject: "PMM2: doc issue on page "
open_issue_body: "Please describe the issue here"
open_issue_tooltip: "Report an issue with this page on GitHub"
edit_page_text: '<i class="uil uil-pen"></i> <b>Edit this page</b>'
updated_text: '<i class="uil uil-refresh"></i> Page updated'
version:
provider: mike

nav:
- Welcome: index.md
Expand Down
1 change: 1 addition & 0 deletions mkdocs-percona.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ extra_javascript:
- https://cdnjs.cloudflare.com/ajax/libs/tablesort/5.2.1/tablesort.min.js
- js/table.number.js
- js/tables.js
- https://unpkg.com/mermaid/dist/mermaid.min.js

markdown_extensions:
- attr_list
Expand Down
123 changes: 62 additions & 61 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ repo_url: https://github.com/percona/pmm-doc
edit_uri: edit/main/docs/

theme:
name: material
logo: _images/percona-logo.svg
favicon: _images/percona-favicon.ico
palette:
- media: "(prefers-color-scheme: light)"
scheme: percona-light
toggle:
icon: material/toggle-switch-off-outline
name: Switch to night mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/toggle-switch
name: Switch to day mode
name: material
logo: _images/percona-logo.svg
favicon: _images/percona-favicon.ico
palette:
- media: "(prefers-color-scheme: light)"
scheme: percona-light
toggle:
icon: material/toggle-switch-off-outline
name: Switch to night mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/toggle-switch
name: Switch to day mode

extra_css:
- https://unicons.iconscout.com/release/v3.0.3/css/line.css
Expand All @@ -38,57 +38,58 @@ extra_javascript:
- js/tables.js

markdown_extensions:
- attr_list
- toc:
permalink: True
- admonition
- def_list
- meta
- smarty:
smart_angled_quotes: true
- pymdownx.details
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.tabbed
- pymdownx.tilde
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:mermaid2.fence_mermaid
- pymdownx.highlight:
linenums: false
- plantuml_markdown
- lightgallery
- attr_list
- toc:
permalink: True
- admonition
- def_list
- meta
- smarty:
smart_angled_quotes: true
- pymdownx.details
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.tabbed
- pymdownx.tilde
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:mermaid2.fence_mermaid
- pymdownx.highlight:
linenums: false
- plantuml_markdown
- lightgallery

plugins:
- search
- git-revision-date
- macros:
include_yaml:
- variables.yml
# https://pypi.org/project/mkdocs-exclude/
- exclude:
glob:
- 'setting-up/client/docker.md'
- mike:
version_selector: true
css_dir: css
javascript_dir: js
canonical_version: null
- section-index
- mermaid2
- search
- git-revision-date
- macros:
include_yaml:
- variables.yml
# https://pypi.org/project/mkdocs-exclude/
- exclude:
glob:
- "setting-up/client/docker.md"
- mike:
version_selector: true
css_dir: css
javascript_dir: js
canonical_version: null
- section-index
- mermaid2

extra: # Used in main.html template and can't be externalised
open_issue_text: '<i class="uil uil-exclamation-triangle"></i> Report a problem
with this page'
open_issue_subject: 'PMM2: doc issue on page '
open_issue_body: 'Please describe the issue here'
open_issue_tooltip: 'Report an issue with this page on GitHub'
edit_page_text: '<i class="uil uil-pen"></i> <b>Edit this page</b>'
updated_text: '<i class="uil uil-refresh"></i> Page updated'
version:
provider: mike
open_issue_text:
'<i class="uil uil-exclamation-triangle"></i> Report a problem
with this page'
open_issue_subject: "PMM2: doc issue on page "
open_issue_body: "Please describe the issue here"
open_issue_tooltip: "Report an issue with this page on GitHub"
edit_page_text: '<i class="uil uil-pen"></i> <b>Edit this page</b>'
updated_text: '<i class="uil uil-refresh"></i> Page updated'
version:
provider: mike

nav:
- Welcome: index.md
Expand Down

0 comments on commit f142b0a

Please sign in to comment.