microsoft / msagljs

A JavaScript graph layout engine: port of MSAGL
https://microsoft.github.io/msagljs/
MIT License
146 stars 15 forks source link

the broken links #59

Closed levnach closed 1 year ago

levnach commented 1 year ago

How do we access the examples now? The links are broken. image @pelikhan

pelikhan commented 1 year ago

You can put those files under website/static and they will be copied as is to the deployed website

levnach commented 1 year ago

I added the output of the builds of the examples to website/static - but not sure how to reference the added files

pelikhan commented 1 year ago

try https://microsoft.github.io/msagljs/editors/msagl.html, you'll need to patch some paths

levnach commented 1 year ago

Sorry, I do not understand.

pelikhan commented 1 year ago

The content of the static folder are copied as is to the GitHub pages host; however it seems that they fail to load which is probably because they assume some paths on dependent files.


From: Lev Nachmanson @.> Sent: Friday, April 21, 2023 8:46:50 PM To: microsoft/msagljs @.> Cc: Peli de Halleux @.>; Mention @.> Subject: Re: [microsoft/msagljs] the broken links (Issue #59)

Sorry, I do not understand.

— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/msagljs/issues/59#issuecomment-1518496591, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA73QKKJMXCHS4DPUVSIDCDXCNICVANCNFSM6AAAAAAXFWVBFQ. You are receiving this because you were mentioned.Message ID: @.***>

levnach commented 1 year ago

Do you say it is enough to put links to these folders, website/static/renderer-svg, and website/static/renderer-webgl, to msagl.html?

pelikhan commented 1 year ago

remove website/static so it will be something like website/static/foobar ->> https://microsoft.github.io/msagl/foobar