# Building an Empty Document

**URL:** <https://discourse.julialang.org/t/building-an-empty-document/110858>\
**Category:** General Usage\
**Tags:** question\
**Created:** [February 27, 2024, 5:17pm UTC](https://discourse.julialang.org/t/building-an-empty-document/110858 "2024-02-27T17:17:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Heng\_Zhang](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heng_zhang/32/207300_2.png) [@Heng\_Zhang](https://discourse.julialang.org/u/Heng_Zhang)\
**Post date:** [February 27, 2024, 5:17pm UTC](https://discourse.julialang.org/t/building-an-empty-document/110858/1 "2024-02-27T17:17:24Z")

</div>

Following the guide here: [Guide · Documenter.jl](https://documenter.juliadocs.org/stable/man/guide/)  
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.  
> Configure `repo` and/or `remotes` appropriately, or set `remotes = 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. Use `show(err)` to see complete types.

---

<div class="post-metadata">

**Author:** ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Post date:** [February 27, 2024, 5:24pm UTC](https://discourse.julialang.org/t/building-an-empty-document/110858/2 "2024-02-27T17:24:38Z")

</div>

I have this short and informal step by step, that usually works: [Publish Docs · JuliaNotes.jl](https://m3g.github.io/JuliaNotes.jl/stable/publish_docs/)

---

<div class="post-metadata">

**Author:** ![Heng\_Zhang](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heng_zhang/32/207300_2.png) [@Heng\_Zhang](https://discourse.julialang.org/u/Heng_Zhang)\
**Post date:** [February 27, 2024, 5:33pm UTC](https://discourse.julialang.org/t/building-an-empty-document/110858/3 "2024-02-27T17:33:07Z")

</div>

Thank you, I will try, and feedback the result here.

---

<div class="post-metadata">

**Author:** ![Domenico\_Lahaye](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/domenico_lahaye/32/203728_2.png) [@Domenico\_Lahaye](https://discourse.julialang.org/u/Domenico_Lahaye)\
**Post date:** [October 21, 2024, 1:49pm UTC](https://discourse.julialang.org/t/building-an-empty-document/110858/4 "2024-10-21T13:49:53Z")

</div>

Maybe one needs to replace in the file make.jl

```julia
makedocs(sitename="My Documentation")

```

by

```julia
makedocs(sitename="My Documentation", remotes=nothing)

```

?
