mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-13 10:10:12 +03:00
Disable "Edit on GitHub" button on localized instances
This commit is contained in:
2
conf.py
2
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
|
||||
|
||||
Reference in New Issue
Block a user