webfolks! anyone knows why I loose all css, when I set redirects with status 200?
E.g. : https://gh-pages--juliaplots.netlify.app/latest/ instead of https://gh-pages--juliaplots.netlify.app/dev/ ?
Tagging @Fons van der Plas since we talked about netlify on tuesday
It looks like only /dev/
is being redirected to /latest/
, but subpaths are not, like https://gh-pages--juliaplots.netlify.app/latest/input_data/
or https://gh-pages--juliaplots.netlify.app/latest/assets/themes/documenter-dark.css
.
Did you use a _redirects
file or a netlify.toml
file? In that case, you can use the splatting feature to also redirect all subpaths.
Same with
https://gh-pages--juliaplots.netlify.app/v1.38/
vs
https://gh-pages--juliaplots.netlify.app/v1.38.2/
Ah I see that Documenter.jl generates a symlink for each directory. It might be that those not be fully supported by netlify, and you have to generate a _redirects
or netlify.toml
file instead.
https://github.com/JuliaPlots/PlotDocs.jl/pull/337
Last updated: Nov 22 2024 at 04:41 UTC