ishubin / schemio

Web based diagramming app that lets you build interactive diagrams and prototypes
https://schem.io
Mozilla Public License 2.0
90 stars 3 forks source link

Cannot export HTML from github page #648

Closed ghost closed 2 years ago

ghost commented 2 years ago

Why trying to export https://ishubin.github.io/sre-knowledge-base/#/docs/what-happens-when it fails.

These are the errors in the console image

Browser

Firefox 105.0.1 (64-bit)

ishubin commented 2 years ago

Thanks for reporting. I totally missed this part. It is because it incorrectly references the assets path. By default it uses /assets, but in case of GitHub pages it needs to be relative. I will fix it

ishubin commented 2 years ago

I have pushed a fix to both schemio code and the demo on GitHub pages. It should work now. The only problem that I didn't address yet, it does not export all the referenced media files. But that was always a limitation of the static exporter.

I will release it later once I fix the other issues

ishubin commented 2 years ago

Fixed and released