Repository navigation
Open
Labels
documentationImprovements or additions to documentation
Description
What is the type of issue?
Documentation is incorrect, Documentation is confusing
What is the issue?
Three problems in the API reference that the TypeDoc plugin generates (seen in the 3.0.0 reference on the docs site):
- Protected members on every library page. 17 pages (every library class,
Library,NfException,NanoforgeClient,NanoforgeServer) list protected members, for example the inheritedprotected throwNotInitializedError()on each library class, with "Defined in: packages/common/dist/index.d.ts:536" (a build output path, no source link), andprotected viewport,initialize(),schedule()onNanoforgeClient/NanoforgeServer.typedoc.jsonsetsexcludePrivateandexcludeInternalbut notexcludeProtected. docs: fix the TypeDoc warnings and hide the protected internals of NetworkServerLibrary #468 covers the same cause forNetworkServerLibraryonly; this is the same problem on every page. - Raw
{@link ...}tags in page descriptions.summaryOfbuilds the frontmatterdescriptionwithComment.combineDisplayParts, which keeps inline tags as text. Three pages ship descriptions such as"Options of {@link Graphics3DLibrary}."; Mintlify shows the raw tag andmint devlogs "Error compiling content Options of {@link Graphics3DLibrary}.". - Nested index groups. For a package with several entry points (
ecs,input,network),navigation.jsonhas a group "@nanoforge-dev/ecs" that contains a second group also named "@nanoforge-dev/ecs", rooted atecs/index/index, next toecs/client,ecs/scene,ecs/server. The sidebar shows the package name twice, one inside the other.
Suggested fix: (1) mark the members library authors do not need @internal, or set excludeProtected and document the protected API of Library on its own page; (2) render the summary's inline tags as plain text (use the tag's text, or strip {@link X} to X) before writing the description; (3) in toMintlify, put the index entry point's pages directly in the package group instead of a same-named child group.
Found during the pre-testing-phase audit (2026-11-22).
Where did you find it?
- Plugin:
docs/typedoc/mintlify.mjs#L12-L17(description),#L35-L49(groups) - Config:
typedoc.json - Generated pages:
references/engine/3.0.0/graphics-2d/classes/Graphics2DLibrary.mdx#L232-L236,core/interfaces/NanoforgeClient.mdx#L38,graphics-3d/interfaces/Graphics3DOptions.mdx#L3,navigation.json - Related: docs: fix the TypeDoc warnings and hide the protected internals of NetworkServerLibrary #468
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentation
Activity