jenkins-bot merged this change.
conf.py: Change the current working directory to docs directory
Bug: T185082
Change-Id: I47cbce274a86de0b21ff8445b29ece6e67966956
---
M docs/conf.py
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/docs/conf.py b/docs/conf.py
index 41be174..d2cfb00 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -24,8 +24,10 @@
# 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.
-repo_dir = abspath(join(dirname(__file__), '..'))
+docs_dir = dirname(__file__)
+repo_dir = abspath(join(docs_dir, '..'))
sys.path.insert(0, repo_dir)
+os.chdir(repo_dir)
# -- General configuration -----------------------------------------------------
To view, visit change 409713. To unsubscribe, visit settings.