Skip to content

Commit b39ee75

Browse files
committed
Restructure documentation TOC and fix constraint dimension functions
- Flatten manual-model.md and manual-solution.md TOC: promote component sections from ### to ## level for better sidebar navigation - Replace static Content lists with Documenter @contents blocks (Depth = 2) - Redistribute Model predicates across logical sections: - has_variable/is_variable/is_nonvariable → Variable section - has_control/is_control_free → Control section - has_abstract_definition/is_abstractly_defined → Problem definition - is_nonautonomous → Time dependence - Remove standalone Model predicates section - Fix constraint dimension functions: - Restore dim_state_constraints_box, dim_control_constraints_box, dim_variable_constraints_box for Model (constraint counts) - Keep dim_dual_*_constraints_box for Solution (dual dimensions) - Update imports, tests, and API documentation to include both families - Remove Draft = false meta blocks from markdown files (use make.jl draft mode) - Enable - Flatten manual-model.md and manual-solution.md TOC: promo
1 parent 39912cc commit b39ee75

6 files changed

Lines changed: 120 additions & 133 deletions

File tree

docs/make.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ cp(
153153
Draft = false
154154
```
155155
=#
156-
draft = true # Draft mode: if true, @example blocks in markdown are not executed
156+
draft = false # Draft mode: if true, @example blocks in markdown are not executed
157157

158158
# ═══════════════════════════════════════════════════════════════════════════════
159159
# Load extensions

docs/src/api/public.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,13 @@ definition
5858
expression
5959
describe
6060
dim_boundary_constraints_nl
61+
dim_control_constraints_box
6162
dim_dual_control_constraints_box
6263
dim_dual_state_constraints_box
6364
dim_dual_variable_constraints_box
6465
dim_path_constraints_nl
66+
dim_state_constraints_box
67+
dim_variable_constraints_box
6568
dimension
6669
discretize
6770
dual

0 commit comments

Comments
 (0)