diff --git a/docs/custom_theme/main.html b/docs/custom_theme/main.html
index 15b3c49d005..6f3aa8b1495 100644
--- a/docs/custom_theme/main.html
+++ b/docs/custom_theme/main.html
@@ -44,7 +44,7 @@
- {% if page.edit_url %}
+ {% if page.edit_url and config.extra.doc_site_edit_url %}
diff --git a/mkdocs.yml b/mkdocs.yml
index 25f008db2d5..8c2b830661f 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -19,7 +19,7 @@ copyright: Hyperledger Besu and its documentation are licensed under Apache 2.0
#extra project info and template customisation
extra:
- doc_site_edit_url: https://github.com/hyperledger/besu-docs/
+# doc_site_edit_url: https://github.com/hyperledger/besu-docs/
latest_version_warning:
url_contains: /latest/
text: 'You are reading Hyperledger Besu development version documentation and