Make documentation file use camelCase for the keys

This commit is contained in:
Ylva Selling
2023-04-26 13:33:39 -04:00
parent a20b69fbb2
commit a668f08f03
5 changed files with 40 additions and 37 deletions

View File

@@ -1056,8 +1056,9 @@ void OpenSpaceEngine::writeDocumentation() {
nlohmann::json sceneProperties = settings.get();
nlohmann::json sceneGraph = scene.get();
sceneProperties["data"] = "Settings";
sceneProperties["name"] = "Settings";
sceneGraph["name"] = "Scene";
scripting["name"] = "Scripting API";
nlohmann::json documentation = {
sceneGraph, sceneProperties, keybindings, license, scripting, factory