jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/409713 )
Change subject: conf.py: Change the current working directory to docs directory ......................................................................
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(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
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 -----------------------------------------------------
pywikibot-commits@lists.wikimedia.org