-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Docs: Add automated theme.json reference documentation #37569
Conversation
Size Change: 0 B Total Size: 1.13 MB ℹ️ View Unchanged
|
Not a code review -the rendered view looks great. |
258dff8
to
c5af361
Compare
@carolinan Good suggestion, I updated to include the tools that are enabled. @ajlende I added a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like a solid foundation to build upon!
I'd eventually like to see more descriptions for properties included. Things like formatting for color strings are important and aren't included yet.
Examples are another thing that could be useful. Draft 6 added the examples
property that we could leverage; however, like markdownDescription
I'd want to do a little research before moving away from draft-04.
- Adds a brief paragraph at top of reference guide linking to how to guide for examples - Adds reference guide to table of contents / manifest
To enrich the automated docs this adds a markdownDescription field for appearanceTools to explain what tools are enabled. You can see the markdownDescription field used in the tsconfig schema here: http://json.schemastore.org/tsconfig
Update lint-staged to command to run script to generate theme.json reference prior to checking for changed files. For details fixing similar issue see PR #37613
c5af361
to
627da48
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Description
Uses the theme.json schema document to generate a reference guide for settings and styles.
Fixes: #36278
Note: This is a stacked PR on top of #37558 that adds npm-run-all command, that should be merged first.
How has this been tested?
See a rendered view of the documentation.
Types of changes
Documentation update.