|
1 |
| -using Documenter, Metalhead, Artifacts, LazyArtifacts, Images, DataAugmentation, Flux |
2 |
| - |
3 |
| -DocMeta.setdocmeta!(Metalhead, :DocTestSetup, :(using Metalhead); recursive = true) |
| 1 | +using Documenter, Metalhead |
4 | 2 |
|
5 | 3 | # copy readme into index.md
|
6 | 4 | open(joinpath(@__DIR__, "src", "index.md"), "w") do io
|
7 | 5 | write(io, read(joinpath(@__DIR__, "..", "README.md"), String))
|
8 | 6 | end
|
9 | 7 |
|
10 |
| -makedocs(; modules = [Metalhead, Artifacts, LazyArtifacts, Images, DataAugmentation, Flux], |
| 8 | +makedocs(; modules = [Metalhead], |
11 | 9 | sitename = "Metalhead.jl",
|
12 |
| - doctest = false, |
13 | 10 | pages = ["Home" => "index.md",
|
14 | 11 | "Tutorials" => [
|
15 | 12 | "tutorials/quickstart.md",
|
@@ -41,7 +38,8 @@ makedocs(; modules = [Metalhead, Artifacts, LazyArtifacts, Images, DataAugmentat
|
41 | 38 | "Model Utilities" => "api/utilities.md",
|
42 | 39 | ],
|
43 | 40 | ],
|
44 |
| - format = Documenter.HTML(; canonical = "https://fluxml.ai/Metalhead.jl/stable/", |
| 41 | + warnonly = [:example_block, :missing_docs, :cross_references], |
| 42 | + format = Documenter.HTML(canonical = "https://fluxml.ai/Metalhead.jl/stable/", |
45 | 43 | # analytics = "UA-36890222-9",
|
46 | 44 | assets = ["assets/flux.css"],
|
47 | 45 | prettyurls = get(ENV, "CI", nothing) == "true"))
|
|
0 commit comments