fsprojects / fantomas

FSharp source code formatter
https://fsprojects.github.io/fantomas
Other
772 stars 194 forks source link

Fantomas documentation website formatting is broken #2837

Closed bmitc closed 1 year ago

bmitc commented 1 year ago

The Fantomas documentation website is broken, in terms of its formatting: https://fsprojects.github.io/fantomas/. I am on Windows 11 using Microsoft Edge.

Some examples:

image

image

majocha commented 1 year ago

Yep. This must have happened recently.

bmitc commented 1 year ago

Thanks for confirming, @majocha. Although I have a very vanilla browser setup, I was curious if it was this way for others as well.

dawedawe commented 1 year ago

I think I found the reason in the logs:

2023-04-12T10:16:50.1235808Z ── STAGE #6 Docs started. Stage timeout: -1ms. Step timeout: -1ms. ─────────────
2023-04-12T10:16:50.1236104Z 
2023-04-12T10:16:50.1236328Z Docs/step-0> started
2023-04-12T10:16:50.1236638Z dotnet fsi ./docs/.style/style.fsx
2023-04-12T10:16:57.7558465Z During loading of Sass compiler an error occurred. See details:
2023-04-12T10:16:57.7561674Z Message: During loading of Sass compiler error has occurred. Failed to create instance of the V8JsEngine. See the original error message: “Unable to cast object of type 'Microsoft.ClearScript.Undefined' to type 'Microsoft.ClearScript.V8.V8ScriptItem'.”.
bmitc commented 1 year ago

Thank you for the fix, @dawedawe!