Most example links are broken
Most Example Links are broken
Most Brain.js example links are broken It looks like the issue stems from /master/examples/ folder having been deleted on the current branch
- Node Steams example link is broken on https://brain.js.org/#/examples which should go to: https://github.com/BrainJS/brain.js/blob/master/examples/javascript/stream-example.js
-Forcasting example link is broken on https://brain.js.org/#/examples which should go to: https://github.com/BrainJS/brain.js/blob/master/examples/javascript/predict-numbers.js
-Maths example link is broken on https://brain.js.org/#/examples which should go to: https://github.com/BrainJS/brain.js/blob/master/examples/javascript/learn-math.js
-CrossValidate example link is broken on https://brain.js.org/#/examples which should go to: https://github.com/BrainJS/brain.js/blob/master/examples/javascript/cross-validate.js
-GpuAI example link is broken on https://brain.js.org/#/examples which should go to: https://github.com/BrainJS/brain.js/blob/master/examples/javascript/gpu.html
-Cryotherapy example link is broken on https://brain.js.org/#/examples which should go to: https://github.com/iSumitBanik/Cryotherapy-Success-Rate
-RockPaperScissors example link is broken on https://brain.js.org/#/examples which should go to: https://github.com/arifikhsan/batu-gunting-kertas-nuxt
The GitHub repo mentions https://github.com/BrainJS/brain.js-examples/blob/main/src/cross-validate.ts as a source. so maybe updating the links or changing the source will fix the issue
Open a PR?
will do!
A rockstar pledge.
Ok so to update: it looks like this commit --> chore: Move examples, fix typescript output is the one that broke the example links because it looks like everything was moved to brain.js-examples. I'm getting ready to post my pull request to the Brainjs brain.js.org so that the website can now point to the correct links again. All I did was edit the 'strore' file with 5 updated url fixes. However, there is one other issue... It looks like when the examples were moved only the typescript examples were moved and not the js ones. So I'm only able to link to the typescript version. I think maybe that might have just been an oversite but then that would require an additional pull request to that other repo. For now, I think we can have the website pointing to the typescript versions so that the examples are at least not broken... If we want to reinclude the js versions, we would need an additional pull to add the js ones back, and maybe just have links to both of them on the example page?