Agoric / documentation

User documentation
https://agoric.com/documentation/
Apache License 2.0
15 stars 39 forks source link

fix: Ratio Math page partially rendering #1204

Closed mujahidkay closed 2 months ago

mujahidkay commented 2 months ago

Closes: https://github.com/Agoric/documentation/issues/1183

Description

Fixes Ratio Math page's rendering issues due to hydration. The root cause turned out to be how BigInts were being translated to html code when written in non-codeblock form.

Also fixes some cases where there were no matching closes braces/parentheses.

Changes

Before

https://github.com/user-attachments/assets/41a41ccb-819b-4383-9df9-bb2199a5aa3f

After

https://github.com/user-attachments/assets/64e05ed3-17fa-49fb-8f15-20ac8a18d48f

cloudflare-workers-and-pages[bot] commented 2 months ago

Deploying documentation with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4d181e4
Status: ✅  Deploy successful!
Preview URL: https://b4d214e8.documentation-7tp.pages.dev
Branch Preview URL: https://ratio-math-hydration-debug.documentation-7tp.pages.dev

View logs

github-actions[bot] commented 2 months ago

Cloudflare deployment logs are available here