diff --git a/lib/spack/docs/conf.py b/lib/spack/docs/conf.py index de84d0e5c8f..06a2523ca2c 100644 --- a/lib/spack/docs/conf.py +++ b/lib/spack/docs/conf.py @@ -50,7 +50,7 @@ # documentation root, use os.path.abspath to make it absolute, like shown here. sys.path.insert(0, os.path.abspath('exts')) sys.path.insert(0, os.path.abspath('../external')) -sys.path.append(os.path.abspath('../spack')) +sys.path.append(os.path.abspath('..')) # Add the Spack bin directory to the path so that we can use its output in docs. spack_root = '../../..'