From f7d11f94a304e159fc985718fc6a279b0d68394e Mon Sep 17 00:00:00 2001 From: Reinder Feenstra Date: Sun, 26 Oct 2025 23:42:46 +0100 Subject: [PATCH] [manual] Lua function names can now be linked by name (overides the default generated anchors) --- manual/docs/en/appendix/loconet.md | 4 ++-- manual/luadoc.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manual/docs/en/appendix/loconet.md b/manual/docs/en/appendix/loconet.md index d5d64b1f..499e4753 100644 --- a/manual/docs/en/appendix/loconet.md +++ b/manual/docs/en/appendix/loconet.md @@ -87,8 +87,8 @@ This is useful for: Through [**Lua scripting**](../advanced/scripting-basics.md), it is also possible to: -- Send **raw LocoNet messages**, see [`send()`](lua/object/loconetinterface.md#sendpacket). -- Send **raw DCC track commands** (`OPC_IMM_PACKET`), see [`imm_packet()`](lua/object/loconetinterface.md#imm_packetdcc_packet--repeat--2). +- Send **raw LocoNet messages**, see [`send()`](lua/object/loconetinterface.md#send). +- Send **raw DCC track commands** (`OPC_IMM_PACKET`), see [`imm_packet()`](lua/object/loconetinterface.md#imm_packet). !!! warning Use this with caution. diff --git a/manual/luadoc.py b/manual/luadoc.py index 66e5f52a..6808698e 100644 --- a/manual/luadoc.py +++ b/manual/luadoc.py @@ -560,7 +560,7 @@ class LuaDoc: md += ']' else: md += ')' - md += '`' + os.linesep + os.linesep + md += '` {#' + item['lua_name'] + '}' + os.linesep + os.linesep md += self._get_term(item_term_prefix + item['lua_name'].lower() + ':description') + os.linesep + os.linesep