Skip to content

Out-of-tree docs build fails due to missing remote  #53039

Open

Description

I assume this is due to me doing an out-of-tree build

make O=$HOME/builds/julia configure
cd $HOME/builds/julia
make -j
make docs
┌ Debug: Rendering stdlib/Downloads.md [68]
└ @ Documenter.HTMLWriter ~/src/julia/doc/deps/packages/Documenter/1HwWe/src/html/HTMLWriter.jl:750
ERROR: LoadError: MissingRemoteError: unable to generate source url
  path: /home/vchuravy/src/julia/doc/src/stdlib/Downloads.md
Documenter was unable to automatically determine the remote repository for this file.
This can happen if you are including docstrings or pages from secondary packages. Those packages
must be cloned as Git repositories (i.e. Pkg.develop instead Pkg.add), or the `remotes` keyword
must be configured appropriately. See the 'Remote repository links' section in the manual for
more information.
Stacktrace:
  [1] edit_url(doc::Documenter.Document, path::String; rev::String)
    @ Documenter ~/src/julia/doc/deps/packages/Documenter/1HwWe/src/documents.jl:866
  [2] edit_link(f::Documenter.HTMLWriter.var"#51#53"{Documenter.DOM.Node, Documenter.DOM.Tag, Documenter.DOM.Tag}, ctx::Documenter.HTMLWriter.HTMLContext, navnode::Documenter.NavNode)
    @ Documenter.HTMLWriter ~/src/julia/doc/deps/packages/Documenter/1HwWe/src/html/HTMLWriter.jl:1338
  [3] render_navbar(ctx::Documenter.HTMLWriter.HTMLContext, navnode::Documenter.NavNode, edit_page_link::Bool)
    @ Documenter.HTMLWriter ~/src/julia/doc/deps/packages/Documenter/1HwWe/src/html/HTMLWriter.jl:1269
  [4] render_page(ctx::Documenter.HTMLWriter.HTMLContext, navnode::Documenter.NavNode)
    @ Documenter.HTMLWriter ~/src/julia/doc/deps/packages/Documenter/1HwWe/src/html/HTMLWriter.jl:841
  [5] (::Documenter.HTMLWriter.var"#18#26"{Documenter.Document, Documenter.HTMLWriter.HTMLContext})(page::String)
    @ Documenter.HTMLWriter ~/src/julia/doc/deps/packages/Documenter/1HwWe/src/html/HTMLWriter.jl:751
  [6] iterate
    @ ./generator.jl:48 [inlined]
  [7] collect_to!
    @ ./array.jl:834 [inlined]
  [8] collect_to_with_first!
    @ ./array.jl:812 [inlined]
  [9] _collect(c::Vector{String}, itr::Base.Generator{Vector{String}, Documenter.HTMLWriter.var"#18#26"{Documenter.Document, Documenter.HTMLWriter.HTMLContext}}, ::Base.EltypeUnknown, isz::Base.HasShape{1})
    @ Base ./array.jl:806
 [10] collect_similar(cont::Vector{String}, itr::Base.Generator{Vector{String}, Documenter.HTMLWriter.var"#18#26"{Documenter.Document, Documenter.HTMLWriter.HTMLContext}})
    @ Base ./array.jl:705
 [11] map
    @ ./abstractarray.jl:3295 [inlined]
 [12] render(doc::Documenter.Document, settings::Documenter.HTMLWriter.HTML)
    @ Documenter.HTMLWriter ~/src/julia/doc/deps/packages/Documenter/1HwWe/src/html/HTMLWriter.jl:747
 [13] runner(::Type{Documenter.HTMLFormat}, fmt::Documenter.HTMLWriter.HTML, doc::Documenter.Document)
    @ Documenter ~/src/julia/doc/deps/packages/Documenter/1HwWe/src/writers.jl:23
 [14] dispatch(::Type{Documenter.FormatSelector}, ::Documenter.HTMLWriter.HTML, ::Vararg{Any})
    @ Documenter.Selectors ~/src/julia/doc/deps/packages/Documenter/1HwWe/src/utilities/Selectors.jl:170
 [15] render(doc::Documenter.Document)
    @ Documenter ~/src/julia/doc/deps/packages/Documenter/1HwWe/src/writers.jl:45
 [16] runner(::Type{Documenter.Builder.RenderDocument}, doc::Documenter.Document)
    @ Documenter ~/src/julia/doc/deps/packages/Documenter/1HwWe/src/builder_pipeline.jl:258
 [17] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document)
    @ Documenter.Selectors ~/src/julia/doc/deps/packages/Documenter/1HwWe/src/utilities/Selectors.jl:170
 [18] #83
    @ ~/src/julia/doc/deps/packages/Documenter/1HwWe/src/makedocs.jl:248 [inlined]
 [19] withenv(::Documenter.var"#83#85"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}})
    @ Base ./env.jl:257
 [20] #82
    @ ~/src/julia/doc/deps/packages/Documenter/1HwWe/src/makedocs.jl:247 [inlined]
 [21] cd(f::Documenter.var"#82#84"{Documenter.Document}, dir::String)
    @ Base.Filesystem ./file.jl:112
 [22] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{build::String, modules::Vector{Module}, clean::Bool, doctest::Bool, linkcheck::Bool, linkcheck_ignore::Vector{String}, checkdocs::Symbol, sitename::String, authors::String, pages::Vector{Any}, remotes::Dict{String, Tuple{Documenter.Remotes.GitHub, String}}})
    @ Documenter ~/src/julia/doc/deps/packages/Documenter/1HwWe/src/makedocs.jl:247
 [23] top-level scope
    @ ~/src/julia/doc/make.jl:371
in expression starting at /home/vchuravy/src/julia/doc/make.jl:371
make[1]: *** [/home/vchuravy/src/julia/doc/Makefile:47: html] Error 1
make: *** [/home/vchuravy/src/julia/Makefile:120: docs] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    docsystemThe documentation building system

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions