Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON Schema Docgen Rework #63868

Merged
merged 43 commits into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
d496b78
Replace keys with Object.keys
ajlende Jul 16, 2024
c7ebdd7
Update codegen to use entries
ajlende Jul 16, 2024
61bfde9
Re-add useRootPaddingAwareAlignments to the docs
ajlende Jul 16, 2024
e73fddf
Code readability for markup tables
ajlende Jul 16, 2024
af38a4b
Simplify file paths
ajlende Jul 16, 2024
fff1469
Re-add doc comments
ajlende Jul 16, 2024
dc89267
Add dereference options
ajlende Jul 16, 2024
8be8599
Fix doc comments
ajlende Jul 16, 2024
8df7fa3
Refactor properties markup functions
ajlende Jul 16, 2024
d7214b4
Use import JSONSchema type
ajlende Jul 16, 2024
d002425
Simplify getSectionMarkup
ajlende Jul 16, 2024
1342fb6
Fix spacing
ajlende Jul 16, 2024
83406e2
Convert arrow functions to functions
ajlende Jul 16, 2024
84dbcae
Update template and template part autogen
ajlende Jul 16, 2024
5bc5f39
Fix capitalization for patterns property
ajlende Jul 16, 2024
649a37c
Wrap autogen in main function
ajlende Jul 16, 2024
6a1b4bb
Use node:fs/promises
ajlende Jul 16, 2024
60e8909
Use for loops for imperative code
ajlende Jul 16, 2024
bd4af6a
Simplify formatType
ajlende Jul 16, 2024
cc0b29e
Simplify properties checks as we can assume a valid JSON schema
ajlende Jul 16, 2024
1e01305
Simplify formatting of properties and types
ajlende Jul 16, 2024
fe14ed8
Inline table generation
ajlende Jul 16, 2024
d0109f8
Create functino for document generation
ajlende Jul 16, 2024
c1f9a23
Rename and reorganize
ajlende Jul 16, 2024
4d107eb
Add settings and styles descriptions
ajlende Jul 16, 2024
bc1d7c5
Remove template type because it should be obvious
ajlende Jul 17, 2024
7e8f9b6
Revamp type gen
ajlende Jul 17, 2024
3d68361
Update type generation
ajlende Jul 17, 2024
962bcfa
Rename and refactor functions
ajlende Jul 17, 2024
3397383
Update JSDoc
ajlende Jul 17, 2024
ed95c0c
Update comments
ajlende Jul 17, 2024
85ee58f
Stringify default value
ajlende Jul 17, 2024
8ec5a66
Add descriptions for styles and settings
ajlende Jul 17, 2024
11f0a98
Fix falsy default values
ajlende Jul 17, 2024
cac9d56
Lowercase settings and styles
ajlende Jul 17, 2024
708cb82
Update strings
ajlende Jul 17, 2024
9e16589
Refactor main
ajlende Jul 17, 2024
f16d362
Clarify doc comment
ajlende Jul 17, 2024
1b91fef
Add comment for why one line of description
ajlende Jul 17, 2024
99bb337
Update how top-level only settings are selected and rendered
ajlende Jul 17, 2024
2926476
Select styles directly instead of through definitions
ajlende Jul 17, 2024
743cddf
Update variable names
ajlende Jul 17, 2024
8c2c101
Reorder patterns type in docs
ajlende Jul 17, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading