diff --git a/Project.toml b/Project.toml index 09d65c7..dbc00f0 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "WhereTraits" uuid = "c9d4e05b-6318-49cb-9b56-e0e2b0ceadd8" authors = ["Sahm Stephan "] -version = "1.1.2" +version = "1.1.3" [deps] DataTypesBasic = "83eed652-29e8-11e9-12da-a7c29d64ffc9" @@ -13,6 +13,7 @@ MetaGraphs = "626554b9-1ddb-594c-aa3c-2596fe9399a5" Pipe = "b98c9c47-44ae-5843-9183-064241ee97a0" ProxyInterfaces = "9b3bf0c4-f070-48bc-ae01-f2584e9c23bc" Reexport = "189a3867-3050-52da-a836-e630ba90ab69" +REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" Setfield = "efcf1570-3423-57d1-acb7-fd33fddbac46" SimpleMatch = "a3ae8450-d22f-11e9-3fe0-77240e25996f" StructEquality = "6ec83bb0-ed9f-11e9-3b4c-2b04cb4e219c" @@ -26,7 +27,8 @@ MetaGraphs = "0.7" Pipe = "1" ProxyInterfaces = "1" Reexport = "1" +REPL = "1.11.0" Setfield = "0.7, 0.8, 1" SimpleMatch = "1" StructEquality = "2" -julia = "1.6" +julia = "1.11" diff --git a/src/Utils/DocsHelpers.jl b/src/Utils/DocsHelpers.jl index 365f78f..565ce99 100644 --- a/src/Utils/DocsHelpers.jl +++ b/src/Utils/DocsHelpers.jl @@ -1,6 +1,7 @@ module DocsHelpers export @doc_signature, isnodocumentationfound, mygetdoc using Markdown +import REPL """ checks whether doc string is the default "No documentation found." @@ -49,7 +50,7 @@ function mygetdoc(binding::Base.Docs.Binding, sig::Type = Union{}) nothing else # Get parsed docs and concatenate them. - md = Base.Docs.catdoc(map(Base.Docs.parsedoc, results)...) + md = Base.Docs.catdoc(map(REPL.parsedoc, results)...) # Save metadata in the generated markdown. if isa(md, Markdown.MD) md.meta[:results] = results