From aba087572273c9e583d268ddad0c19aec8459a0c Mon Sep 17 00:00:00 2001 From: Tim Holy Date: Wed, 2 Feb 2022 05:54:00 -0600 Subject: [PATCH] Build docs on 1.6 and update doctests --- .github/workflows/Documenter.yml | 2 +- docs/src/index.md | 48 ++++++++++++++++---------------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/Documenter.yml b/.github/workflows/Documenter.yml index 5d042d6..393bbff 100644 --- a/.github/workflows/Documenter.yml +++ b/.github/workflows/Documenter.yml @@ -12,7 +12,7 @@ jobs: steps: - uses: julia-actions/setup-julia@v1 with: - version: nightly + version: '1.6' show-versioninfo: true - uses: actions/checkout@v2 - uses: julia-actions/julia-buildpkg@latest diff --git a/docs/src/index.md b/docs/src/index.md index 6a27473..d5b8cf7 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -98,12 +98,12 @@ Let's see all the compiled instances of `Base.setdiff` and their immediate calle ```jldoctest; setup=(using MethodAnalysis) julia> direct_backedges(setdiff) 6-element Vector{Any}: - MethodInstance for setdiff(::Base.KeySet{Any, Dict{Any, Any}}, ::Base.KeySet{Any, Dict{Any, Any}}) => MethodInstance for REPL.LineEdit.keymap_merge(::Dict{Char, Any}, ::Dict{Any, Any}) - MethodInstance for setdiff(::Base.KeySet{Any, Dict{Any, Any}}, ::Base.KeySet{Any, Dict{Any, Any}}) => MethodInstance for REPL.LineEdit.keymap_merge(::Dict{Char, Any}, ::Union{Dict{Any, Any}, Dict{Char, Any}}) - MethodInstance for setdiff(::Base.KeySet{Char, Dict{Char, Any}}, ::Base.KeySet{Any, Dict{Any, Any}}) => MethodInstance for REPL.LineEdit.keymap_merge(::Dict{Char, Any}, ::Union{Dict{Any, Any}, Dict{Char, Any}}) - MethodInstance for setdiff(::Base.KeySet{Any, Dict{Any, Any}}, ::Base.KeySet{Char, Dict{Char, Any}}) => MethodInstance for REPL.LineEdit.keymap_merge(::Dict{Char, Any}, ::Union{Dict{Any, Any}, Dict{Char, Any}}) - MethodInstance for setdiff(::Base.KeySet{Char, Dict{Char, Any}}, ::Base.KeySet{Char, Dict{Char, Any}}) => MethodInstance for REPL.LineEdit.keymap_merge(::Dict{Char, Any}, ::Union{Dict{Any, Any}, Dict{Char, Any}}) - MethodInstance for setdiff(::Vector{Base.UUID}, ::Vector{Base.UUID}) => MethodInstance for Pkg.Operations.deps_graph(::Pkg.Types.Context, ::Dict{Base.UUID, String}, ::Dict{Base.UUID, Pkg.Types.VersionSpec}, ::Dict{Base.UUID, Pkg.Resolve.Fixed}) + MethodInstance for setdiff(::Base.KeySet{Any, Dict{Any, Any}}, ::Base.KeySet{Any, Dict{Any, Any}}) => MethodInstance for keymap_merge(::Dict{Char, Any}, ::Dict{Any, Any}) + MethodInstance for setdiff(::Base.KeySet{Any, Dict{Any, Any}}, ::Base.KeySet{Any, Dict{Any, Any}}) => MethodInstance for keymap_merge(::Dict{Char, Any}, ::Union{Dict{Any, Any}, Dict{Char, Any}}) + MethodInstance for setdiff(::Base.KeySet{Char, Dict{Char, Any}}, ::Base.KeySet{Any, Dict{Any, Any}}) => MethodInstance for keymap_merge(::Dict{Char, Any}, ::Union{Dict{Any, Any}, Dict{Char, Any}}) + MethodInstance for setdiff(::Base.KeySet{Any, Dict{Any, Any}}, ::Base.KeySet{Char, Dict{Char, Any}}) => MethodInstance for keymap_merge(::Dict{Char, Any}, ::Union{Dict{Any, Any}, Dict{Char, Any}}) + MethodInstance for setdiff(::Base.KeySet{Char, Dict{Char, Any}}, ::Base.KeySet{Char, Dict{Char, Any}}) => MethodInstance for keymap_merge(::Dict{Char, Any}, ::Union{Dict{Any, Any}, Dict{Char, Any}}) + MethodInstance for setdiff(::Vector{Base.UUID}, ::Vector{Base.UUID}) => MethodInstance for deps_graph(::Pkg.Types.Context, ::Dict{Base.UUID, String}, ::Dict{Base.UUID, Pkg.Types.VersionSpec}, ::Dict{Base.UUID, Pkg.Resolve.Fixed}) ``` ### Printing backedges as a tree @@ -116,36 +116,36 @@ MethodInstance for findfirst(::BitVector) julia> MethodAnalysis.print_tree(mi) MethodInstance for findfirst(::BitVector) -├─ MethodInstance for Pkg.Resolve.prune_graph!(::Graph) -│ └─ MethodInstance for Pkg.Resolve.var"#simplify_graph!#111"(::Bool, ::typeof(simplify_graph!), ::Graph, ::Set{Int64}) -│ └─ MethodInstance for Pkg.Resolve.simplify_graph!(::Graph, ::Set{Int64}) -│ └─ MethodInstance for Pkg.Resolve.simplify_graph!(::Graph) -│ ├─ MethodInstance for Pkg.Resolve.trigger_failure!(::Graph, ::Vector{Int64}, ::Tuple{Int64, Int64}) +├─ MethodInstance for prune_graph!(::Graph) +│ └─ MethodInstance for var"#simplify_graph!#111"(::Bool, ::typeof(simplify_graph!), ::Graph, ::Set{Int64}) +│ └─ MethodInstance for simplify_graph!(::Graph, ::Set{Int64}) +│ └─ MethodInstance for simplify_graph!(::Graph) +│ ├─ MethodInstance for trigger_failure!(::Graph, ::Vector{Int64}, ::Tuple{Int64, Int64}) │ │ ⋮ │ │ -│ └─ MethodInstance for Pkg.Operations.resolve_versions!(::Context, ::Vector{PackageSpec}) +│ └─ MethodInstance for resolve_versions!(::Context, ::Vector{PackageSpec}) │ ⋮ │ -└─ MethodInstance for Pkg.Resolve.update_solution!(::SolutionTrace, ::Graph) - └─ MethodInstance for Pkg.Resolve.converge!(::Graph, ::Messages, ::SolutionTrace, ::NodePerm, ::MaxSumParams) - ├─ MethodInstance for Pkg.Resolve.converge!(::Graph, ::Messages, ::SolutionTrace, ::NodePerm, ::MaxSumParams) - │ ├─ MethodInstance for Pkg.Resolve.converge!(::Graph, ::Messages, ::SolutionTrace, ::NodePerm, ::MaxSumParams) - │ │ ├─ MethodInstance for Pkg.Resolve.converge!(::Graph, ::Messages, ::SolutionTrace, ::NodePerm, ::MaxSumParams) +└─ MethodInstance for update_solution!(::SolutionTrace, ::Graph) + └─ MethodInstance for converge!(::Graph, ::Messages, ::SolutionTrace, ::NodePerm, ::MaxSumParams) + ├─ MethodInstance for converge!(::Graph, ::Messages, ::SolutionTrace, ::NodePerm, ::MaxSumParams) + │ ├─ MethodInstance for converge!(::Graph, ::Messages, ::SolutionTrace, ::NodePerm, ::MaxSumParams) + │ │ ├─ MethodInstance for converge!(::Graph, ::Messages, ::SolutionTrace, ::NodePerm, ::MaxSumParams) │ │ │ ⋮ │ │ │ - │ │ └─ MethodInstance for Pkg.Resolve.maxsum(::Graph) + │ │ └─ MethodInstance for maxsum(::Graph) │ │ ⋮ │ │ - │ └─ MethodInstance for Pkg.Resolve.maxsum(::Graph) - │ └─ MethodInstance for Pkg.Resolve.resolve(::Graph) + │ └─ MethodInstance for maxsum(::Graph) + │ └─ MethodInstance for resolve(::Graph) │ ⋮ │ - └─ MethodInstance for Pkg.Resolve.maxsum(::Graph) - └─ MethodInstance for Pkg.Resolve.resolve(::Graph) - ├─ MethodInstance for Pkg.Resolve.trigger_failure!(::Graph, ::Vector{Int64}, ::Tuple{Int64, Int64}) + └─ MethodInstance for maxsum(::Graph) + └─ MethodInstance for resolve(::Graph) + ├─ MethodInstance for trigger_failure!(::Graph, ::Vector{Int64}, ::Tuple{Int64, Int64}) │ ⋮ │ - └─ MethodInstance for Pkg.Operations.resolve_versions!(::Context, ::Vector{PackageSpec}) + └─ MethodInstance for resolve_versions!(::Context, ::Vector{PackageSpec}) ⋮ ```