用`Documenter.jl`编译说明文档,导入库的数值类型未被识别

我正在写一个包。在写某个函数方法时,希望声明它是插值函数——类型是AbstractExtrapolation

function f(x::Float64, interpfun::AbstractExtrapolation)
    interpfun(x)
end

所以我在包的开头using Interpolations,按理说,AbstractExtrapolation这个类型就应该导入进来了。比如下面的终端中,using之后,这个数值类型也被导入了进来。
image

但是,我用Documenter.jl编译时,却报错:

PS F:\Documents\JuliaProgramme\MyModules\DoubleRFs\docs> julia .\make.jl
[ Info: SetupBuildDirectory: setting up build directory.
[ Info: Doctest: running doctests.
[ Info: ExpandTemplates: expanding markdown templates.
ERROR: LoadError: UndefVarError: AbstractExtrapolation not defined
Stacktrace:
  [1] top-level scope
    @ none:1
  [2] eval
    @ .\boot.jl:373 [inlined]
  [3] runner(#unused#::Type{Documenter.Expanders.DocsBlocks}, x::Markdown.Code, page::Documenter.Documents.Page, doc::Documenter.Documents.Document)
    @ Documenter.Expanders C:\Users\Emma\.julia\packages\Documenter\bFHi4\src\Expanders.jl:307
  [4] dispatch(::Type{Documenter.Expanders.ExpanderPipeline}, ::Markdown.Code, ::Vararg{Any})
    @ Documenter.Utilities.Selectors C:\Users\Emma\.julia\packages\Documenter\bFHi4\src\Utilities\Selectors.jl:170
  [5] expand(doc::Documenter.Documents.Document)
    @ Documenter.Expanders C:\Users\Emma\.julia\packages\Documenter\bFHi4\src\Expanders.jl:42
  [6] runner(#unused#::Type{Documenter.Builder.ExpandTemplates}, doc::Documenter.Documents.Document)
    @ Documenter.Builder C:\Users\Emma\.julia\packages\Documenter\bFHi4\src\Builder.jl:227
  [7] dispatch(#unused#::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Documents.Document)
    @ Documenter.Utilities.Selectors C:\Users\Emma\.julia\packages\Documenter\bFHi4\src\Utilities\Selectors.jl:170
  [8] #2
    @ C:\Users\Emma\.julia\packages\Documenter\bFHi4\src\Documenter.jl:249 [inlined]
  [9] cd(f::Documenter.var"#2#3"{Documenter.Documents.Document}, dir::String)
    @ Base.Filesystem .\file.jl:99
 [10] #makedocs#1
    @ C:\Users\Emma\.julia\packages\Documenter\bFHi4\src\Documenter.jl:248 [inlined]
 [11] top-level scope
    @ F:\Documents\JuliaProgramme\MyModules\DoubleRFs\docs\make.jl:5
in expression starting at F:\Documents\JuliaProgramme\MyModules\DoubleRFs\docs\make.jl:5

能展示一下make.jl里面的内容吗?你有using Interpolations这一行在脚本里吗?

:joy:没有。

push!(LOAD_PATH,"../src/")

using DoubleRFs, Documenter

makedocs(sitename="DoubleRFs")

我去谷歌了下,人家好像也是这么解决的。
import - Documenter.jl UndefVarError - Stack Overflow
正在尝试中。