Skip to content

Commit

Permalink
Merge #936
Browse files Browse the repository at this point in the history
936: Fix docs deployment r=DhairyaLGandhi a=darsnack

I'm not sure when/how this affected things, but the current `docs/make.jl` activates the v1.6 environment instead of the `docs/Project.toml` environment. This means that Documenter is not available to the CI.

I minimized the changes to just what's necessary to get things working, but there's generally a bunch of weird path related stuff happening with the environments in this package. I'd like to clean it up @DhairyaLGandhi @CarloLucibello (not sure if it is necessary for Zygote.jl for some reason, but I don't see why it should be).

Co-authored-by: Kyle Daruwalla <[email protected]>
  • Loading branch information
bors[bot] and darsnack authored Mar 30, 2021
2 parents 1b0af37 + ddfb5ad commit 13b6cd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Pkg;
Pkg.activate(joinpath(@__DIR__, "..")); Pkg.instantiate()
Pkg.activate(); Pkg.instantiate()
Pkg.activate(@__DIR__); Pkg.instantiate()

pushfirst!(LOAD_PATH, joinpath(@__DIR__, ".."))

Expand Down

0 comments on commit 13b6cd2

Please sign in to comment.