# Documenter.jl: Link to Source not working

**URL:** https://discourse.julialang.org/t/documenter-jl-link-to-source-not-working/107673
**Category:** General Usage
**Tags:** documenter
**Created:** [December 15, 2023, 3:22pm UTC](https://discourse.julialang.org/t/documenter-jl-link-to-source-not-working/107673 "2023-12-15T15:22:54Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kealme](https://avatars.discourse-cdn.com/v4/letter/k/c2a13f/32.png) [@kealme](https://discourse.julialang.org/u/kealme)
#### Post date: [December 15, 2023, 3:22pm UTC](https://discourse.julialang.org/t/documenter-jl-link-to-source-not-working/107673/1 "2023-12-15T15:22:54Z")

</div>

Hi,  
I’m using Documenter.jl to create my documentation. However, the “Link to Source”, which is available in every HTML-page, where i reference to some function of my package, is broken. It actually appears, but just links to the repo itself, instead of the file and line of code of this function.

What could be the cause of this behavior? I’m using Azure DevOps with the following configuration:

```julia
    format=Documenter.HTML(;
        prettyurls=get(ENV, "CI", "false") == "true",
        canonical="https://dev.azure.com/Org/Repo/_git/MyProject.jl",
        edit_link="master",
        assets=String[],
        repolink="https://dev.azure.com/Org/Repo/_git/MyProject.jl"
    ),

```

My deployment configuration (to work on Azure DevOps) is as follows:

```julia
# For deploydocs, you need to set up the following TRAVIS_* environment variables.
withenv(
    "TRAVIS_REPO_SLUG" => get(ENV, "BUILD_REPOSITORY_NAME", nothing),
    # Dirty hack
    "TRAVIS_BRANCH" => "master",
    # "TRAVIS_BRANCH" => get(ENV, "BUILD_SOURCEBRANCH", nothing),
    # Is true, but should be a decision criterion, like: "get(ENV, "BUILD_SOURCEBRANCH", nothing)"
    "TRAVIS_PULL_REQUEST" => ("SYSTEM_PULLREQUEST_PULLREQUESTID" in keys(ENV)) ? "true" : "false",
) do
    deploydocs(
        repo = "git@ssh.dev.azure.com:v3/Org/Repo/MyProject.jl",
        deploy_config = Documenter.Travis(),
        devbranch="master",
        branch="do-pages"
    )

```

Best
