Skip to content

refactor: clean up codebase and documentation#572

Merged
ocots merged 3 commits intodevelopfrom
up_compat
Mar 6, 2026
Merged

refactor: clean up codebase and documentation#572
ocots merged 3 commits intodevelopfrom
up_compat

Conversation

@ocots
Copy link
Member

@ocots ocots commented Mar 5, 2026

  • Remove unused is_solvable function from collocation_core.jl
  • Clean up documentation dependencies in docs/Project.toml
  • Add documentation generation script docs/doc.jl
  • Update imports and dependencies across multiple files
  • Remove unused test files and dependencies
  • General code cleanup and formatting improvements

- Remove unused is_solvable function from collocation_core.jl
- Clean up documentation dependencies in docs/Project.toml
- Add documentation generation script docs/doc.jl
- Update imports and dependencies across multiple files
- Remove unused test files and dependencies
- General code cleanup and formatting improvements
@github-actions
Copy link
Contributor

github-actions bot commented Mar 5, 2026

Breakage test results
Date: 2026-03-06 08:00:01

Name Latest Stable
OptimalControl compat: v0.17.5-beta compat: v1.0.2-beta

@ocots
Copy link
Member Author

ocots commented Mar 5, 2026

@PierreMartinon Tu peux merge cette PR quand tu veux.

Pour le multigrille : control-toolbox/CTModels.jl#277

Version v0.9.2-beta

# New multi-grid signature
build_solution(
    ocp, 
    T_state, T_control, T_costate, T_dual,  # Separate time grids
    X, U, v, P;                             # Data matrices
    kwargs...
)

# Legacy signature still works
build_solution(ocp, T, X, U, v, P; kwargs...)

@ocots
Copy link
Member Author

ocots commented Mar 5, 2026

@PierreMartinon il faudra faire une nouvelle beta de CTDirect ensuite.

@ocots ocots added the run GPU Trigger GPU Github action label Mar 5, 2026
ocots added 2 commits March 5, 2026 22:11
- Replace manual API pages with automatic generation using CTBase.automatic_reference_documentation
- Create api_reference.jl inspired by CTSolvers.jl structure
- Update make.jl to use CTBase DocumenterReference extension
- Remove exports from CTDirect.jl to keep API private
- Generate coherent documentation organized by modules (Core, Collocation, Discretization)
- Add proper index.md with package overview
- Clean up old manual documentation files
@ocots ocots merged commit 042e3c7 into develop Mar 6, 2026
11 checks passed
@ocots ocots deleted the up_compat branch March 6, 2026 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run GPU Trigger GPU Github action

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants