API used to build Motif extensions
Use this documentation to understand how to build a Motif Extension using this Motif API:
https://plxtra.org/motif-api/Overview/
npm i @plxtra/motif-api
This generates the API documentation directly from the Motif repository. This is useful if you are using Motif to debug an extension and want to ensure that the Motif API exactly matches the Motif being used to debug the extension.
motif
repository and this motif-api
repository in the same folder.@plxtra/motif-api
package so that it matches the @plxtra/motif
(Motif) package version.dist
script in this @plxtra/motif-api
package:npm run dist
npm pack
npm publish
docs:build
script in this @plxtra/motif-api
repository:npm run docs:build
docs:serve
script in this @plxtra/motif-api
repository:npm run docs:serve