summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAidan Heerdegen <aidan.heerdegen@gmail.com>2022-12-14 01:11:38 +1100
committerGitHub <noreply@github.com>2022-12-13 14:11:38 +0000
commitb95a75779bbea0b9abfc6365e9284b8c5eec879e (patch)
tree2120879873260653cb3a4df48c9ea0d4304c70dc
parent0ff6a1bd1ca018d15529bd38f79810ad0d915e14 (diff)
downloadspack-b95a75779bbea0b9abfc6365e9284b8c5eec879e.tar.gz
spack-b95a75779bbea0b9abfc6365e9284b8c5eec879e.tar.bz2
spack-b95a75779bbea0b9abfc6365e9284b8c5eec879e.tar.xz
spack-b95a75779bbea0b9abfc6365e9284b8c5eec879e.zip
Fix markdown links in rst files (#34488)
-rw-r--r--lib/spack/docs/packaging_guide.rst10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/spack/docs/packaging_guide.rst b/lib/spack/docs/packaging_guide.rst
index ea5cc347ce..27705b3dbf 100644
--- a/lib/spack/docs/packaging_guide.rst
+++ b/lib/spack/docs/packaging_guide.rst
@@ -2397,13 +2397,15 @@ this because uninstalling the dependency would break the package.
``build``, ``link``, and ``run`` dependencies all affect the hash of Spack
packages (along with ``sha256`` sums of patches and archives used to build the
-package, and a [canonical hash](https://github.com/spack/spack/pull/28156) of
+package, and a `canonical hash <https://github.com/spack/spack/pull/28156>`_ of
the ``package.py`` recipes). ``test`` dependencies do not affect the package
hash, as they are only used to construct a test environment *after* building and
installing a given package installation. Older versions of Spack did not include
-build dependencies in the hash, but this has been
-[fixed](https://github.com/spack/spack/pull/28504) as of [Spack
-``v0.18``](https://github.com/spack/spack/releases/tag/v0.18.0)
+build dependencies in the hash, but this has been
+`fixed <https://github.com/spack/spack/pull/28504>`_ as of |Spack v0.18|_.
+
+.. |Spack v0.18| replace:: Spack ``v0.18``
+.. _Spack v0.18: https://github.com/spack/spack/releases/tag/v0.18.0
If the dependency type is not specified, Spack uses a default of
``('build', 'link')``. This is the common case for compiler languages.