You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the block.json file now a part of the Gutenberg repository (#35998) we can take advantage of this file and use it to auto-generate block.json reference documentation.
The explanations and examples in the header and footer can be maintained and just the inner content replaced by using TOKENs to delimit the section that is auto-generated. See the other API generation docs for examples where we already do this.
The text was updated successfully, but these errors were encountered:
The current block metadata documentation page could be updated to replace the "Block API" section with details generated out of the block.json schema file
That would be great. We would have to include more details in the block.json schema file like:
What problem does this address?
With the block.json file now a part of the Gutenberg repository (#35998) we can take advantage of this file and use it to auto-generate block.json reference documentation.
What is your proposed solution?
The current block metadata documentation page could be updated to replace the "Block API" section with details generated out of the block.json schema file
The explanations and examples in the header and footer can be maintained and just the inner content replaced by using TOKENs to delimit the section that is auto-generated. See the other API generation docs for examples where we already do this.
The text was updated successfully, but these errors were encountered: