Remove recursive symbolic link in lib/spack/docs from git repository (#33483)
Delete code removing the symlink during CI
This commit is contained in:

committed by
GitHub

parent
d361378553
commit
4b237349a3
@@ -1 +0,0 @@
|
||||
../../..
|
@@ -32,6 +32,9 @@
|
||||
# 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.
|
||||
link_name = os.path.abspath("_spack_root")
|
||||
if not os.path.exists(link_name):
|
||||
os.symlink(os.path.abspath("../../.."), link_name, target_is_directory=True)
|
||||
sys.path.insert(0, os.path.abspath("_spack_root/lib/spack/external"))
|
||||
sys.path.insert(0, os.path.abspath("_spack_root/lib/spack/external/pytest-fallback"))
|
||||
|
||||
|
Reference in New Issue
Block a user