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:
Rémi Verschelde
2020-03-16 13:35:35 +01:00
parent 0a633ca5a5
commit 463f1df6b0
2 changed files with 7 additions and 3 deletions

10
conf.py
View File

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