-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Ongoing documentation fixes #11749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
|
Analysing ./pakages/** @default\s+(undefined|null)\s*\n([^/]*\n)*.*@type\s+ No results, means no @type\s+.*\n([^/]*\n)*.*@default\s+(undefined|null)\s*\n 100+ results, means 100+ targets. @type\s+.*(undefined|null).*\n([^/]*\n)*.*@default\s+(undefined|null)\s*\n 5 results, means 5 correct, including fixed #11475, in 100+ targets. |
(State of 1.121)
|
Not really a "documentation" fix, but ...
|
Also not a "documentation" fix, but maybe part of a cleanup that does not affect functionality:
|
|
|
|
|
Not actually a documentation fix, but rather a bug fix:
|
|
There occasionally are "small" fixes for the generated docmentation. These range from "fixing typos" to "fixing broken links" or "fixing type annotations". These usually do not involve rigorous tests, because this only refers to fixes that do not affect the functionality. A corner case is that of TSDoc fixes that may affect the generated typings. These may warrant some scrutiny, but still are not covered by real specs, but maybe only by a few lines in the
Specs/TypeScript/index.ts
file.I'd suggest listing these issues here. Everybody can add comments with things that have to be fixed, and we can try to keep track of the things that have been addressed using GitHub
[ ] Task checkboxes
.The
Cesium3DTileset.from...
functions claim to throw aDeveloperError
when the tileset version is not0.0
or1.0
. (E.g.fromUrl
andfromIonAssetId
).Suggested fix: This should include
1.1
as a valid version number.These functions are actually not throwing a
DeveloperError
, but aRuntimeError
, as of this check.Suggested fix: Considering that the developer does not have influence on whether ~"the data is valid", it should probably be a
RuntimeError
(and documented accordingly)The
...GeometryUpdater#isDynamic
property documentation contains invalid links. (For example, thePolylineGeometryUpdater
documentation, generated fromPolylineGeometryUpdater
, but also other updater classes).Suggested fix: It should just omit the part that says
This is an implementation detail that is not relevant for the reader of the documentation.
The
EntityCollection#add
function claims to throw aDeveloperError
for duplicate IDs, but actually throws aRuntimeError
.Suggested fix: It should be a
DeveloperError
. The developer should make sure that there are no duplicate IDs. (In doubt, the developer can trivially check whether an ID is already present)The
orientation
property in the entity constructor options is documented to be of typeProperty
, but it can also be aQuaternion
.Suggested fix: Change the type to
{Property | Quaternion}
. Investigate whether the same applies to other properties there.The text was updated successfully, but these errors were encountered: