-
Notifications
You must be signed in to change notification settings - Fork 163
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
Read class reference data from SCSS files #4349
Conversation
Demo starting at https://vanilla-framework-4349.demos.haus |
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.
Some changes needed
7e505fe
to
56073b1
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.
LGTM with a couple of minor comments (I've asked @albertkol to review the python 😀)
@@ -86,7 +86,7 @@ View example of the time notification pattern | |||
|
|||
## Class reference | |||
|
|||
{% include "_class-references/notification.html" %} | |||
{{ class_reference() }} |
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.
Why is this one missing "notification"
in the brackets?
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.
Doesn't need it. The function is smart enough to match it from the page it is on (via URL), only needs it when URL slug doesn't match the component name 1:1.
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.
👍
Co-authored-by: Beth Collins <bethcollinsliv92@gmail.com>
Done
Based on work from the hackaton, we are reading Yaml data for class reference from the comments inside SCSS files.
QA
dotrun build-class-references