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

"Error: could not find syntax for this item" on several CSS pages #37793

Open
BANOnotIT opened this issue Jan 24, 2025 · 1 comment
Open

"Error: could not find syntax for this item" on several CSS pages #37793

BANOnotIT opened this issue Jan 24, 2025 · 1 comment
Labels
Content:CSS Cascading Style Sheets docs

Comments

@BANOnotIT
Copy link
Contributor

BANOnotIT commented Jan 24, 2025

MDN URL

What specific section or headline is this issue about?

Formal Syntax

What information was incorrect, unhelpful, or incomplete?

It shows "Error: could not find syntax for this item"

What did you expect to see?

I expect to see syntax or to not see this section at all

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

Relates to mdn/rari#89

Do you have anything more you want to share?

Found these errors using site search. There are possible other instances of this problem.

cc @pepelsbey

@BANOnotIT BANOnotIT added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Jan 24, 2025
@github-actions github-actions bot added the Content:CSS Cascading Style Sheets docs label Jan 24, 2025
@Josh-Cena
Copy link
Member

Relatedly: I tried to use the new CSSSyntaxRaw macro in other places where we hardcode syntax, but turns out that it does not render the syntax expression itself, because it was implemented to help with the repeat() case, where repeat() itself in fact does not have a syntax. However, for the other cases where we document non-standard properties, we do want to be able to write {{CSSSyntaxRaw("-moz-float-edge = content-box | margin-box")}} and get that rendered verbatim as a definition. I've talked to @fiji-flo about this. I think it can be done together in this issue; we just need to look for ## Formal syntax(?!\n\n\{\{).

Also, I have this website that tracks errors like this: https://jc-verse.github.io/mdn-graph/warnings it has been defunct since Rari migration, but I'm planning to bring it back once the migration is fully over.

@Josh-Cena Josh-Cena removed the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Jan 24, 2025
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
Projects
None yet
Development

No branches or pull requests

2 participants