Merge branch 'master' of github.com:NuSkooler/enigma-bbs

This commit is contained in:
Bryan Ashby 2020-11-21 12:04:53 -07:00
commit a34c250050
No known key found for this signature in database
GPG Key ID: B49EB437951D2542
1 changed files with 10 additions and 1 deletions

View File

@ -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. 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. :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 ## Common Menu Entry Members
@ -324,4 +333,4 @@ newUserApplicationPre: {
next: newUserPassword next: newUserPassword
// note that the rest of this menu is omitted for clarity // note that the rest of this menu is omitted for clarity
} }
``` ```