# Documentation "edit on github" path error

**URL:** <https://discourse.julialang.org/t/documentation-edit-on-github-path-error/8889>\
**Category:** Tooling\
**Created:** [February 7, 2018, 11:25am UTC](https://discourse.julialang.org/t/documentation-edit-on-github-path-error/8889 "2018-02-07T11:25:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bernard\_GODARD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bernard_godard/32/4155_2.png) [@Bernard\_GODARD](https://discourse.julialang.org/u/Bernard_GODARD)\
**Post date:** [February 7, 2018, 11:25am UTC](https://discourse.julialang.org/t/documentation-edit-on-github-path-error/8889/1 "2018-02-07T11:25:29Z")

</div>

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

[https://github.com/bgodard/CALCEPH.jl/edit/master/docs/index.md](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](https://julianlsolvers.github.io/Optim.jl/latest/) has the same problem.

---

<div class="post-metadata">

**Author:** ![mortenpi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mortenpi/32/158_2.png) [@mortenpi](https://discourse.julialang.org/u/mortenpi)\
**Post date:** [February 10, 2018, 4:25am UTC](https://discourse.julialang.org/t/documentation-edit-on-github-path-error/8889/2 "2018-02-10T04:25:38Z")

</div>

You need to set the correct [`edit_uri`](http://www.mkdocs.org/user-guide/configuration/#edit_uri) in `mkdocs.yml`.

---

<div class="post-metadata">

**Author:** ![Bernard\_GODARD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bernard_godard/32/4155_2.png) [@Bernard\_GODARD](https://discourse.julialang.org/u/Bernard_GODARD)\
**Post date:** [February 10, 2018, 5:17pm UTC](https://discourse.julialang.org/t/documentation-edit-on-github-path-error/8889/3 "2018-02-10T17:17:40Z")

</div>

Thank you. This fixed it.
