From fd108c83d79f3add90785cef427e9ceb04c57673 Mon Sep 17 00:00:00 2001 From: Alina Derkach Date: Tue, 21 May 2024 15:37:28 +0300 Subject: [PATCH] Remove the Edit this page button modified: config/sphinx-build/conf.py --- config/sphinx-build/_static/_templates/theme/layout.html | 4 ++++ config/sphinx-build/_static/_templates/theme/localtoc.html | 2 -- config/sphinx-build/conf.py | 3 --- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/config/sphinx-build/_static/_templates/theme/layout.html b/config/sphinx-build/_static/_templates/theme/layout.html index 488ba9775..a776a2c19 100644 --- a/config/sphinx-build/_static/_templates/theme/layout.html +++ b/config/sphinx-build/_static/_templates/theme/layout.html @@ -23,6 +23,10 @@ + {% endblock %} {%- block relbar2 %} diff --git a/config/sphinx-build/_static/_templates/theme/localtoc.html b/config/sphinx-build/_static/_templates/theme/localtoc.html index d6361d4dc..ec956ccdb 100644 --- a/config/sphinx-build/_static/_templates/theme/localtoc.html +++ b/config/sphinx-build/_static/_templates/theme/localtoc.html @@ -19,8 +19,6 @@ {% include "sourcelink.html" %} {%- endif %} {% if theme_repo_url|e %} -
  • - Edit this page
  • {% endif %} diff --git a/config/sphinx-build/conf.py b/config/sphinx-build/conf.py index 569471388..e8643a82c 100644 --- a/config/sphinx-build/conf.py +++ b/config/sphinx-build/conf.py @@ -108,9 +108,6 @@ # 'version_dropdown': True #} -html_context = { - 'edit_uri': 'edit/3.x/source' -} # Add any paths that contain custom themes here, relative to this directory. html_theme_path = ['.', './percona-theme']