diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2019-05-21 23:45:54 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2019-05-26 18:23:44 -0700 |
commit | f32843528e52dc40c6a379f03d69b06f8a52265f (patch) | |
tree | 5882c18b8a42423d51f9dde233c37e62ab798504 /lib/spack/docs/config_yaml.rst | |
parent | 8bf1bd463788080f57c84efa1655eed6d37bf62f (diff) | |
download | spack-f32843528e52dc40c6a379f03d69b06f8a52265f.tar.gz spack-f32843528e52dc40c6a379f03d69b06f8a52265f.tar.bz2 spack-f32843528e52dc40c6a379f03d69b06f8a52265f.tar.xz spack-f32843528e52dc40c6a379f03d69b06f8a52265f.zip |
docs: make docs build relocatable for localized builds
- make all Spack paths relative to a `_spack_root` symlink, so that we
can easily relocate the docs build *outside* lib/spack/docs
- set some useful defaults for gettext translation variables in conf.py
- update `relativeinclude` and other references to the spack root in the
RST files to use _spack_root
Diffstat (limited to 'lib/spack/docs/config_yaml.rst')
-rw-r--r-- | lib/spack/docs/config_yaml.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/docs/config_yaml.rst b/lib/spack/docs/config_yaml.rst index ad2ff736af..54a793b53f 100644 --- a/lib/spack/docs/config_yaml.rst +++ b/lib/spack/docs/config_yaml.rst @@ -13,7 +13,7 @@ Spack's basic configuration options are set in ``config.yaml``. You can see the default settings by looking at ``etc/spack/defaults/config.yaml``: -.. literalinclude:: ../../../etc/spack/defaults/config.yaml +.. literalinclude:: _spack_root/etc/spack/defaults/config.yaml :language: yaml These settings can be overridden in ``etc/spack/config.yaml`` or |