docs: fix the TypeDoc warnings and hide the protected internals of NetworkServerLibrary

オープン
#468 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
documentation

調査の方向性

Start by reading typedoc.json and the TypeDoc output from pnpm run docs; the issue names affected APIs across core, ecs, network server, and scene, plus server.network.base.ts. Review the unresolved links and unexported referenced types, then check how protected members are documented. Done when the command reports no warnings and the generated NetworkServerLibrary reference hides the listed protected internals.

索引モデルが issue の本文から書いたものです。

説明

documentation modules:network
What is the type of issue?

Documentation is incorrect, Documentation is missing

What is the issue?

pnpm run docs (TypeDoc, branch feat/docs-navigation) ends with 0 errors and 14 warnings, and publishes some implementation details:

  • NetworkServerLibrary documents its protected fields _registry, _server and _trace (https://github.com/NanoForge-dev/Engine/blob/0470c096970747dbf5774420f0ca1b4d47f2927f/modules/network/src/server/server.network.base.ts#L18-L20). typedoc.json sets excludePrivate but not excludeProtected; library authors may need the protected members of Library, so marking these @internal is probably the right fix.
  • Types referenced by public APIs but not exported: NanoforgeFactoryStatic, InternalViewportState (core); ECSElement, ClassHandle (ecs); ClientRegistry, NetworkServer, Trace (network server); SceneVarsStore, AnyScene, AnySceneClass (scene).
  • An unresolved {@link NfDuplicateLibraryException} in NanoforgeClient.use and NanoforgeServer.use (core).
  • UDPServerIceConfig links to UDPServer, which isn't documented.

Expected: pnpm run docs with no warning, and no _ internals in the reference.

Where did you find it?

Output of pnpm run docs on branch feat/docs-navigation; page references/engine/<version>/network/server/classes/NetworkServerLibrary of the generated reference.

主要言語
TypeScript
スター
7
フォーク
2
平均マージ
1日 17時間
マージ済み PR(30日)
17

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NanoForge-dev/Engine のほかの issue

NanoForge-dev/Engine の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。