diff --git a/theme/partials/notices.html b/theme/partials/notices.html index cf27375016..eed0cd3b03 100644 --- a/theme/partials/notices.html +++ b/theme/partials/notices.html @@ -17,3 +17,10 @@

This documentation applies to a Self-hosted installation. For Cloud documentation, visit docs.codacy.com.

{% endif %} +{# Pages under chart/ come from submodules/chart, so the notice lives here rather than in that repo. #} +{% if page and page.url.startswith("chart/") and not config.extra.self_hosted %} + +{% endif %}