Mesa (master): gallium/docs: prefix exts dir with underscore

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jul 1 07:39:19 UTC 2020


Module: Mesa
Branch: master
Commit: 1d7bb2dde0dd0751f48adedfc3ca8dcaa7f2a4fb
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1d7bb2dde0dd0751f48adedfc3ca8dcaa7f2a4fb

Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Tue Jun 30 12:09:31 2020 +0200

gallium/docs: prefix exts dir with underscore

It's generally considered good practice to use underscore-prefixes for
directories that contains non-doumentation files, so let's do this for
our custom extensions as well.

Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Acked-by: Eric Engestrom <eric at engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5691>

---

 src/gallium/docs/source/{exts => _exts}/formatting.py | 0
 src/gallium/docs/source/conf.py                       | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/docs/source/exts/formatting.py b/src/gallium/docs/source/_exts/formatting.py
similarity index 100%
rename from src/gallium/docs/source/exts/formatting.py
rename to src/gallium/docs/source/_exts/formatting.py
diff --git a/src/gallium/docs/source/conf.py b/src/gallium/docs/source/conf.py
index 972dcce6eb3..51cefc1c89b 100644
--- a/src/gallium/docs/source/conf.py
+++ b/src/gallium/docs/source/conf.py
@@ -16,7 +16,7 @@ import sys, os
 # If extensions (or modules to document with autodoc) are in another directory,
 # add these directories to sys.path here. If the directory is relative to the
 # documentation root, use os.path.abspath to make it absolute, like shown here.
-sys.path.append(os.path.abspath('exts'))
+sys.path.append(os.path.abspath('_exts'))
 
 # -- General configuration -----------------------------------------------------
 



More information about the mesa-commit mailing list