From a3bb76a6fc8349deb6cd6bbb3096b178a8fa89c0 Mon Sep 17 00:00:00 2001 From: Etienne Millon Date: Thu, 8 Feb 2024 17:33:21 +0100 Subject: [PATCH] use grid in action --- doc/index.rst | 2 +- doc/reference/actions/index.rst | 84 ++++++++++++++++++--------------- 2 files changed, 48 insertions(+), 38 deletions(-) diff --git a/doc/index.rst b/doc/index.rst index e923b9f68746..308ec78dec13 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -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 ` - .. grid-item-card:: :doc:`Actions ` + .. grid-item-card:: :doc:`Actions ` .. grid-item-card:: :doc:`concepts/variables` .. toctree:: diff --git a/doc/reference/actions/index.rst b/doc/reference/actions/index.rst index 2f4ef3fadf5c..2922aa57f329 100644 --- a/doc/reference/actions/index.rst +++ b/doc/reference/actions/index.rst @@ -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 ``%{:...}`` is done relative to the current working directory of the DSL being executed. So for instance, if you