Skip to content

Commit

Permalink
Fixing documentation links (#832)
Browse files Browse the repository at this point in the history
  • Loading branch information
epolack authored Mar 15, 2023
1 parent fc74627 commit 8c1d518
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ ROOTPATH = joinpath(@__DIR__, "..")
CONTINUOUS_INTEGRATION = get(ENV, "CI", nothing) == "true"
DFTKREV = LibGit2.head(ROOTPATH)
DFTKBRANCH = try LibGit2.branch(LibGit2.GitRepo(ROOTPATH)) catch end
DFTKREPO = "github.com/JuliaMolSim/DFTK.jl.git"
DFTKGH = "github.com/JuliaMolSim/DFTK.jl"
DFTKREPO = DFTKGH * ".git"

# Setup julia dependencies for docs generation if not yet done
Pkg.activate(@__DIR__)
Expand Down Expand Up @@ -179,7 +180,7 @@ end
# Generate the docs in BUILDPATH
makedocs(;
modules=[DFTK],
repo="https://" * DFTKREPO * "/blob/{commit}{path}#{line}",
repo="https://" * DFTKGH * "/blob/{commit}{path}#{line}",
format=Documenter.HTML(
# Use clean URLs, unless built as a "local" build
prettyurls = CONTINUOUS_INTEGRATION,
Expand Down

0 comments on commit 8c1d518

Please sign in to comment.