Documentation "edit on github" path error

The “Edit on github” link in my documentation:
https://bgodard.github.io/CALCEPH.jl/latest/
is broken. It is:

https://github.com/bgodard/CALCEPH.jl/edit/master/docs/index.md
But it should be:
https://github.com/bgodard/CALCEPH.jl/edit/master/docs/src/index.md

ie “src/” is missing. How do I fix this?

This documentation Optim.jl has the same problem.

You need to set the correct edit_uri in mkdocs.yml.

1 Like

Thank you. This fixed it.