From 1d7bb2dde0dd0751f48adedfc3ca8dcaa7f2a4fb Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Tue, 30 Jun 2020 12:09:31 +0200 Subject: [PATCH] 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 Acked-by: Eric Engestrom Part-of: --- src/gallium/docs/source/{exts => _exts}/formatting.py | 0 src/gallium/docs/source/conf.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename src/gallium/docs/source/{exts => _exts}/formatting.py (100%) 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 ----------------------------------------------------- -- 2.30.2