diff --git a/_resource/overrides/main.html b/_resource/overrides/main.html index 84181c7cd..55b80a377 100644 --- a/_resource/overrides/main.html +++ b/_resource/overrides/main.html @@ -6,9 +6,22 @@ {# Import the theme's layout. #} {% extends "base.html" %} -{# Add EOL lable #} +{% block announce %} +
+This documentation is for the end of life version... +
+{% endblock %} + +{% block content %} +
+EOL TEST +
+ +{{ super() }} +{% endblock %} + {% block outdated %} -
This documentation is for the end of life version of Percona Distribution for PostgreSQL 13. See the current documentation.
+
This documentation is for the end of life version of Percona Distribution for PostgreSQL 12... {% endblock %} {% block scripts %} @@ -28,10 +41,6 @@ - - - - {% endblock %} diff --git a/_resourcepdf/overrides/main.html b/_resourcepdf/overrides/main.html index 19757986e..851d2b2f5 100644 --- a/_resourcepdf/overrides/main.html +++ b/_resourcepdf/overrides/main.html @@ -6,6 +6,12 @@ {# Import the theme's layout. #} {% extends "base.html" %} +{# Add EOL lable #} +{% block outdated %} +
This documentation is for the end of life version of Percona Distribution for PostgreSQL 13. +See the current documentation.
+{% endblock %} + {% block scripts %} {{ super() }} @@ -23,10 +29,6 @@ - - - - {% endblock %} {% block site_nav %} diff --git a/docs/solutions/ha-components.md b/docs/solutions/ha-components.md index 3b7f24a81..4259f04ba 100644 --- a/docs/solutions/ha-components.md +++ b/docs/solutions/ha-components.md @@ -12,7 +12,7 @@ Each PostgreSQL instance in the cluster maintains consistency with other members Each Patroni instance manages its own PostgreSQL instance. This means that Patroni starts and stops PostgreSQL and manages its configuration, being a sophisticated service manager for a PostgreSQL cluster. -Patroni also can make an initial cluster initialization, monitor the cluster state and take other automatic actions if needed. To do so, Patroni relies on and uses the Distributed Configuration Store (DCS), represented by `etcd` in our architecture. +Patroni also can make an initial cluster initialization, monitor the cluster state and take other automatic actions if needed. To do so, Patroni relies on and uses the Distributed Configuration Store (DCS), represented by `etcd` in our architecture. Though Patroni supports various Distributed Configuration Stores like ZooKeeper, etcd, Consul or Kubernetes, we recommend and support `etcd` as the most popular DCS due to its simplicity, consistency and reliability. diff --git a/mkdocs-base.yml b/mkdocs-base.yml index 1344690b3..189b443b1 100644 --- a/mkdocs-base.yml +++ b/mkdocs-base.yml @@ -9,16 +9,6 @@ repo_name: percona/postgresql-docs repo_url: https://github.com/percona/postgresql-docs edit_uri: edit/13/docs/ -features: - - content.tabs.link - - search.highlight - - navigation.top - - navigation.tracking - - content.tabs.link -# - content.action.edit - - content.action.view - - content.code.copy - use_directory_urls: false @@ -29,13 +19,11 @@ theme: favicon: _images/postgresql-fav.svg custom_dir: _resource/overrides/ font: - text: Roboto + text: Roboto code: Roboto Mono icon: edit: material/file-edit-outline view: material/file-eye-outline - -#Color schemes palette: - media: "(prefers-color-scheme)" toggle: @@ -55,17 +43,14 @@ theme: toggle: icon: material/brightness-4 name: Color theme set to Dark Mode. Click to change - -# Theme features - features: + - announce.dismiss - search.highlight - navigation.top - - navigation.tracking + - navigation.tracking - content.tabs.link -# - content.action.edit - content.action.view - - content.code.copy + - content.code.copy extra_css: - https://unicons.iconscout.com/release/v3.0.3/css/line.css @@ -92,7 +77,7 @@ markdown_extensions: title: On this page admonition: {} footnotes: {} - def_list: {} # https://michelf.ca/projects/php-markdown/extra/#def-list + def_list: {} meta: {} md_in_html: {} smarty: @@ -100,10 +85,10 @@ markdown_extensions: pymdownx.details: {} pymdownx.mark: {} pymdownx.smartsymbols: {} - pymdownx.tabbed: + pymdownx.tabbed: alternate_style: true pymdownx.tilde: {} - pymdownx.superfences: + pymdownx.superfences: custom_fences: - name: mermaid class: mermaid @@ -113,8 +98,6 @@ markdown_extensions: pymdownx.inlinehilite: {} pymdownx.snippets: base_path: ["snippets"] - # auto_append: - # - services-banner.md pymdownx.emoji: emoji_index: !!python/name:material.extensions.emoji.twemoji emoji_generator: !!python/name:material.extensions.emoji.to_svg @@ -125,10 +108,10 @@ markdown_extensions: plugins: section-index: {} - search: + search: separator: '[\s\-,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;|(?!\b)(?=[A-Z][a-z])' open-in-new-tab: {} - git-revision-date-localized: + git-revision-date-localized: enable_creation_date: true enabled: !ENV [ENABLED_GIT_REVISION_DATE, True] git-committers: @@ -143,7 +126,7 @@ plugins: max_length: 160 macros: include_yaml: - - 'variables.yml' # Use in markdown as '{{ VAR }}' + - 'variables.yml' mike: version_selector: true css_dir: css @@ -153,11 +136,9 @@ plugins: add_to_navigation: false print_page_title: 'Percona Distribution for PostgreSQL documentation' add_print_site_banner: false - # Table of contents add_table_of_contents: true toc_title: 'Table of Contents' toc_depth: 2 - # Content-related add_full_urls: false enumerate_headings: false enumerate_headings_depth: 1 @@ -171,16 +152,14 @@ plugins: extra: version: provider: mike - #homepage: - # https://docs.percona.com postgresrecommended: 13 nav: - 'Home': 'index.md' - get-help.md - - Get started: + - Get started: - Quickstart guide: installing.md - - 1. Install: + - 1. Install: - Via apt: apt.md - Via yum: yum.md - From tarballs: tarball.md @@ -189,8 +168,8 @@ nav: - repo-overview.md - sboms.md - 2. Connect to PostgreSQL: connect.md - - 3. Manipulate data in PostgreSQL: crud.md - - 4. What's next: whats-next.md + - 3. Manipulate data in PostgreSQL: crud.md + - 4. What's next: whats-next.md - Extensions: - 'Extensions': extensions.md - contrib.md @@ -271,7 +250,7 @@ nav: - "13.2 Update 4": release-notes/release-notes-v13.2.upd4.md - "13.2 Update 3": release-notes/release-notes-v13.2.upd3.md - "13.2 Update 2": release-notes/release-notes-v13.2.upd2.md - - 2020 (versions 13.0 - 13.2 Update): + - 2020 (versions 13.0 - 13.2 Update): - "13.2 Update": release-notes/release-notes-v13.2.upd.md - "13.2": release-notes/release-notes-v13.2.md - "13.1": release-notes/release-notes-v13.1.md @@ -279,5 +258,4 @@ nav: - Reference: - Telemetry: telemetry.md - Licensing: licensing.md - - Trademark policy: trademark-policy.md - + - Trademark policy: trademark-policy.md \ No newline at end of file