Skip to content

[Doc] Examples are not displayed correctly in the REPL #173

Closed

Description

@amontoison
help?> beam
search: beam break basename rem Real read real reim

  DocStringExtensions.TypedMethodSignatures()

  Defines the optimal control problem beam for a given back-end.

  Arguments
  ≡≡≡≡≡≡≡≡≡

    •  model_backend::T: The modelling back-end, subtype of AbstractModelBackend.

    •  N::Int=0: Number of discretisation steps (optional).

  Returns
  ≡≡≡≡≡≡≡

    •  Throws an ExtensionError if the required back-end is not available.

  Example
  ≡≡≡≡≡≡≡

  julia> beam(JuMPBackend(); N=20)
  ERROR: ExtensionError(:JuMP)

Activity

  1. added
    documentation
    on Nov 8, 2025
  2. ocots commented on Nov 5, 2026

    @ocots
    Member

    Closing: the defect no longer exists. The docstring of a problem is now generated in src/OptimalControlProblems.jl as "Return the beam problem for a selected modeling. Available modelings and statuses are listed by OptimalControlProblems.status(:beam)"; TypedMethodSignatures(), N::Int and the ExtensionError(:JuMP) example are gone from src, ext and docs/src (port of #283/#331). Reopen if the REPL display is still wrong with the current version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentation

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions