mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-03 05:48:42 +03:00
Rename extensions to _extensions
To properly show that it's not a docs content folder but related to the buildsystem.
This commit is contained in:
10
conf.py
10
conf.py
@@ -11,8 +11,12 @@ import os
|
||||
needs_sphinx = "1.3"
|
||||
|
||||
# Sphinx extension module names and templates location
|
||||
sys.path.append(os.path.abspath("extensions"))
|
||||
extensions = ["gdscript", "sphinx_tabs.tabs", "sphinx.ext.imgmath"]
|
||||
sys.path.append(os.path.abspath("_extensions"))
|
||||
extensions = [
|
||||
"gdscript",
|
||||
"sphinx_tabs.tabs",
|
||||
"sphinx.ext.imgmath",
|
||||
]
|
||||
|
||||
templates_path = ["_templates"]
|
||||
|
||||
@@ -51,7 +55,7 @@ exclude_patterns = ["_build"]
|
||||
|
||||
# fmt: off
|
||||
# These imports should *not* be moved to the start of the file,
|
||||
# they depend on the sys.path.append call registering "extensions".
|
||||
# they depend on the sys.path.append call registering "_extensions".
|
||||
# GDScript syntax highlighting
|
||||
from gdscript import GDScriptLexer
|
||||
from sphinx.highlighting import lexers
|
||||
|
||||
Reference in New Issue
Block a user