Skip to content

Instantly share code, notes, and snippets.

@rschwarz
Created March 3, 2019 07:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rschwarz/7e3d04e08c58d7010c2ab0e856515ad5 to your computer and use it in GitHub Desktop.
Save rschwarz/7e3d04e08c58d7010c2ab0e856515ad5 to your computer and use it in GitHub Desktop.
Failure when building docs for MathOptInterface.jl locally (Julia 1.1)
# rs@t440p:~/.julia/dev/MathOptInterface/docs [git:master o] [8:21:53]
$ git pull
Already up-to-date.
# rs@t440p:~/.julia/dev/MathOptInterface/docs [git:master o] [8:21:59]
$ julia
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.1.0 (2019-01-21)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
(v1.1) pkg> activate .
(docs) pkg> instantiate
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
Updating `~/.julia/dev/MathOptInterface/docs/Project.toml`
[e30172f5] + Documenter v0.21.5
Updating `~/.julia/dev/MathOptInterface/docs/Manifest.toml`
[ffbed154] + DocStringExtensions v0.6.0
[e30172f5] + Documenter v0.21.5
[2a0f44e3] + Base64
[ade2ca70] + Dates
[8ba89e20] + Distributed
[b77e0a4c] + InteractiveUtils
[76f85450] + LibGit2
[56ddb016] + Logging
[d6f4376e] + Markdown
[44cfe95a] + Pkg
[de0858da] + Printf
[3fa0cd96] + REPL
[9a3f8284] + Random
[ea8e919c] + SHA
[9e88b42a] + Serialization
[6462fe0b] + Sockets
[8dfed614] + Test
[cf7118a7] + UUIDs
[4ec0a83e] + Unicode
julia> include("make.jl")
[ Info: SetupBuildDirectory: setting up build directory.
[ Info: ExpandTemplates: expanding markdown templates.
┌ Warning: undefined binding 'MathOptInterface.RawStatusString' in `src/apireference.md`.
└ @ Documenter.Expanders ~/.julia/packages/Documenter/J3Jag/src/Expanders.jl:273
[ Info: CrossReferences: building cross-references.
┌ Warning: reference for 'Note' could not be found in `src/apireference.md`.
└ @ Documenter.CrossReferences ~/.julia/packages/Documenter/J3Jag/src/CrossReferences.jl:105
[ Info: CheckDocument: running document checks.
[ Info: Populate: populating indices.
ERROR: LoadError: `makedocs` encountered errors. Terminating build
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] runner(::Type{Documenter.Builder.RenderDocument}, ::Documenter.Documents.Document) at /home/rs/.julia/packages/Documenter/J3Jag/src/Builder.jl:204
[3] dispatch(::Type{Documenter.Builder.DocumentPipeline}, ::Documenter.Documents.Document) at /home/rs/.julia/packages/Documenter/J3Jag/src/Utilities/Selectors.jl:167
[4] (::getfield(Documenter, Symbol("##3#8")))() at /home/rs/.julia/packages/Documenter/J3Jag/src/Documenter.jl:267
[5] cd(::getfield(Documenter, Symbol("##3#8")), ::String) at ./file.jl:96
[6] #makedocs#1(::Bool, ::Documenter.Writers.HTMLWriter.HTML, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Base.Iterators.Pairs{Symbol,Any,Tuple{Symbol,Symbol,Symbol},NamedTuple{(:sitename, :strict, :pages),Tuple{String,Bool,Array{Pair{String,String},1}}}}, ::Function) at /home/rs/.julia/packages/Documenter/J3Jag/src/Documenter.jl:266
[7] (::getfield(Documenter, Symbol("#kw##makedocs")))(::NamedTuple{(:sitename, :format, :strict, :pages),Tuple{String,Documenter.Writers.HTMLWriter.HTML,Bool,Array{Pair{String,String},1}}}, ::typeof(makedocs)) at ./none:0
[8] top-level scope at none:0
[9] include at ./boot.jl:326 [inlined]
[10] include_relative(::Module, ::String) at ./loading.jl:1038
[11] include(::Module, ::String) at ./sysimg.jl:29
[12] include(::String) at ./client.jl:403
[13] top-level scope at none:0
in expression starting at /home/rs/.julia/dev/MathOptInterface/docs/make.jl:3
julia>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment