Skip to content

Commit

Permalink
use new release of Documenter
Browse files Browse the repository at this point in the history
  • Loading branch information
bvdmitri committed Sep 18, 2023
1 parent 2189c73 commit 2dc4cd5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
Rocket = "df971d30-c9d6-4b37-b8ff-e965b2cb3a40"

[compat]
Documenter = "0.27"
Documenter = "1.0.0"
2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ using Documenter, Rocket

makedocs(
modules = [ Rocket ],
strict = [ :doctest, :eval_block, :example_block, :meta_block, :parse_error, :setup_block ],
warnonly = Documenter.except(:doctest, :eval_block, :example_block, :meta_block, :parse_error, :setup_block),
clean = true,
sitename = "Rocket.jl",
pages = [
Expand Down
12 changes: 6 additions & 6 deletions src/observable/function.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ import Base: show
"""
FunctionObservable{D}(f::F)
FunctionObservable wraps a callback `f`, which is called when the Observable is initially subscribed to.
This function is given an Actor, to which new values can be nexted (with `next!(actor, data)`),
or an `error!` method can be called to raise an error, or `complete!` can be called to notify of a successful completion.
FunctionObservable wraps a callback `f`, which is called when the Observable is initially subscribed to.
This function is given an Actor, to which new values can be nexted (with `next!(actor, data)`),
or an `error!` method can be called to raise an error, or `complete!` can be called to notify of a successful completion.
# Arguments
- `f::F`: function to be invoked on subscription
# Arguments
- `f::F`: function to be invoked on subscription
See also: [`Subscribable`](@ref), [`make`](@ref)
See also: [`Subscribable`](@ref), [`make`](@ref)
"""
@subscribable struct FunctionObservable{D, F} <: Subscribable{D}
f :: F
Expand Down

0 comments on commit 2dc4cd5

Please sign in to comment.