Skip to content

docs: add usage guides for WITOverlayGenerator and WITExtractor#343

Open
shivanshu877 wants to merge 1 commit into
swiftwasm:mainfrom
shivanshu877:docs/71-wit-tools-usage
Open

docs: add usage guides for WITOverlayGenerator and WITExtractor#343
shivanshu877 wants to merge 1 commit into
swiftwasm:mainfrom
shivanshu877:docs/71-wit-tools-usage

Conversation

@shivanshu877
Copy link
Copy Markdown

Addresses the two open items in #71 ("Enhance documentation"):

  • Example and usage of WITOverlayGenerator
  • Example and usage of WITExtractor

Both documents are derived from reading the source of the respective modules (WITOverlayGen.swift, WITExtractor.swift) and their SPM plugins (WITOverlayPlugin, WITExtractorPlugin).

The intent is the same as the existing module docs in WasmKit's docc bundle — make the WIT tooling discoverable for users coming from outside the project.

Test plan

  • Docs build cleanly with the existing docc setup.
  • A maintainer review on the prose / accuracy is welcome — I worked from the source, but anyone closer to the API will see corner cases I missed.

Addresses the two open items in issue swiftwasm#71 ("Enhance documentation"):
- Example and usage of WITOverlayGenerator
- Example and usage of WITExtractor

Both documents are derived from the source code of the respective
modules (WITOverlayGen.swift, WITExtractor.swift) and their SPM
plugins (WITOverlayPlugin, WITExtractorPlugin).
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