|
@@ -15,6 +15,7 @@ sys.path.append(os.path.abspath("_extensions"))
|
|
extensions = [
|
|
extensions = [
|
|
"sphinx_tabs.tabs",
|
|
"sphinx_tabs.tabs",
|
|
"notfound.extension",
|
|
"notfound.extension",
|
|
|
|
+ "sphinxext.opengraph",
|
|
]
|
|
]
|
|
|
|
|
|
# Warning when the Sphinx Tabs extension is used with unknown
|
|
# Warning when the Sphinx Tabs extension is used with unknown
|
|
@@ -54,6 +55,9 @@ on_rtd = os.environ.get("READTHEDOCS", None) == "True"
|
|
if not on_rtd:
|
|
if not on_rtd:
|
|
notfound_urls_prefix = ''
|
|
notfound_urls_prefix = ''
|
|
|
|
|
|
|
|
+# Specify the site name for the Open Graph extension.
|
|
|
|
+ogp_site_name = "Godot Engine documentation"
|
|
|
|
+
|
|
if not os.getenv("SPHINX_NO_GDSCRIPT"):
|
|
if not os.getenv("SPHINX_NO_GDSCRIPT"):
|
|
extensions.append("gdscript")
|
|
extensions.append("gdscript")
|
|
|
|
|