Documenter.jl: `$BASE_URL/MyPackage.jl/` does not automatically redirect to `$BASE_URL/MyPackage.jl/stable/`

Created on 5 May 2020  路  2Comments  路  Source: JuliaDocs/Documenter.jl

This might just be a misconfiguration on my end.

This works: https://juliahealth.org/HealthBase.jl/stable/

And this works: https://juliahealth.org/HealthBase.jl/dev/

But this does not work: https://juliahealth.org/HealthBase.jl/

I would have expected to https://juliahealth.org/HealthBase.jl/ to redirect to https://juliahealth.org/HealthBase.jl/stable/

For example, https://juliadocs.github.io/Documenter.jl/ redirects to https://juliadocs.github.io/Documenter.jl/stable/

Is there a way for Documenter.jl to automatically set up the redirect of $BASE_URL/MyPackage.jl/ to $BASE_URL/MyPackage.jl/stable/?

Most helpful comment

Duplicate of #937

All 2 comments

Duplicate of #937

Is there a way for Documenter.jl to automatically set up the redirect of $BASE_URL/MyPackage.jl/ to $BASE_URL/MyPackage.jl/stable/?

Not through Documenter, but it is a one-time setup to do it yourself, just add this file: https://github.com/JuliaDocs/Documenter.jl/blob/gh-pages/index.html

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Roger-luo picture Roger-luo  路  3Comments

dkarrasch picture dkarrasch  路  5Comments

jebej picture jebej  路  3Comments

cadojo picture cadojo  路  3Comments

asinghvi17 picture asinghvi17  路  3Comments