gatsbyjs / gatsby-source-wordpress-experimental

The upcoming v4 of gatsby-source-wordpress, currently in beta
MIT License
385 stars 100 forks source link

Feat: generate plugin options docs #424

Closed TylerBarnes closed 3 years ago

TylerBarnes commented 3 years ago

This PR adds a script which generates plugin options docs.

TylerBarnes commented 3 years ago

This is ready for review!

btw @mxstbr you might find this interesting. I'm using your plugin options schema API to generate our plugin options documentation https://github.com/gatsbyjs/gatsby-source-wordpress-experimental/blob/8f51f075b44ee22564cf94c599454dd25ea75eda/docs/plugin-options.md

It used to be manually maintained 😱 https://github.com/gatsbyjs/gatsby-source-wordpress-experimental/blob/master/docs/plugin-options.md

TylerBarnes commented 3 years ago

Thanks @jasonbahl and good call on automation. I left it out for now because I'm not 100% sure what that'll look like in the Gatsby monorepo.

jasonbahl commented 3 years ago

Ah ya. . .monorepo 😬