Skip to content

Commit

Permalink
Adds line about filtering auto_modules to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
HazelGrant committed Jun 17, 2024
1 parent efbffff commit 23b33dc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions source/how-tos/app-development/interactive/form.rst
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,21 @@ auto_modules_<MODULE>
attributes:
auto_modules_matlab:
default: false
To filter versions that show up in the drop-down list, you can use a Ruby regex (https://rubular.com/)
(without the wrapping `//`) or a string:

Regex:
.. code-block:: yaml
attributes:
auto_modules_matlab:
filter: (intel|gnu)\d*
String:
.. code-block:: yaml
attributes:
auto_modules_matlab:
filter: intel
See :ref:`the module directory configuration <module_file_dir>` on how to enable
the cluster module files that need to be read.
Expand Down

0 comments on commit 23b33dc

Please sign in to comment.