Hi,
First, let me say that Julia’s packaging (Pkg, PkgTemplates, etc…) is very impressive but also too difficult for dumb mortals like me to understand, unfortunately. I’ve got a package I’m trying to make conform a bit more to standard Julia things. I’ve already got docstrings everywhere. I’m trying to add Documenter to this. I thought I did it right, but now I’m getting error messages that I can’t fathom.
There is so much state to this thing (Documenter specifically, and all the configuration files for my project) that I have no idea what I should post here so that someone can help me. I’ve decided to push my broken thing to github and put the github link: GitHub - sloisel/MultiGridBarrier.jl: MultiGrid Barrier method
I’ll stick around for a little while and read replies, but I’m going to bed soon. I’m secretly hoping I did something really dumb and easy and someone will have posted the solution when I next check, but in case I only respond after I sleep, apologies.
Now for the error messages:
sebastienloisel@macbook-pro docs % julia --project make.jl
[ Info: SetupBuildDirectory: setting up build directory.
[ Info: Doctest: running doctests.
[ Info: ExpandTemplates: expanding markdown templates.
┌ Error: duplicate docs found for 'MultiGridBarrier.AMG' in src/index.md:12-14
│ ```@autodocs
│ Modules = [MultiGridBarrier]
│ ```
└ @ Documenter ~/.julia/packages/Documenter/CJeWX/src/utilities/utilities.jl:44
┌ Error: duplicate docs found for 'MultiGridBarrier.Barrier' in src/index.md:12-14
│ ```@autodocs
│ Modules = [MultiGridBarrier]
│ ```
└ @ Documenter ~/.julia/packages/Documenter/CJeWX/src/utilities/utilities.jl:44
┌ Error: duplicate docs found for 'MultiGridBarrier.amg' in src/index.md:12-14
│ ```@autodocs
│ Modules = [MultiGridBarrier]
│ ```
└ @ Documenter ~/.julia/packages/Documenter/CJeWX/src/utilities/utilities.jl:44
┌ Error: duplicate docs found for 'MultiGridBarrier.amgb' in src/index.md:12-14
│ ```@autodocs
│ Modules = [MultiGridBarrier]
│ ```
└ @ Documenter ~/.julia/packages/Documenter/CJeWX/src/utilities/utilities.jl:44
┌ Error: duplicate docs found for 'MultiGridBarrier.barrier' in src/index.md:12-14
│ ```@autodocs
│ Modules = [MultiGridBarrier]
│ ```
└ @ Documenter ~/.julia/packages/Documenter/CJeWX/src/utilities/utilities.jl:44
┌ Error: duplicate docs found for 'MultiGridBarrier.damped_newton' in src/index.md:12-14
│ ```@autodocs
│ Modules = [MultiGridBarrier]
│ ```
└ @ Documenter ~/.julia/packages/Documenter/CJeWX/src/utilities/utilities.jl:44
┌ Error: duplicate docs found for 'MultiGridBarrier.fem1d' in src/index.md:12-14
│ ```@autodocs
│ Modules = [MultiGridBarrier]
│ ```
└ @ Documenter ~/.julia/packages/Documenter/CJeWX/src/utilities/utilities.jl:44
┌ Error: duplicate docs found for 'MultiGridBarrier.fem2d' in src/index.md:12-14
│ ```@autodocs
│ Modules = [MultiGridBarrier]
│ ```
└ @ Documenter ~/.julia/packages/Documenter/CJeWX/src/utilities/utilities.jl:44
┌ Error: duplicate docs found for 'MultiGridBarrier.fem_interp1d' in src/index.md:12-14
│ ```@autodocs
│ Modules = [MultiGridBarrier]
│ ```
└ @ Documenter ~/.julia/packages/Documenter/CJeWX/src/utilities/utilities.jl:44
┌ Error: duplicate docs found for 'MultiGridBarrier.fem_interp1d' in src/index.md:12-14
│ ```@autodocs
│ Modules = [MultiGridBarrier]
│ ```
└ @ Documenter ~/.julia/packages/Documenter/CJeWX/src/utilities/utilities.jl:44
┌ Error: duplicate docs found for 'MultiGridBarrier.fem_plot_2d' in src/index.md:12-14
│ ```@autodocs
│ Modules = [MultiGridBarrier]
│ ```
└ @ Documenter ~/.julia/packages/Documenter/CJeWX/src/utilities/utilities.jl:44
┌ Error: duplicate docs found for 'MultiGridBarrier.fem_solve_1d' in src/index.md:12-14
│ ```@autodocs
│ Modules = [MultiGridBarrier]
│ ```
└ @ Documenter ~/.julia/packages/Documenter/CJeWX/src/utilities/utilities.jl:44
┌ Error: duplicate docs found for 'MultiGridBarrier.fem_solve_2d' in src/index.md:12-14
│ ```@autodocs
│ Modules = [MultiGridBarrier]
│ ```
└ @ Documenter ~/.julia/packages/Documenter/CJeWX/src/utilities/utilities.jl:44
┌ Error: duplicate docs found for 'MultiGridBarrier.interp1d' in src/index.md:12-14
│ ```@autodocs
│ Modules = [MultiGridBarrier]
│ ```
└ @ Documenter ~/.julia/packages/Documenter/CJeWX/src/utilities/utilities.jl:44
┌ Error: duplicate docs found for 'MultiGridBarrier.interp2d' in src/index.md:12-14
│ ```@autodocs
│ Modules = [MultiGridBarrier]
│ ```
└ @ Documenter ~/.julia/packages/Documenter/CJeWX/src/utilities/utilities.jl:44
┌ Error: duplicate docs found for 'MultiGridBarrier.plot1d' in src/index.md:12-14
│ ```@autodocs
│ Modules = [MultiGridBarrier]
│ ```
└ @ Documenter ~/.julia/packages/Documenter/CJeWX/src/utilities/utilities.jl:44
┌ Error: duplicate docs found for 'MultiGridBarrier.plot2d' in src/index.md:12-14
│ ```@autodocs
│ Modules = [MultiGridBarrier]
│ ```
└ @ Documenter ~/.julia/packages/Documenter/CJeWX/src/utilities/utilities.jl:44
┌ Error: duplicate docs found for 'MultiGridBarrier.spectral_solve_1d' in src/index.md:12-14
│ ```@autodocs
│ Modules = [MultiGridBarrier]
│ ```
└ @ Documenter ~/.julia/packages/Documenter/CJeWX/src/utilities/utilities.jl:44
┌ Error: duplicate docs found for 'MultiGridBarrier.spectral_solve_2d' in src/index.md:12-14
│ ```@autodocs
│ Modules = [MultiGridBarrier]
│ ```
└ @ Documenter ~/.julia/packages/Documenter/CJeWX/src/utilities/utilities.jl:44
[ Info: CrossReferences: building cross-references.
[ Info: CheckDocument: running document checks.
[ Info: Populate: populating indices.
ERROR: LoadError: `makedocs` encountered an error [:autodocs_block] -- terminating build before rendering.
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] runner(::Type{Documenter.Builder.RenderDocument}, doc::Documenter.Document)
@ Documenter ~/.julia/packages/Documenter/CJeWX/src/builder_pipeline.jl:253
[3] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document)
@ Documenter.Selectors ~/.julia/packages/Documenter/CJeWX/src/utilities/Selectors.jl:170
[4] #86
@ ~/.julia/packages/Documenter/CJeWX/src/makedocs.jl:248 [inlined]
[5] withenv(::Documenter.var"#86#88"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}})
@ Base ./env.jl:257
[6] #85
@ ~/.julia/packages/Documenter/CJeWX/src/makedocs.jl:247 [inlined]
[7] cd(f::Documenter.var"#85#87"{Documenter.Document}, dir::String)
@ Base.Filesystem ./file.jl:112
[8] #makedocs#84
@ ~/.julia/packages/Documenter/CJeWX/src/makedocs.jl:247 [inlined]
[9] top-level scope
@ ~/Dropbox/2023/Spectral Barrier Method/julia/MultiGridBarrier.jl/docs/make.jl:6
in expression starting at /Users/sebastienloisel/Dropbox/2023/Spectral Barrier Method/julia/MultiGridBarrier.jl/docs/make.jl:6
sebastienloisel@macbook-pro docs %