Add local TOCs to Lua API plugin sections

develop
lethosor 2020-10-09 12:20:13 -04:00
parent f10bc7678e
commit 28efe1d2a7
No known key found for this signature in database
GPG Key ID: 76A269552F4F58C1
1 changed files with 12 additions and 0 deletions

@ -3756,6 +3756,9 @@ Eventful
This plugin exports some events to lua thus allowing to run lua functions This plugin exports some events to lua thus allowing to run lua functions
on DF world events. on DF world events.
.. contents::
:local:
List of events List of events
-------------- --------------
@ -3916,6 +3919,9 @@ Building-hacks
This plugin overwrites some methods in workshop df class so that mechanical workshops are possible. Although This plugin overwrites some methods in workshop df class so that mechanical workshops are possible. Although
plugin export a function it's recommended to use lua decorated function. plugin export a function it's recommended to use lua decorated function.
.. contents::
:local:
Functions Functions
--------- ---------
@ -3995,6 +4001,9 @@ Luasocket
A way to access csocket from lua. The usage is made similar to luasocket in vanilla lua distributions. Currently A way to access csocket from lua. The usage is made similar to luasocket in vanilla lua distributions. Currently
only subset of functions exist and only tcp mode is implemented. only subset of functions exist and only tcp mode is implemented.
.. contents::
:local:
Socket class Socket class
------------ ------------
@ -4077,6 +4086,9 @@ cxxrandom
Exposes some features of the C++11 random number library to Lua. Exposes some features of the C++11 random number library to Lua.
.. contents::
:local:
Native functions (exported to Lua) Native functions (exported to Lua)
---------------------------------- ----------------------------------