I am having a bit of trouble with the URLs used for documentation - they emit a double slash, which causes them not to be loaded on my webserver…
I went into the network panel for pxt-sample and saw that it was doing the same thing
https://microsoft.github.io/pxt-sample/docs//examples/square.md
Repro steps:
Open up http://microsoft.github.io/pxt-sample/
Open up devtools and switch to the network pane
Click on Square example
Result
You will see a network request for
https://microsoft.github.io/pxt-sample/docs//examples/square.md
Expected
No double slashes after the docs
https://microsoft.github.io/pxt-sample/docs/examples/square.md
This accidentally works on github but not when served statically out of a webserver
I have tried all manner of things to fix this including passing --route in pxt staticpkg.
Suggestions?
JFo