# Links to the source in the documentation

**URL:** <https://discourse.julialang.org/t/links-to-the-source-in-the-documentation/82385>\
**Category:** General Usage\
**Tags:** documenter\
**Created:** [June 7, 2022, 6:22pm UTC](https://discourse.julialang.org/t/links-to-the-source-in-the-documentation/82385 "2022-06-07T18:22:49Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [June 7, 2022, 6:22pm UTC](https://discourse.julialang.org/t/links-to-the-source-in-the-documentation/82385/1 "2022-06-07T18:22:49Z")

</div>

How does one get the links to the source to show up in the documentation?  
Like this one:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/6/7/6708392f6d7f5e632f69fe2f114b5ba2f02c5c04.png)

---

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [June 8, 2022, 2:44am UTC](https://discourse.julialang.org/t/links-to-the-source-in-the-documentation/82385/2 "2022-06-08T02:44:26Z")

</div>

Ping. Anyone?

---

<div class="post-metadata">

**Author:** ![Benny](https://avatars.discourse-cdn.com/v4/letter/b/49beb7/32.png) [@Benny](https://discourse.julialang.org/u/Benny)\
**Post date:** [June 8, 2022, 2:51am UTC](https://discourse.julialang.org/t/links-to-the-source-in-the-documentation/82385/3 "2022-06-08T02:51:08Z")

</div>

Do you mean that you’re reading documentation and for some reason the source link isn’t showing up or working? Or do you mean you’re writing documentation and need to set it up?

---

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [June 8, 2022, 2:54am UTC](https://discourse.julialang.org/t/links-to-the-source-in-the-documentation/82385/4 "2022-06-08T02:54:09Z")

</div>

Indeed, I am writing the Documenter source. I would like to have links to the documented source code  
a la Julia itself, for instance. Or Gadfly, which has the ones that show up on hover.

 ![image](https://global.discourse-cdn.com/julialang/original/3X/d/c/dc690d8ac6af95674b91b0c21d798d97e158a293.png)

---

<div class="post-metadata">

**Author:** ![odow](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/odow/32/28685_2.png) [@odow](https://discourse.julialang.org/u/odow)\
**Post date:** [June 8, 2022, 3:07am UTC](https://discourse.julialang.org/t/links-to-the-source-in-the-documentation/82385/5 "2022-06-08T03:07:56Z")

</div>

Do you mean the blue “source” button? Is it missing in the deployed docs? It should be automatic. Do you have a link to the bad docs?

---

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [June 8, 2022, 3:10am UTC](https://discourse.julialang.org/t/links-to-the-source-in-the-documentation/82385/6 "2022-06-08T03:10:48Z")

</div>

[https://petrkryslucsd.github.io/Sparspak.jl/dev/man/functions.html#Sparspak.SpkProblem.inaij](https://petrkryslucsd.github.io/Sparspak.jl/dev/man/functions.html#Sparspak.SpkProblem.inaij)!

---

<div class="post-metadata">

**Author:** ![odow](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/odow/32/28685_2.png) [@odow](https://discourse.julialang.org/u/odow)\
**Post date:** [June 8, 2022, 3:21am UTC](https://discourse.julialang.org/t/links-to-the-source-in-the-documentation/82385/7 "2022-06-08T03:21:16Z")

</div>

Change

> <https://github.com/PetrKryslUCSD/Sparspak.jl/blob/50ecfb0d74382d16600ca69d2968e4a9da02b580/docs/make.jl#L6>

to `develop` so it can find the right lines: [Missing docstring source links · Issue #834 · JuliaDocs/Documenter.jl · GitHub](https://github.com/JuliaDocs/Documenter.jl/issues/834)

Alternatively, follow the documented way to setup GitHub Actions:  
[https://juliadocs.github.io/Documenter.jl/stable/man/hosting/#GitHub-Actions](https://juliadocs.github.io/Documenter.jl/stable/man/hosting/#GitHub-Actions)  
the `develop`/`add` distinction might be too subtle.

---

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [June 8, 2022, 4:52am UTC](https://discourse.julialang.org/t/links-to-the-source-in-the-documentation/82385/8 "2022-06-08T04:52:48Z")

</div>

Thanks, mate!!!
