Following the guide here: Guide · Documenter.jl
I can not run successfully. Could someone help to confirm the setting problems or Git issue? How to fix this issue?
Also I ran below code, error popped out:
using Documenter, Example
makedocs(modules = [Example], sitename = “Example.jl”)
errors as below:
ERROR: ArgumentError: Unable to automatically determine remote for main repo.
repo
is not set, and makedocs is not in a Git repository.
Configurerepo
and/orremotes
appropriately, or setremotes = nothing
to disable remote source
links altogether (e.g. if not working in a Git repository).
repo: nothing
Stacktrace:
[1] interpret_repo_and_remotes(; root::String, repo::String, remotes::Dict{Any, Any})
@ Documenter C:\Users\zzzz.julia\packages\Documenter\1HwWe\src\documents.jl:658
[2] interpret_repo_and_remotes
@ C:\Users\zzzz.julia\packages\Documenter\1HwWe\src\documents.jl:499 [inlined]
[3] Documenter.Document(; root::String, source::String, build::String, workdir::Symbol, format::Documenter.HTMLWriter.HTML, clean::Bool, doctest::Bool, linkcheck::Bool, linkcheck_ignore::Vector{…}, linkcheck_timeout::Int64, checkdocs::Symbol, doctestfilters::Vector{…}, warnonly::Vector{…}, modules::Vector{…}, pages::Vector{…}, pagesonly::Bool, expandfirst::Vector{…}, plugins::Vector{…}, repo::String, remotes::Dict{…}, sitename::String, authors::String, version::String, highlightsig::Bool, draft::Bool, others::@Kwargs{})
@ Documenter C:\Users\zzzz.julia\packages\Documenter\1HwWe\src\documents.jl:429
[4] #makedocs#81
@ C:\Users\zzzz.julia\packages\Documenter\1HwWe\src\makedocs.jl:242 [inlined]
[5] top-level scope
@ c:\Users\zzzz.julia\packages\Example\aqsx3\docs\make.jl:3
Some type information was truncated. Useshow(err)
to see complete types.