Skip to content

Fix generated docs for distribution, not just for building docs#174

Merged
kainino0x merged 1 commit intogpuweb:mainfrom
kainino0x:fix-comments
Mar 22, 2025
Merged

Fix generated docs for distribution, not just for building docs#174
kainino0x merged 1 commit intogpuweb:mainfrom
kainino0x:fix-comments

Conversation

@kainino0x
Copy link
Copy Markdown
Collaborator

@kainino0x kainino0x commented Mar 22, 2025

Fix the typedoc comments in generated/ instead of only in tsdoc-src, and generate docs directly from dist/index.d.ts instead of webgpu.ts.

Also:

  • Move manually-written types for uncapturederror into the manually-written section at the top
  • Split bitflags types from vars, so that docs can link to them

@kainino0x kainino0x force-pushed the fix-comments branch 2 times, most recently from fe828ce to 6c6b104 Compare March 22, 2025 02:56
@kainino0x kainino0x changed the title Various generator fixes for types and docs Fix generated docs for distribution, not just for building docs Mar 22, 2025
@kainino0x kainino0x enabled auto-merge (squash) March 22, 2025 03:17
@kainino0x kainino0x disabled auto-merge March 22, 2025 03:17
@kainino0x kainino0x merged commit e29652d into gpuweb:main Mar 22, 2025
1 check passed
@kainino0x kainino0x deleted the fix-comments branch March 22, 2025 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant