diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2019-09-01 19:41:00 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2019-09-02 19:24:48 -0700 |
commit | 987d8cbaaa31e182cb3c1210e7e55cb10e900df6 (patch) | |
tree | 5f03753c0dbd06197511525c6bee58471e66e413 /lib/spack/docs/config_yaml.rst | |
parent | 1a1f5674dfbabf6a9b91933b15304acd7f3e64f0 (diff) | |
download | spack-987d8cbaaa31e182cb3c1210e7e55cb10e900df6.tar.gz spack-987d8cbaaa31e182cb3c1210e7e55cb10e900df6.tar.bz2 spack-987d8cbaaa31e182cb3c1210e7e55cb10e900df6.tar.xz spack-987d8cbaaa31e182cb3c1210e7e55cb10e900df6.zip |
docs: add docs for `spack find --format` and `spack find --json`
- add docs for `spack find --format`
- add docs for `spack find --json`
- update references to Spec.format() docs and add links
Diffstat (limited to 'lib/spack/docs/config_yaml.rst')
-rw-r--r-- | lib/spack/docs/config_yaml.rst | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/spack/docs/config_yaml.rst b/lib/spack/docs/config_yaml.rst index ef3ad1d03a..ef5d7b65be 100644 --- a/lib/spack/docs/config_yaml.rst +++ b/lib/spack/docs/config_yaml.rst @@ -36,14 +36,13 @@ to help with that. Firstly, the ``install_hash_length`` parameter can set the length of the hash in the installation path from 1 to 32. The default path uses the full 32 characters. -Secondly, it is -also possible to modify the entire installation scheme. By default -Spack uses +Secondly, it is also possible to modify the entire installation +scheme. By default Spack uses ``{architecture}/{compiler.name}-{compiler.version}/{name}-{version}-{hash}`` where the tokens that are available for use in this directive are the -same as those understood by the ``Spec.format`` method. Using this parameter it -is possible to use a different package layout or reduce the depth of -the installation paths. For example +same as those understood by the :meth:`~spack.spec.Spec.format` +method. Using this parameter it is possible to use a different package +layout or reduce the depth of the installation paths. For example .. code-block:: yaml |