mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-12 06:30:09 -06:00
Create documentation JSON correctly
This commit is contained in:
@@ -115,7 +115,7 @@ namespace {
|
||||
json << fmt::format(replStr, "returnType", escapedJson(f.returnType));
|
||||
json << fmt::format(replStr, "help", escapedJson(f.helpText));
|
||||
json << fmt::format(
|
||||
"\"sourceLocation\": {{ \"file\": {}, \"line\": {} }}",
|
||||
"\"sourceLocation\": {{ \"file\": \"{}\", \"line\": {} }}",
|
||||
escapedJson(f.sourceLocation.file), f.sourceLocation.line
|
||||
);
|
||||
json << "}";
|
||||
|
||||
Reference in New Issue
Block a user