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

Missing CSS functions in {{CSSRef}} generated sidebar #37370

Open
skyclouds2001 opened this issue Dec 25, 2024 · 2 comments
Open

Missing CSS functions in {{CSSRef}} generated sidebar #37370

skyclouds2001 opened this issue Dec 25, 2024 · 2 comments
Labels
Content:CSS Cascading Style Sheets docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.

Comments

@skyclouds2001
Copy link
Contributor

MDN URL

.

What specific section or headline is this issue about?

No response

What information was incorrect, unhelpful, or incomplete?

same as title

e.g. https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/color-mix

note that in my memory, they are in sidebar a fewer times ago

What did you expect to see?

these css functions are in sidebar generated by {{CSSRef}

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

maybe this is related with https://github.com/mdn/rari

@skyclouds2001 skyclouds2001 added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Dec 25, 2024
@github-actions github-actions bot added the Content:CSS Cascading Style Sheets docs label Dec 25, 2024
@skyclouds2001
Copy link
Contributor Author

P.S. seems all css functions that its docs nested in other features, like CSS/color_value/color-mix are missing; instead, those like CSS/clamp are not missing

@OnkarRuikar
Copy link
Contributor

OnkarRuikar commented Dec 27, 2024

Works in yari but not in rari. Rari may not be doing the following: https://github.com/mdn/yari/blob/main/kumascript/macros/CSSRef.ejs#L1115-L1118

// Some functions are at depth two.
// Example: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hsl
pageList.push(...pageList.map((page) => page.subpages).flat());

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:CSS Cascading Style Sheets docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.
Projects
None yet
Development

No branches or pull requests

3 participants
@OnkarRuikar @skyclouds2001 and others