Skip to content

Commit 1916295

Browse files
authored
Build docs on 1.6 and update doctests (#28)
1 parent 9cc926b commit 1916295

File tree

2 files changed

+25
-25
lines changed

2 files changed

+25
-25
lines changed

.github/workflows/Documenter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- uses: julia-actions/setup-julia@v1
1414
with:
15-
version: nightly
15+
version: '1.6'
1616
show-versioninfo: true
1717
- uses: actions/checkout@v2
1818
- uses: julia-actions/julia-buildpkg@latest

docs/src/index.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,12 @@ Let's see all the compiled instances of `Base.setdiff` and their immediate calle
9898
```jldoctest; setup=(using MethodAnalysis)
9999
julia> direct_backedges(setdiff)
100100
6-element Vector{Any}:
101-
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})
102-
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}})
103-
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}})
104-
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}})
105-
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}})
106-
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})
101+
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})
102+
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}})
103+
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}})
104+
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}})
105+
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}})
106+
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})
107107
```
108108

109109
### Printing backedges as a tree
@@ -116,36 +116,36 @@ MethodInstance for findfirst(::BitVector)
116116
117117
julia> MethodAnalysis.print_tree(mi)
118118
MethodInstance for findfirst(::BitVector)
119-
├─ MethodInstance for Pkg.Resolve.prune_graph!(::Graph)
120-
│ └─ MethodInstance for Pkg.Resolve.var"#simplify_graph!#111"(::Bool, ::typeof(simplify_graph!), ::Graph, ::Set{Int64})
121-
│ └─ MethodInstance for Pkg.Resolve.simplify_graph!(::Graph, ::Set{Int64})
122-
│ └─ MethodInstance for Pkg.Resolve.simplify_graph!(::Graph)
123-
│ ├─ MethodInstance for Pkg.Resolve.trigger_failure!(::Graph, ::Vector{Int64}, ::Tuple{Int64, Int64})
119+
├─ MethodInstance for prune_graph!(::Graph)
120+
│ └─ MethodInstance for var"#simplify_graph!#111"(::Bool, ::typeof(simplify_graph!), ::Graph, ::Set{Int64})
121+
│ └─ MethodInstance for simplify_graph!(::Graph, ::Set{Int64})
122+
│ └─ MethodInstance for simplify_graph!(::Graph)
123+
│ ├─ MethodInstance for trigger_failure!(::Graph, ::Vector{Int64}, ::Tuple{Int64, Int64})
124124
│ │ ⋮
125125
│ │
126-
│ └─ MethodInstance for Pkg.Operations.resolve_versions!(::Context, ::Vector{PackageSpec})
126+
│ └─ MethodInstance for resolve_versions!(::Context, ::Vector{PackageSpec})
127127
│ ⋮
128128
129-
└─ MethodInstance for Pkg.Resolve.update_solution!(::SolutionTrace, ::Graph)
130-
└─ MethodInstance for Pkg.Resolve.converge!(::Graph, ::Messages, ::SolutionTrace, ::NodePerm, ::MaxSumParams)
131-
├─ MethodInstance for Pkg.Resolve.converge!(::Graph, ::Messages, ::SolutionTrace, ::NodePerm, ::MaxSumParams)
132-
│ ├─ MethodInstance for Pkg.Resolve.converge!(::Graph, ::Messages, ::SolutionTrace, ::NodePerm, ::MaxSumParams)
133-
│ │ ├─ MethodInstance for Pkg.Resolve.converge!(::Graph, ::Messages, ::SolutionTrace, ::NodePerm, ::MaxSumParams)
129+
└─ MethodInstance for update_solution!(::SolutionTrace, ::Graph)
130+
└─ MethodInstance for converge!(::Graph, ::Messages, ::SolutionTrace, ::NodePerm, ::MaxSumParams)
131+
├─ MethodInstance for converge!(::Graph, ::Messages, ::SolutionTrace, ::NodePerm, ::MaxSumParams)
132+
│ ├─ MethodInstance for converge!(::Graph, ::Messages, ::SolutionTrace, ::NodePerm, ::MaxSumParams)
133+
│ │ ├─ MethodInstance for converge!(::Graph, ::Messages, ::SolutionTrace, ::NodePerm, ::MaxSumParams)
134134
│ │ │ ⋮
135135
│ │ │
136-
│ │ └─ MethodInstance for Pkg.Resolve.maxsum(::Graph)
136+
│ │ └─ MethodInstance for maxsum(::Graph)
137137
│ │ ⋮
138138
│ │
139-
│ └─ MethodInstance for Pkg.Resolve.maxsum(::Graph)
140-
│ └─ MethodInstance for Pkg.Resolve.resolve(::Graph)
139+
│ └─ MethodInstance for maxsum(::Graph)
140+
│ └─ MethodInstance for resolve(::Graph)
141141
│ ⋮
142142
143-
└─ MethodInstance for Pkg.Resolve.maxsum(::Graph)
144-
└─ MethodInstance for Pkg.Resolve.resolve(::Graph)
145-
├─ MethodInstance for Pkg.Resolve.trigger_failure!(::Graph, ::Vector{Int64}, ::Tuple{Int64, Int64})
143+
└─ MethodInstance for maxsum(::Graph)
144+
└─ MethodInstance for resolve(::Graph)
145+
├─ MethodInstance for trigger_failure!(::Graph, ::Vector{Int64}, ::Tuple{Int64, Int64})
146146
│ ⋮
147147
148-
└─ MethodInstance for Pkg.Operations.resolve_versions!(::Context, ::Vector{PackageSpec})
148+
└─ MethodInstance for resolve_versions!(::Context, ::Vector{PackageSpec})
149149
150150
```
151151

0 commit comments

Comments
 (0)