This part
|
documenter_version = v"0.24.10" |
|
try |
|
manifest = joinpath(docsdir, "Manifest.toml") |
|
if isfile(manifest) |
|
pm = Pkg.TOML.parsefile(manifest) |
|
global documenter_version = VersionNumber(first(pm["Documenter"])["version"]) |
|
else |
|
@warn("No Mainfest.toml found at `$(manifest)`. Defaulting to $(documenter_version).") |
|
end |
|
catch err |
|
@error(exception = err) |
|
end |
generally leads to a KeyError("Documenter") because the new Manifest.toml format wraps all the packages in [deps.PackageName]. So we should probably do pm["deps"]["Documenter"] to extract the package (but probably also check manifest_format?).
This part
DocumentationGenerator.jl/src/rundocumenter.jl
Lines 26 to 37 in 80b8c21
generally leads to a
KeyError("Documenter")because the newManifest.tomlformat wraps all the packages in[deps.PackageName]. So we should probably dopm["deps"]["Documenter"]to extract the package (but probably also checkmanifest_format?).