Skip to content

Commit

Permalink
use grid in action
Browse files Browse the repository at this point in the history
  • Loading branch information
emillon committed Feb 9, 2024
1 parent cb0ad3b commit a3bb76a
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 38 deletions.
2 changes: 1 addition & 1 deletion doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Not your first time here? You might be looking for these pages:
.. grid:: 1 1 1 4

.. grid-item-card:: :doc:`Stanzas <dune-files>`
.. grid-item-card:: :doc:`Actions <reference/actions>`
.. grid-item-card:: :doc:`Actions <reference/actions/index>`
.. grid-item-card:: :doc:`concepts/variables`

.. toctree::
Expand Down
84 changes: 47 additions & 37 deletions doc/reference/actions/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,43 +24,53 @@ source code.

The following constructions are available:

.. toctree::
:caption: Running commands

run
system
bash
dynamic-run
chdir
setenv
with-accepted-exit-codes

.. toctree::
:caption: Input and output

echo
with-outputs-to
with-stdin-from
ignore-outputs
cat
copy
copy#
write-file
pipe-outputs

.. toctree::
:caption: Comparing files

diff
diffq
cmp

.. toctree::
:caption: Control structures

progn
concurrent
no-infer
.. grid:: 1 1 2 2

.. grid-item::

.. toctree::
:caption: Running commands

run
system
bash
dynamic-run
chdir
setenv
with-accepted-exit-codes

.. grid-item::

.. toctree::
:caption: Input and output

echo
with-outputs-to
with-stdin-from
ignore-outputs
cat
copy
copy#
write-file
pipe-outputs

.. grid-item::

.. toctree::
:caption: Comparing files

diff
diffq
cmp

.. grid-item::

.. toctree::
:caption: Control structures

progn
concurrent
no-infer

Note: expansion of the special ``%{<kind>:...}`` is done relative to the current
working directory of the DSL being executed. So for instance, if you
Expand Down

0 comments on commit a3bb76a

Please sign in to comment.