Skip to content

Commit

Permalink
fix build with Documenter v1
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerjthomas9 committed Oct 16, 2023
1 parent 535b71f commit bab847b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[deps]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
SaguaroTrader = "26277856-a3f7-4646-aaac-f090473ab108"

[compat]
Documenter = "<1"
Documenter = "=1"
3 changes: 2 additions & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ makedocs(;
assets=String[],
),
pages=["Home" => "index.md", "API" => "api.md", "Examples" => "examples.md"],
warnonly = true
)

deploydocs(; repo="github.com/SaguaroCapital/SaguaroTrader.jl.git")
# deploydocs(; repo="github.com/SaguaroCapital/SaguaroTrader.jl.git")
1 change: 1 addition & 0 deletions docs/src/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ VolumeSharesSlippageModel

# Broker
```@docs
Broker
SimulatedBroker
create_portfolio!
subscribe_funds!
Expand Down
4 changes: 2 additions & 2 deletions src/fee_model/fee_model.jl
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@

abstract type FeeModel end
"""
Abstract type to handle the calculation of
brokerage fee, fees and taxes.
"""

abstract type FeeModel end
FeeModel

include("zero_fee_model.jl")
include("percent_fee_model.jl")
Expand Down

0 comments on commit bab847b

Please sign in to comment.