Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds line about filtering auto_modules to docs #974

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 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,24 @@ 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
Comment on lines +229 to +230
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you need a newline between these 2, this code-block isn't rendering right.

image


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
Loading