mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-15 08:21:23 -06:00
Add actions to documentation file
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user