Skip to content

Commit 78722be

Browse files
committed
try to fix doc
1 parent b820192 commit 78722be

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

docs/problems.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ end
425425
function generate_documentation_problems(;
426426
draft::Union{Bool,Nothing}=nothing, exclude_from_draft::Vector{Symbol}=Symbol[]
427427
)
428-
problems_list = filter(p -> p != :steering, problems())
428+
problems_list = problems()
429429
problems_pages = map(p -> joinpath("problems", string(p) * ".md"), problems_list)
430430

431431
# reset problems directory

ext/JuMPModels/steering.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ julia> model = OptimalControlProblems.steering(JuMPBackend(); N=200)
2626
# References
2727
2828
- Problem formulation available at: https://github.com/MadNLP/COPSBenchmark.jl/blob/main/src/steering.jl
29-
29+
"""
3030
function OptimalControlProblems.steering(
3131
::JuMPBackend,
3232
args...;
@@ -121,4 +121,3 @@ function OptimalControlProblems.steering(
121121

122122
return model
123123
end
124-
"""

ext/OptimalControlModels/steering.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ julia> using OptimalControlProblems
2222
2323
julia> docp = OptimalControlProblems.steering(OptimalControlBackend(); N=500);
2424
```
25-
25+
"""
2626
function OptimalControlProblems.steering(
2727
::OptimalControlBackend,
2828
description::Symbol...;
@@ -99,5 +99,4 @@ function OptimalControlProblems.steering(
9999
)
100100

101101
return docp
102-
end
103-
"""
102+
end

ext/OptimalControlModels_s/steering_s.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ julia> using OptimalControlProblems
2222
2323
julia> docp = OptimalControlProblems.steering(OptimalControlBackend(); N=500);
2424
```
25-
25+
"""
2626
function OptimalControlProblems.steering_s(
2727
::OptimalControlBackend,
2828
description::Symbol...;
@@ -99,5 +99,4 @@ function OptimalControlProblems.steering_s(
9999
)
100100

101101
return docp
102-
end
103-
"""
102+
end

0 commit comments

Comments
 (0)