Documentation
¶
Overview ¶
Command appledeveloperdocs harvests Apple's developer documentation from the DocC render API and writes it into per-framework sidecar files (appledocs.json) next to the committed .gometa.json metadata.
The codegen loaders merge these sidecars into the Doc fields at load time (Apple-preferred, header fallback), so the generated raw bindings and the idiomatic layer carry Apple's prose alongside the code without touching the pure scanned .gometa.json.
Usage:
go run ./scripts/tools/appledeveloperdocs fetch --framework Foundation go run ./scripts/tools/appledeveloperdocs fetch --framework Foundation,AppKit --deep go run ./scripts/tools/appledeveloperdocs fetch --framework all
This is a mirror, in Go, of csandrew-dev/AppleDocParser. Where that tool drove a Selenium browser and scraped rendered HTML for Apple's REST API schema pages, this fetches Apple's structured DocC render JSON directly (no browser) and targets framework symbols (classes, methods, properties, enums).
Directories
¶
| Path | Synopsis |
|---|---|
|
Package docc models Apple's DocC "render JSON" (the structured data behind every developer.apple.com/documentation page) and projects it into the Objective-C variant so symbol titles read as ObjC selectors.
|
Package docc models Apple's DocC "render JSON" (the structured data behind every developer.apple.com/documentation page) and projects it into the Objective-C variant so symbol titles read as ObjC selectors. |