You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, applying Prettier to the HTML documentation has changed the HTML in ways that appear the same on the page, but are not the same for the purposes of the Regular Expressions in page.js. I'm overall in favor of using Prettier, it's a great way to keep the HTML clean, but we may need to adjust page.js to handle these newlines (or, eventually, find another way of formatting our API docs).
Reproduction steps
View any method documentation with a longer signature, like Color.fromBufferAttribute, on the dev branch.
I've quickly fixed hopefully all breakage by just reverting the formatting so we have fixed docs for r152. Ideally, the regex is improved so things like that don't happen anymore.
Description
Unfortunately, applying Prettier to the HTML documentation has changed the HTML in ways that appear the same on the page, but are not the same for the purposes of the Regular Expressions in
page.js
. I'm overall in favor of using Prettier, it's a great way to keep the HTML clean, but we may need to adjustpage.js
to handle these newlines (or, eventually, find another way of formatting our API docs).Reproduction steps
View any method documentation with a longer signature, like Color.fromBufferAttribute, on the
dev
branch.Code
Live example
n/a
Screenshots
Note the return value (
: this
) is on the wrong side of the parameter list:Version
r152dev
Device
Desktop
Browser
Chrome
OS
MacOS
The text was updated successfully, but these errors were encountered: