Explorar o código

Disable "Edit on GitHub" button on localized instances

Rémi Verschelde %!s(int64=6) %!d(string=hai) anos
pai
achega
5c4340d30c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      conf.py

+ 1 - 1
conf.py

@@ -68,7 +68,7 @@ html_theme_options = {
 
 # VCS options: https://docs.readthedocs.io/en/latest/vcs.html#github
 html_context = {
-    "display_github": True, # Integrate GitHub
+    "display_github": !tags.has("i18n"), # Integrate GitHub
     "github_user": "godotengine", # Username
     "github_repo": "godot-docs", # Repo name
     "github_version": "master", # Version