nutshimit / mashin

Mashin is an extensible rust-powered Infrastructure as Code (IaC) platform with a Javascript runtime, simplifying cloud resource management through a seamless combination of custom providers and expressive scripting.
https://mashin.land
MIT License
20 stars 2 forks source link

Doc generator #38

Closed lemarier closed 1 year ago

lemarier commented 1 year ago

Generate a doc.json that could be consumed by the registry to display documentation.

The doc is generated from the typescript.

The release pipeline of a provider will now looks like;

// this will generate a `mod.ts`
mashin bindgen ./bindings.json
// this will generate a `mod.json`
mashin doc mod.ts

We also remove the requirement of another binary mashin_bindgen which could be yanked from now.