-
Notifications
You must be signed in to change notification settings - Fork 12
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
No way (flaws or build log) to detect errors in {{CSSInfo}} #161
Comments
Note that I know how to fix mdn/data; what I need is a way to detect these without visiting the output of the 11000 pages 😉 |
As a workaround, you could run:
It currently gives:
|
It looks like rari does not emit an issue (flaw) either when the rari/crates/rari-doc/src/helpers/css_info.rs Lines 341 to 344 in 986b933
|
Summary
The macro {{CSSInfo}} uses mdn/data to display its content.
When there is no matching entre in mdn/data, the macro generate a text in red as error:

This is good, but not enough: we detect such error only by visiting the page.
We need a way to detect all pages in error. For similar problems, errors are displayed in one of the two following ways:
Both cases allow us to find, track and fix these problems (I have no strong feelings)
URL
http://developer.mozilla.org/en-US/docs/Web/CSS/font-palette
Reproduction steps
Expected behavior
An error in the flaw list OR in the build log (no strong feeling about which one is the best!)
Actual behavior
No error outside the page itself
Device
Desktop
Browser
Chrome
Browser version
Stable
Operating system
Android
Screenshot
No response
Anything else?
No response
Validations
The text was updated successfully, but these errors were encountered: