Closed roblabs closed 4 months ago
Describe the bug Documentation for image source has minor typo to the radar GIF asset. This makes the copy/paste feature of the documentation useless. Fix for minor typo at https://github.com/maplibre/maplibre-style-spec/blob/1ebaa5a365df1502f2f99f5001697ff9409d3dfc/build/generate-docs.ts#L410
image
Additional context This fix will allow those trying to add image sources to be able to use a real image.
To Reproduce Steps to reproduce the behavior:
URL to radar GIF gives a 404; a minor typo in the path
`404`: https://maplibre.org/maplibre-gl-js-docs/assets/radar.gif works: https://maplibre.org/maplibre-gl-js/docs/assets/radar.gif ^^^
Expected behavior URLs to real MapLibre assets should work. If the example pointed to something arbitrary, E. G., https://example.com/radar.gif, we wouldn't fix.
https://example.com/radar.gif
Screenshots
I would submit a PR, for this easy typo fix, but I can't get the npm run mkdocs to run successfully.
npm run mkdocs
Submit a PR, the CI will run the relevant check. I'll merge this.
Fixed by #659
Describe the bug Documentation for
image
source has minor typo to the radar GIF asset. This makes the copy/paste feature of the documentation useless. Fix for minor typo at https://github.com/maplibre/maplibre-style-spec/blob/1ebaa5a365df1502f2f99f5001697ff9409d3dfc/build/generate-docs.ts#L410Additional context This fix will allow those trying to add image sources to be able to use a real image.
To Reproduce Steps to reproduce the behavior:
URL to radar GIF gives a 404; a minor typo in the path
Expected behavior URLs to real MapLibre assets should work. If the example pointed to something arbitrary, E. G.,
https://example.com/radar.gif
, we wouldn't fix.Screenshots