mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-12 22:39:09 -05:00
Fix bug with generating lua scripting documentation file
This commit is contained in:
@@ -565,7 +565,7 @@ std::string ScriptEngine::generateJson() const {
|
||||
|
||||
for (const LuaLibrary::Function& f : l.functions) {
|
||||
json << "{";
|
||||
json << fmt::format(replStr, "library", f.name);
|
||||
json << fmt::format(replStr, "name", f.name);
|
||||
json << fmt::format(replStr, "arguments", escapedJson(f.argumentText));
|
||||
json << fmt::format(replStr2, "help", escapedJson(f.helpText));
|
||||
json << "}";
|
||||
|
||||
Reference in New Issue
Block a user