From d9b8f83c2d7504d2a1e3f8c98244e65dece47570 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Fri, 20 Nov 2020 22:05:57 -0700 Subject: [PATCH] Super simple menu example --- docs/configuration/menu-hjson.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/configuration/menu-hjson.md b/docs/configuration/menu-hjson.md index 0e3f9aec..b3eb14ca 100644 --- a/docs/configuration/menu-hjson.md +++ b/docs/configuration/menu-hjson.md @@ -13,6 +13,15 @@ Entries in `menu.hjson` are often referred to as *blocks* or *sections*. Each en Menu entries live under the `menus` section of `menu.hjson`. The *key* for a menu is it's name that can be referenced by other menus and areas of the system. +Below is a very basic menu entry called `showSomeArt` that displays some art then returns to the previous menu after the user hits a key: +```hjson +showSomeArt: { + art: someart.ans + config: { pause: true } +} +``` +As you can see a menu can be very simple. + :information_source: Remember that the top level menu may include additional files using the `includes` directive. See [Configuration Files](config-files.md) for more information on this. ## Common Menu Entry Members @@ -324,4 +333,4 @@ newUserApplicationPre: { next: newUserPassword // note that the rest of this menu is omitted for clarity } -``` \ No newline at end of file +```