Add additional search path to fix building of documentation.
Sphinx was unable to find the jenkins_jobs.sphinx.yaml module when I ran 'make html' in the doc/ subdirectory. Change-Id: I64817139b149c66b01e3610248b49f955c5bde8c Reviewed-on: https://review.openstack.org/13707 Reviewed-by: James E. Blair <corvus@inaugust.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Approved: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
This commit is contained in:
parent
5eab9b4899
commit
f05c9a3375
@ -16,6 +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.insert(0, os.path.abspath('../..'))
|
||||
sys.path.insert(0, os.path.abspath('../../jenkins_jobs/modules'))
|
||||
|
||||
# -- General configuration -----------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user