Skip to content

Commit

Permalink
Adds line about filtering auto_modules to docs (#974)
Browse files Browse the repository at this point in the history
Adds line about filtering auto_modules to docs

---------

Co-authored-by: Jeff Ohrstrom <[email protected]>
  • Loading branch information
HazelGrant and johrstrom authored Nov 20, 2024
1 parent 01b8de6 commit 30686b1
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions source/how-tos/app-development/interactive/form.rst
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,25 @@ 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 30686b1

Please sign in to comment.