Fix up some docstrings
This commit is contained in:
parent
bc36fba22a
commit
9f4cb1d522
@ -11,7 +11,7 @@ const LICENSES = Dict(
|
|||||||
)
|
)
|
||||||
|
|
||||||
"""
|
"""
|
||||||
available_licenses([io]) -> Void
|
available_licenses([io::IO]) -> Void
|
||||||
|
|
||||||
Print the names of all available licenses.
|
Print the names of all available licenses.
|
||||||
"""
|
"""
|
||||||
@ -27,10 +27,10 @@ show_license(io::IO, license::AbstractString) = println(io, read_license(license
|
|||||||
show_license(license::AbstractString) = show_license(STDOUT, license)
|
show_license(license::AbstractString) = show_license(STDOUT, license)
|
||||||
|
|
||||||
"""
|
"""
|
||||||
read_license(licence::AbstractString) -> String
|
read_license(license::AbstractString) -> String
|
||||||
|
|
||||||
Returns the contents of `license`. Errors if it is not found. Use [`show_license`](@ref) to
|
Returns the contents of `license`. Errors if it is not found. Use
|
||||||
view available licenses.
|
[`available_licenses`](@ref) to view available licenses.
|
||||||
"""
|
"""
|
||||||
function read_license(license::AbstractString)
|
function read_license(license::AbstractString)
|
||||||
path = joinpath(LICENSE_DIR, license)
|
path = joinpath(LICENSE_DIR, license)
|
||||||
|
@ -110,7 +110,7 @@ create a template, you can use [`interactive_template`](@ref) instead.
|
|||||||
end
|
end
|
||||||
|
|
||||||
"""
|
"""
|
||||||
interactive_template(; fast::Bool) -> Template
|
interactive_template(; fast::Bool=false) -> Template
|
||||||
|
|
||||||
Interactively create a [`Template`](@ref). If `fast` is set, defaults will be assumed for
|
Interactively create a [`Template`](@ref). If `fast` is set, defaults will be assumed for
|
||||||
all values except username and plugins.
|
all values except username and plugins.
|
||||||
|
Loading…
Reference in New Issue
Block a user