Skip to content

Commit 033f14c

Browse files
authored
Fix all remaining broken links to old packaging guide (#457)
* Fix packaging guide link in tutorial_developer_workflows.rst * Fix packaging guide link and section name in tutorial_buildsystems.rst * Fix packaging guide links in tutorial_packaging.rst * Fix packaging guide links in tutorial_environments.rst
1 parent f4b9902 commit 033f14c

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

tutorial_buildsystems.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,4 +685,4 @@ Each of these classes have their own abstractions to help assist in writing pack
685685
For whatever doesn't fit nicely into the other build systems, you can use the ``Package`` class.
686686

687687
Hopefully by now you can see how we aim to make packaging simple and robust through these classes.
688-
If you want to learn more about these build systems, check out `Implementing the installation procedure <https://spack.readthedocs.io/en/latest/packaging_guide.html#installation-procedure>`_ in the Packaging Guide.
688+
If you want to learn more about these build systems, check out `Overview of the installation procedure <https://spack.readthedocs.io/en/latest/packaging_guide_build.html#installation-procedure>`_ in the Packaging Guide.

tutorial_developer_workflows.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ There are a few gotchas with the ``spack develop`` command
156156
package as a dev package. Spack needs to know the version of the dev
157157
package so it can supply the correct flags for the package's build
158158
system. If a version is not supplied, then Spack will take the maximum version
159-
defined in the package where `infinity versions <https://spack.readthedocs.io/en/latest/packaging_guide.html#version-comparison>`_ like ``develop`` and ``main``
159+
defined in the package where `infinity versions <https://spack.readthedocs.io/en/latest/packaging_guide_creation.html#version-comparison>`_ like ``develop`` and ``main``
160160
have a higher value than the numeric versions.
161161
* You should ensure a spec for the package you are developing appears in the DAG of at least one of the roots of the environment with the same version that you are developing.
162162
``spack add <package>`` with the matching version you want to develop is a way to ensure

tutorial_environments.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ So, adding specs to an environment at a later point in time will not cause exist
197197
share dependencies and reduces total installation time.
198198

199199
* You can launch all builds in parallel by taking advantage of Spack's
200-
`install-level build parallelism <https://spack.readthedocs.io/en/latest/packaging_guide.html#install-level-build-parallelism>`_.
200+
`install-level build parallelism <https://spack.readthedocs.io/en/latest/config_yaml.html#build-jobs>`_.
201201

202202
^^^^^^^^^^^^^^
203203
Using Packages
@@ -750,7 +750,7 @@ Setting up and building environments
750750
for configuring combinatorial environments (e.g., same packages across a
751751
list of compilers)
752752
* `Install-level parallel builds
753-
<https://spack.readthedocs.io/en/latest/packaging_guide.html#install-level-build-parallelism>`_:
753+
<https://spack.readthedocs.io/en/latest/config_yaml.html#build-jobs>`_:
754754
for how to launch ``spack install`` to build your environment in parallel
755755

756756
^^^^^^^^^^^^^^^^^^^^^^^

tutorial_packaging.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ As we fill in more information about the package, the ``spack info`` command wil
193193
<https://spack.readthedocs.io/en/latest/build_systems.html>`_.
194194

195195
More information on the build-time tests can be found at
196-
`<https://spack.readthedocs.io/en/latest/packaging_guide.html#build-time-tests>`_.
196+
`<https://spack.readthedocs.io/en/latest/packaging_guide_testing.html#build-time-tests>`_.
197197

198198
Refer to the links at the end of this section for more information.
199199

@@ -655,7 +655,7 @@ Testing an installation
655655
~~~~~~~~~~~~~~~~~~~~~~~
656656

657657
* `Checking an installation
658-
<https://spack.readthedocs.io/en/latest/packaging_guide.html#checking-an-installation>`_:
658+
<https://spack.readthedocs.io/en/latest/packaging_guide_testing.html#checking-an-installation>`_:
659659
for more information on adding tests that run at build-time and against an installation.
660660

661661
~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -669,10 +669,10 @@ Using other build systems
669669
<https://spack-tutorial.readthedocs.io/en/latest/tutorial_buildsystems.html>`_:
670670
for tutorials on common build systems.
671671
* `Multiple Build Systems
672-
<https://spack.readthedocs.io/en/latest/packaging_guide.html#multiple-build-systems>`_:
672+
<https://spack.readthedocs.io/en/latest/packaging_guide_advanced.html#multiple-build-systems>`_:
673673
for a reference on writing packages with multiple build systems.
674674
* `Package Class Architecture
675-
<https://spack.readthedocs.io/en/latest/packaging_guide.html#package-class-architecture>`_:
675+
<https://spack.readthedocs.io/en/latest/developer_guide.html#package-class-architecture>`_:
676676
for more insight on the inner workings of ``Package`` and ``Builder`` classes.
677677
* `The GDAL Package
678678
<https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/gdal/package.py>`_:
@@ -683,5 +683,5 @@ Making a package externally detectable
683683
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
684684

685685
* `Making a package externally discoverable
686-
<https://spack.readthedocs.io/en/latest/packaging_guide.html#making-a-package-discoverable-with-spack-external-find>`_:
686+
<https://spack.readthedocs.io/en/latest/packaging_guide_advanced.html#making-a-package-discoverable-with-spack-external-find>`_:
687687
for making a package discoverable using the ``spack external find`` command.

0 commit comments

Comments
 (0)