Disable "Edit on GitHub" button on localized instances

This commit is contained in:
Rémi Verschelde
2019-06-15 00:13:16 +02:00
parent fc3007ea5e
commit 5c4340d30c

View File

@@ -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