# HG changeset patch # User Sebastien Jodogne # Date 1619863249 -7200 # Node ID 15a0635eef4b84d486a6ffcdb61d33c172b85df9 # Parent be71b56c90ab8f2741a2503b17684c7f2221523d lua modules diff -r be71b56c90ab -r 15a0635eef4b Sphinx/source/users/lua.rst --- a/Sphinx/source/users/lua.rst Fri Apr 30 07:56:16 2021 +0200 +++ b/Sphinx/source/users/lua.rst Sat May 01 12:00:49 2021 +0200 @@ -566,3 +566,24 @@ return query end + + +.. _lua-external-modules: + +Using external modules +---------------------- + +Starting with Orthanc 1.3.2, it is possible to use external Lua +modules if Orthanc was compiled with the ``-DENABLE_LUA_MODULES=ON`` +while invoking CMake. + +Importantly, the modules and the Orthanc server must use the same +version of Lua for external modules to be properly loaded. + +Check out the Orthanc Users forum for old discussions about this +topic: `reference 1 +`__, +`reference 2 +`__, +`reference 3 +`__.