Skip to content

Commit

Permalink
[ci skip] Autodoc commit for 30686b15779fa768e09163515d5d2f184ffe648b.
Browse files Browse the repository at this point in the history
  • Loading branch information
oscwiag committed Nov 20, 2024
1 parent 19afb48 commit 7c97797
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
19 changes: 19 additions & 0 deletions develop/_sources/how-tos/app-development/interactive/form.rst.txt
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
14 changes: 14 additions & 0 deletions develop/how-tos/app-development/interactive/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,20 @@ <h2>Configuration<a class="headerlink" href="#configuration" title="Permalink to
<span class="w"> </span><span class="nt">default</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">false</span><span class="w"></span>
</pre></div>
</div>
<p>To filter versions that show up in the drop-down list, you can use a Ruby regex (<a class="reference external" href="https://rubular.com/">https://rubular.com/</a>)
(without the wrapping <cite>//</cite>) or a string:</p>
<p>Regex:</p>
<div class="highlight-yaml notranslate"><div class="highlight"><pre><span></span><span class="nt">attributes</span><span class="p">:</span><span class="w"></span>
<span class="w"> </span><span class="nt">auto_modules_matlab</span><span class="p">:</span><span class="w"></span>
<span class="w"> </span><span class="nt">filter</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">(intel|gnu)\d*</span><span class="w"></span>
</pre></div>
</div>
<p>String:</p>
<div class="highlight-yaml notranslate"><div class="highlight"><pre><span></span><span class="nt">attributes</span><span class="p">:</span><span class="w"></span>
<span class="w"> </span><span class="nt">auto_modules_matlab</span><span class="p">:</span><span class="w"></span>
<span class="w"> </span><span class="nt">filter</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">intel</span><span class="w"></span>
</pre></div>
</div>
<p>See <a class="reference internal" href="../../../reference/files/ondemand-d-ymls.html#module-file-dir"><span class="std std-ref">the module directory configuration</span></a> on how to enable
the cluster module files that need to be read.</p>
<p>If you have dynamic form widgets enabled, the option list will be cluster aware.
Expand Down
2 changes: 1 addition & 1 deletion develop/searchindex.js

Large diffs are not rendered by default.

0 comments on commit 7c97797

Please sign in to comment.