Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Replace keys with Object.keys * Update codegen to use entries * Re-add useRootPaddingAwareAlignments to the docs * Code readability for markup tables * Simplify file paths * Re-add doc comments * Add dereference options * Fix doc comments * Refactor properties markup functions * Use import JSONSchema type * Simplify getSectionMarkup * Fix spacing * Convert arrow functions to functions * Update template and template part autogen * Fix capitalization for patterns property * Wrap autogen in main function * Use node:fs/promises * Use for loops for imperative code * Simplify formatType * Simplify properties checks as we can assume a valid JSON schema * Simplify formatting of properties and types * Inline table generation * Create functino for document generation * Rename and reorganize * Add settings and styles descriptions * Remove template type because it should be obvious * Revamp type gen * Update type generation * Rename and refactor functions * Update JSDoc * Update comments * Stringify default value * Add descriptions for styles and settings * Fix falsy default values * Lowercase settings and styles * Update strings * Refactor main * Clarify doc comment * Add comment for why one line of description * Update how top-level only settings are selected and rendered * Select styles directly instead of through definitions * Update variable names * Reorder patterns type in docs Co-authored-by: ajlende <ajlende@git.wordpress.org> Co-authored-by: scruffian <scruffian@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org>
- Loading branch information