Skip to content

Commit

Permalink
warnonly in docs for undocumented functions
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreBarrat committed Feb 22, 2024
1 parent 707356f commit 09c4d38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ using Documenter

Documenter.makedocs(;
source = "src",
warnonly = [:missing_docs,],
clean = true,
doctest = true,
modules = Module[TreeKnit],
Expand Down
2 changes: 1 addition & 1 deletion src/objects.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ end
"""
function OptArgs(K::Int; method=:none, kwargs...)
OptArgs constructor will default to :better_trees method if K>2, :better_MCCs if K==2.
OptArgs constructor will default to `:better_trees` method if `K>2`, `:better_MCCs` if `K==2`.
"""
function OptArgs(K::Int; method=:none, kwargs...)
kwargs_dict = Dict(kwargs)
Expand Down

0 comments on commit 09c4d38

Please sign in to comment.