Add actions to documentation file

This commit is contained in:
Ylva Selling
2024-02-22 09:10:51 +01:00
parent c763c7d036
commit 6751b30c03
3 changed files with 23 additions and 1 deletions

View File

@@ -1069,6 +1069,7 @@ void OpenSpaceEngine::writeDocumentation() {
nlohmann::json license = writer.generateJsonGroupedByLicense();
nlohmann::json sceneProperties = settings.get();
nlohmann::json sceneGraph = scene.get();
nlohmann::json actions = global::actionManager->generateJson();
sceneProperties["name"] = "Settings";
sceneGraph["name"] = "Scene";
@@ -1080,7 +1081,7 @@ void OpenSpaceEngine::writeDocumentation() {
scriptingResult["data"] = scripting;
nlohmann::json documentation = {
sceneGraph, sceneProperties, keybindings, license, scriptingResult, factory
sceneGraph, sceneProperties, actions, keybindings, license, scriptingResult, factory
};
nlohmann::json result;