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

CSSRef is missing functions with nested slugs #73

Open
skyclouds2001 opened this issue Dec 25, 2024 · 4 comments · Fixed by #78
Open

CSSRef is missing functions with nested slugs #73

skyclouds2001 opened this issue Dec 25, 2024 · 4 comments · Fixed by #78
Labels
enhancement Improves an existing feature. p1 We will address this soon and will provide capacity from our team for it in the next few releases.

Comments

@skyclouds2001
Copy link

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
@skyclouds2001
Copy link
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

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());

@caugner caugner transferred this issue from mdn/content Jan 3, 2025
@caugner caugner changed the title Missing CSS functions in {{CSSRef}} generated sidebar CSSRef is missing functions with nested slugs Jan 3, 2025
@caugner caugner assigned caugner and unassigned caugner Jan 3, 2025
@caugner
Copy link
Contributor

caugner commented Jan 6, 2025

The Glossary sidebar is also affected, see https://developer.mozilla.org/en-US/docs/Glossary/Baseline/Compatibility, which is missing in the sidebar.

@caugner caugner added enhancement Improves an existing feature. p1 We will address this soon and will provide capacity from our team for it in the next few releases. and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Jan 6, 2025
@fiji-flo
Copy link
Contributor

fiji-flo commented Jan 8, 2025

Reopen till I have a content PR

@fiji-flo fiji-flo reopened this Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improves an existing feature. p1 We will address this soon and will provide capacity from our team for it in the next few releases.
Projects
None yet
5 participants
@caugner @fiji-flo @OnkarRuikar @skyclouds2001 and others