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 #63639

Merged
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
1bec179
Replace keys with Object.keys
ajlende Jul 16, 2024
5554072
Update codegen to use entries
ajlende Jul 16, 2024
318fac6
Re-add useRootPaddingAwareAlignments to the docs
ajlende Jul 16, 2024
7efdecf
Code readability for markup tables
ajlende Jul 16, 2024
49d0ea5
Simplify file paths
ajlende Jul 16, 2024
fc1743c
Re-add doc comments
ajlende Jul 16, 2024
a0c5311
Add dereference options
ajlende Jul 16, 2024
47f350c
Fix doc comments
ajlende Jul 16, 2024
4476808
Refactor properties markup functions
ajlende Jul 16, 2024
838bab7
Use import JSONSchema type
ajlende Jul 16, 2024
fd85e09
Simplify getSectionMarkup
ajlende Jul 16, 2024
c8cd7bc
Fix spacing
ajlende Jul 16, 2024
be01429
Convert arrow functions to functions
ajlende Jul 16, 2024
f8fa7f9
Update template and template part autogen
ajlende Jul 16, 2024
6542256
Fix capitalization for patterns property
ajlende Jul 16, 2024
49f7560
Wrap autogen in main function
ajlende Jul 16, 2024
30f9691
Use node:fs/promises
ajlende Jul 16, 2024
c42d105
Use for loops for imperative code
ajlende Jul 16, 2024
eb09c63
Simplify formatType
ajlende Jul 16, 2024
50fd538
Simplify properties checks as we can assume a valid JSON schema
ajlende Jul 16, 2024
ed536c6
Simplify formatting of properties and types
ajlende Jul 16, 2024
2074e7e
Inline table generation
ajlende Jul 16, 2024
e0d7815
Create functino for document generation
ajlende Jul 16, 2024
57f4921
Rename and reorganize
ajlende Jul 16, 2024
12eaee6
Add settings and styles descriptions
ajlende Jul 16, 2024
b0e56f5
Remove template type because it should be obvious
ajlende Jul 17, 2024
a231e63
Revamp type gen
ajlende Jul 17, 2024
b388639
Update type generation
ajlende Jul 17, 2024
a877704
Rename and refactor functions
ajlende Jul 17, 2024
a1635e5
Update JSDoc
ajlende Jul 17, 2024
8d96735
Update comments
ajlende Jul 17, 2024
c2e157e
Stringify default value
ajlende Jul 17, 2024
9cf18e0
Add descriptions for styles and settings
ajlende Jul 17, 2024
b3d3473
Fix falsy default values
ajlende Jul 17, 2024
0e0f36f
Lowercase settings and styles
ajlende Jul 17, 2024
21b57f9
Update strings
ajlende Jul 17, 2024
e0eba02
Refactor main
ajlende Jul 17, 2024
c6ca47a
Clarify doc comment
ajlende Jul 17, 2024
6aa301d
Add comment for why one line of description
ajlende Jul 17, 2024
9f4c78b
Update how top-level only settings are selected and rendered
ajlende Jul 17, 2024
b5664f5
Select styles directly instead of through definitions
ajlende Jul 17, 2024
5e8ff42
Update variable names
ajlende Jul 17, 2024
7f5b6e6
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