Clean up typos and duplicates in documentation

This commit is contained in:
Ylva Selling
2024-04-08 13:45:01 +02:00
parent 7e94f7610e
commit 22c00f2437
7 changed files with 6 additions and 14 deletions

View File

@@ -293,7 +293,7 @@ asset.export("NAC_DTM_APOLLO17_SLOPE", treks_NAC_DTM_APOLLO17_SLOPE)
asset.meta = {
Name = [[NASA Treks Layers for Moon LRO_Narrow_Angle_Camera],
Name = [NASA Treks Layers for Moon LRO_Narrow_Angle_Camera],
Version = "1.0",
Author = "NASA/Treks",
URL = "https://trek.nasa.gov/moon",

View File

@@ -43,7 +43,7 @@ namespace {
openspace::properties::Property::Visibility::User
};
struct [[codegen::Dictionary(RenderableSphere)]] Parameters {
struct [[codegen::Dictionary(RenderableSphereImageLocal)]] Parameters {
// [[codegen::verbatim(TextureInfo.description)]]
std::string texture;

View File

@@ -65,7 +65,7 @@ namespace {
);
}
struct [[codegen::Dictionary(RenderableSphere)]] Parameters {
struct [[codegen::Dictionary(RenderableSphereImageOnline)]] Parameters {
// [[codegen::verbatim(TextureInfo.description)]]
std::string url [[codegen::key("URL")]];
};

View File

@@ -47,7 +47,7 @@ namespace openspace {
documentation::Documentation ScreenSpaceFramebuffer::Documentation() {
using namespace documentation;
return {
"ScreenSpace Framebuffer",
"ScreenSpaceFramebuffer",
"base_screenspace_framebuffer",
{}
};

View File

@@ -13,11 +13,6 @@ openspace.gaia.documentation = {
Name = "addClippingSphere",
Arguments = { name = "String", radius = "Number" },
Documentation = "Creates a clipping sphere for the Gaia renderable in the first argument"
},
{
Name = "removeClippingBox",
Arguments = {},
Documentation = ""
}
}

View File

@@ -86,7 +86,7 @@ namespace {
openspace::properties::Property::Visibility::User
};
struct [[codegen::Dictionary(RenderableLightTravel)]] Parameters {
struct [[codegen::Dictionary(RenderableTravelSpeed)]] Parameters {
// [[codegen::verbatim(TargetInfo.description)]]
std::string target;

View File

@@ -38,13 +38,10 @@
namespace openspace {
documentation::Documentation ScreenSpaceVideo::Documentation() {
documentation::Documentation doc = ScreenSpaceRenderable::Documentation();
documentation::Documentation doc = VideoPlayer::Documentation();
doc.name = "ScreenSpaceVideo";
doc.id = "video_screenspacevideo";
documentation::Documentation vp = VideoPlayer::Documentation();
doc.entries.insert(doc.entries.end(), vp.entries.begin(), vp.entries.end());
return doc;
}