From 669b1f6adecfd940d5ae8b97150dc73db04894c5 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Sun, 24 Oct 2021 05:48:05 +1100 Subject: -docs: Started documenting plugins. * Also added a couple of missing command-line options, and added a local table of contents to the (rather long) command line options page. -Added a separate CI target for localisation updates that produces an artefact, and removed the message catalogs from the trigger paths for the Linux CI build. --- docs/source/techspecs/layout_script.rst | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'docs/source/techspecs') diff --git a/docs/source/techspecs/layout_script.rst b/docs/source/techspecs/layout_script.rst index fd3315a9778..7602de6f7f4 100644 --- a/docs/source/techspecs/layout_script.rst +++ b/docs/source/techspecs/layout_script.rst @@ -17,14 +17,15 @@ parameter animation, some things can only be done with scripting. MAME uses an event-based model. Scripts can supply functions that will be called after certain events, or when certain data is required. -Layout scripting requires the layout plugin to be enabled. For example, to run -BWB Double Take with the Lua script in the layout enabled, you might use this -command:: +Layout scripting requires the :ref:`layout plugin ` to be +enabled. For example, to run BWB Double Take with the Lua script in the layout +enabled, you might use this command:: mame -plugins -plugin layout v4dbltak -If you may want to add the settings to enable the layout plugin to an INI file -to save having to enable it every time you start a system. +You may want to add the settings to enable the layout plugin to an INI file to +save having to enable it every time you start a system. See :ref:`plugins` for +more information about using plugins with MAME. .. _layscript-examples: -- cgit v1.2.3-70-g09d2