Skip to content

Commit

Permalink
Rename extensions to _extensions
Browse files Browse the repository at this point in the history
To properly show that it's not a docs content folder but related
to the buildsystem.
  • Loading branch information
akien-mga committed Mar 16, 2020
1 parent 0a633ca commit 463f1df
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
File renamed without changes.
10 changes: 7 additions & 3 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@
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"]

Expand Down Expand Up @@ -51,7 +55,7 @@

# 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
Expand Down

0 comments on commit 463f1df

Please sign in to comment.