Skip to content

Commit ba6c037

Browse files
committed
make docsbuild strict
1 parent b795dd6 commit ba6c037

File tree

3 files changed

+37
-3
lines changed

3 files changed

+37
-3
lines changed

docs/localmake.jl

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#! julia --startup-file=no
2+
3+
using Pkg
4+
Pkg.activate(@__DIR__)
5+
Pkg.develop(PackageSpec(path=dirname(@__DIR__))) # adds the package this script is called from
6+
Pkg.update()
7+
Pkg.instantiate()
8+
9+
using LiveServer
10+
@async serve(dir=joinpath(@__DIR__, "build"))
11+
12+
run = true
13+
while run
14+
try
15+
include("make.jl")
16+
catch e
17+
@info "make.jl error" e
18+
end
19+
20+
println("Run again? Enter! Exit with 'q'.")
21+
if readline() == "q"
22+
global run = false
23+
end
24+
end

docs/make.jl

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,19 @@ makedocs(; modules=[NetworkLayout],
1212
format=Documenter.HTML(; prettyurls=get(ENV, "CI", "false") == "true",
1313
canonical="https://juliagraphs.org/NetworkLayout.jl", assets=String[]),
1414
pages=["Home" => "index.md",
15-
"Interface" => "interface.md"])
15+
"Interface" => "interface.md"],
16+
strict=[:autodocs_block,
17+
:cross_references,
18+
:docs_block,
19+
:doctest,
20+
:eval_block,
21+
:example_block,
22+
:footnote,
23+
:linkcheck,
24+
:meta_block,
25+
#:missing_docs,
26+
:parse_error,
27+
:setup_block])
1628

1729
# if gh_pages branch gets to big, check out
1830
# https://juliadocs.github.io/Documenter.jl/stable/man/hosting/#gh-pages-Branch

docs/servedocs

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)