Skip to content

Commit

Permalink
Switch docs execution from Literate to Documenter
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazersmoke committed Jul 19, 2023
1 parent 3c24157 commit 94cedc2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ example_destination = joinpath(@__DIR__, "src", "examples")
example_doc_paths = ["examples/$name.md" for name in example_names]

for source in example_sources
Literate.markdown(source, example_destination; execute, documenter=true)
Literate.markdown(source, example_destination; documenter=true)
end

makedocs(
Expand All @@ -27,7 +27,8 @@ makedocs(
"Version History" => "versions.md",
],
format = Documenter.HTML(
prettyurls = get(ENV, "CI", nothing) == "true"
prettyurls = get(ENV, "CI", nothing) == "true",
ansicolor = true
),
draft=!execute
)
Expand Down

0 comments on commit 94cedc2

Please sign in to comment.