Merge pull request #3212 from OpenSpace/issue/2996

Issue/2996 - documentation engine rewrite
This commit is contained in:
Ylva Selling
2024-04-30 16:11:13 +02:00
committed by GitHub
16 changed files with 47 additions and 46 deletions

View File

@@ -64,7 +64,7 @@ namespace {
);
}
struct [[codegen::Dictionary(RenderableSphere)]] Parameters {
struct [[codegen::Dictionary(RenderableSphereImageOnline)]] Parameters {
// [[codegen::verbatim(TextureInfo.description)]]
std::string url [[codegen::key("URL")]];
};
@@ -74,7 +74,10 @@ namespace {
namespace openspace {
documentation::Documentation RenderableSphereImageOnline::Documentation() {
return codegen::doc<Parameters>("base_renderable_sphere_image_online");
return codegen::doc<Parameters>(
"base_renderable_sphere_image_online",
RenderableSphere::Documentation()
);
}
RenderableSphereImageOnline::RenderableSphereImageOnline(