jenkins-bot merged this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
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.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I47cbce274a86de0b21ff8445b29ece6e67966956
Gerrit-Change-Number: 409713
Gerrit-PatchSet: 1
Gerrit-Owner: Dalba <dalba.wiki@gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb@gmail.com>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: Zoranzoki21 <zorandori4444@gmail.com>
Gerrit-Reviewer: jenkins-bot <>