Hello @RaananW !
This has happened. All the other PG sreenshots are OK except this one. Can I do something about it?
Now I can see why:
screenshot created for #H1LRZ3#9 --- no it's not
Warning: data for page "/[...id]" (path "/features/featuresDeepDive/mesh/creation/param/greased_line") is 136 kB which exceeds the threshold of 128 kB, this amount of data can reduce performance.
See more info here: https://nextjs.org/docs/messages/large-page-data
main getStaticPages
error pg #H1LRZ3#113
screenshot created for #H1LRZ3#115 --- no it's not
Warning: data for page "/[...id]" (path "/features/featuresDeepDive/mesh/creation/param/greased_line") is 140 kB which exceeds the threshold of 128 kB, this amount of data can reduce performance.
Can we do something without the need to divide the page to multiple pages? The docs are reffering in multiple location as ‘the PG below’ and it’s quite a monolith and I am out of steam to check and rewrite the whole thing now…
EDIT: We can, question is whether you are willing to…
I found this: large-page-data | Next.js
i am taking care of that now. the screenshots are being done using the stable version, and it wasn’t deployed until now.
a few minutes and the screenshots will be there
taking care of that as well
Fine Just be aware that I’ve just added docs for the GetPointsFromText function and it started to happen afterwards
Am I overworried?
yes! and it’s perfectly fine
should be fine now, by the way
ready in 7 minutes
LOL…
Can I ask is the PG screenshots creation an automatic process upon merging or you have to trigger it manually? There are two new PGs without screenshots again in the docs.
Thanks!
When you test locally a test that doesn’t have an image, it normally creates it automatically. At least that’s what happens for me.
Just my two-cents here but may be is because the PG was not working at the time of merge.
The new drawtext PG is non-working at this moment (and the other is working, at least now but may be wasn’t at the time or takes a bit too long to load?). Though, I suppose the thumbnail cannot be generated from a non-working PG, can it?
It absolutely make sense and I was thinking like this too, but working PG, no thumb:
I know. But it takes sometime after loading before the mesh is displayed (understandable, from the quality of what I can see here ). Yet, may be (and then just, may be) may be the screenshot function kicks in before it’s ready?
I think there is a delay set, because the sphere demo is starting quite slower than the other PGs and the thumb is there
As I said, just my two cents. I hope it will not worry you all too much. Isn’t it time for you to prepare your luggage and make ready for your holidays?
My mistake, I’m talking about generating the image for a visualization test, not for a PG inside a documentation page!
What I do when a PG I link to a doc page relies on features that are only available on my local computer, is to update the base url used by the code that generates the image. This is located in the lib/frontendUtils/frontendTools.ts
file, line 8: replace https://playground.babylonjs.com/
with http://localhost:1338/
.