Skip to content

Commit

Permalink
minimal fixes (#292)
Browse files Browse the repository at this point in the history
- use `true` in json, not `True`
- fix highlight issue
- fix reference to projection key
  • Loading branch information
haampie committed Nov 9, 2023
1 parent ed169e0 commit b7737ee
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tutorial_modules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ The problem here is that without the hashes the four different flavors of
the names are formatted to differentiate them:

.. code-block:: yaml
:emphasize-lines: 11-12,18-21
:emphasize-lines: 10-11,18-21
modules:
default:
Expand Down Expand Up @@ -491,10 +491,10 @@ the names are formatted to differentiate them:
As you can see it is possible to specify rules that apply only to a
restricted set of packages using `anonymous specs
<https://spack.readthedocs.io/en/latest/module_file_support.html#anonymous-specs>`_
like ``^mpi^lapack``. Here we declare a conflict between any two modules
like ``^python^lapack``. Here we declare a conflict between any two modules
with the same name, so they cannot be loaded together. We also format the
names of modules according to compiler, compiler version, and MPI version
using the `spec format syntax
names of modules according to compiler, compiler version, and MPI provider
name using the `spec format syntax
<https://spack.readthedocs.io/en/latest/spack.html?highlight=spec%20format#spack.spec.Spec.format>`_.
This allows us to match specs by their dependencies, and format them
based on their DAGs.
Expand Down Expand Up @@ -631,7 +631,7 @@ directive and assigning it the value ``direct``:
modules:
default:
tcl:
verbose: True
verbose: true
hash_length: 0
naming_scheme: '{name}/{version}-{compiler.name}-{compiler.version}'
include:
Expand Down Expand Up @@ -673,7 +673,7 @@ and will contain code to autoload all the dependencies:
:language: console

In case messages are unwanted during the autoload procedure, it will be
sufficient to omit the line setting ``verbose: True`` in the configuration file above.
sufficient to omit the line setting ``verbose: true`` in the configuration file above.

-------------------------
Hierarchical Module Files
Expand Down

0 comments on commit b7737ee

Please sign in to comment.