From 976a951fc5c9739c3cf308c60e995d2c6bb97c3f Mon Sep 17 00:00:00 2001 From: Dragos Andriciuc Date: Tue, 28 Apr 2026 14:35:09 +0300 Subject: [PATCH 01/10] Fix EOL Banner (13) This PR fixes the EOL banner not appearing for ver 13. --- _resource/overrides/main.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/_resource/overrides/main.html b/_resource/overrides/main.html index 84181c7cd..ddebf8104 100644 --- a/_resource/overrides/main.html +++ b/_resource/overrides/main.html @@ -8,7 +8,7 @@ {# Add EOL lable #} {% 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 13. See the current documentation.
{% endblock %} {% block scripts %} @@ -28,10 +28,6 @@ - - - - {% endblock %} From e96a628fb04f6b33bd3e62c1d36f78d04a941aba Mon Sep 17 00:00:00 2001 From: Dragos Andriciuc Date: Tue, 28 Apr 2026 15:51:22 +0300 Subject: [PATCH 02/10] Update main.html --- _resourcepdf/overrides/main.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/_resourcepdf/overrides/main.html b/_resourcepdf/overrides/main.html index 19757986e..38dafcc03 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.
+
This documentation is for the end of life version of Percona Distribution for PostgreSQL 13. See the current documentation.
+{% endblock %} + {% block scripts %} {{ super() }} From 2785b4613873aa6e3db0a3946cf46b475d95c038 Mon Sep 17 00:00:00 2001 From: Dragos Andriciuc Date: Wed, 3 Jun 2026 12:17:04 +0300 Subject: [PATCH 03/10] Update main.html --- _resourcepdf/overrides/main.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_resourcepdf/overrides/main.html b/_resourcepdf/overrides/main.html index 38dafcc03..e16f0dcc4 100644 --- a/_resourcepdf/overrides/main.html +++ b/_resourcepdf/overrides/main.html @@ -8,8 +8,8 @@ {# Add EOL lable #} {% 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 13. See the current documentation.
+
This documentation is for the end of life version of Percona Distribution for PostgreSQL 13. +See the current documentation.
{% endblock %} {% block scripts %} From 8df064ddce8d45b02cf9d2ae03c8fefe8a3650ac Mon Sep 17 00:00:00 2001 From: Dragos Andriciuc Date: Wed, 3 Jun 2026 12:43:24 +0300 Subject: [PATCH 04/10] more fixes --- _resource/overrides/main.html | 3 ++- _resourcepdf/overrides/main.html | 6 ------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/_resource/overrides/main.html b/_resource/overrides/main.html index ddebf8104..8145531a6 100644 --- a/_resource/overrides/main.html +++ b/_resource/overrides/main.html @@ -8,7 +8,8 @@ {# Add EOL lable #} {% 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 13. +See the current documentation.
{% endblock %} {% block scripts %} diff --git a/_resourcepdf/overrides/main.html b/_resourcepdf/overrides/main.html index e16f0dcc4..19757986e 100644 --- a/_resourcepdf/overrides/main.html +++ b/_resourcepdf/overrides/main.html @@ -6,12 +6,6 @@ {# 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() }} From af05b7d9903a6cb9b2ddc03ab4921e01350581e9 Mon Sep 17 00:00:00 2001 From: Dragos Andriciuc Date: Wed, 3 Jun 2026 12:49:53 +0300 Subject: [PATCH 05/10] another test fix --- _resource/overrides/main.html | 6 ------ _resourcepdf/overrides/main.html | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/_resource/overrides/main.html b/_resource/overrides/main.html index 8145531a6..6974db2c6 100644 --- a/_resource/overrides/main.html +++ b/_resource/overrides/main.html @@ -6,12 +6,6 @@ {# 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() }} diff --git a/_resourcepdf/overrides/main.html b/_resourcepdf/overrides/main.html index 19757986e..e16f0dcc4 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() }} From d3387bd7ee2caeab94cc710b3a85002b0ae14fb7 Mon Sep 17 00:00:00 2001 From: Dragos Andriciuc Date: Wed, 3 Jun 2026 13:36:25 +0300 Subject: [PATCH 06/10] more fixes --- _resource/overrides/main.html | 10 ++++++++++ _resourcepdf/overrides/main.html | 6 ------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/_resource/overrides/main.html b/_resource/overrides/main.html index 6974db2c6..7a445d6fb 100644 --- a/_resource/overrides/main.html +++ b/_resource/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,6 +29,10 @@ + + + + {% endblock %} diff --git a/_resourcepdf/overrides/main.html b/_resourcepdf/overrides/main.html index e16f0dcc4..19757986e 100644 --- a/_resourcepdf/overrides/main.html +++ b/_resourcepdf/overrides/main.html @@ -6,12 +6,6 @@ {# 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() }} From 2e6fc8570211f845ccbba4820013d8b0895e2a4b Mon Sep 17 00:00:00 2001 From: Dragos Andriciuc Date: Thu, 4 Jun 2026 11:47:39 +0300 Subject: [PATCH 07/10] Update main.html --- _resource/overrides/main.html | 4 ---- 1 file changed, 4 deletions(-) diff --git a/_resource/overrides/main.html b/_resource/overrides/main.html index 7a445d6fb..8145531a6 100644 --- a/_resource/overrides/main.html +++ b/_resource/overrides/main.html @@ -29,10 +29,6 @@ - - - - {% endblock %} From 0a7ce60b7df94f2d96541df82d86583454559e7a Mon Sep 17 00:00:00 2001 From: Dragos Andriciuc Date: Thu, 4 Jun 2026 14:59:17 +0300 Subject: [PATCH 08/10] Update main.html --- _resourcepdf/overrides/main.html | 4 ---- 1 file changed, 4 deletions(-) diff --git a/_resourcepdf/overrides/main.html b/_resourcepdf/overrides/main.html index 19757986e..14cb0cb39 100644 --- a/_resourcepdf/overrides/main.html +++ b/_resourcepdf/overrides/main.html @@ -23,10 +23,6 @@ - - - - {% endblock %} {% block site_nav %} From 700e4c9db2002e5248ed5b50e4e8763dce62b543 Mon Sep 17 00:00:00 2001 From: Dragos Andriciuc Date: Thu, 4 Jun 2026 15:03:22 +0300 Subject: [PATCH 09/10] Update main.html --- _resourcepdf/overrides/main.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/_resourcepdf/overrides/main.html b/_resourcepdf/overrides/main.html index 14cb0cb39..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() }} From 53f9f2d19e9e8a8c76fdc7df19b3e6b8ba594c5e Mon Sep 17 00:00:00 2001 From: Dragos Andriciuc Date: Thu, 4 Jun 2026 17:26:55 +0300 Subject: [PATCH 10/10] Update mkdocs-base.yml --- mkdocs-base.yml | 54 +++++++++++++++---------------------------------- 1 file changed, 16 insertions(+), 38 deletions(-) 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