Documentation: use JSON instead of the deprecated JSON3 once CTModels is released
メンテナーはふだん 1 日以内に返信
@ocots がすでに取り組んでいます。
2026年10月18日 から。
評価
この issue はまだ評価されていません。
説明
Context
JSON3.jl is deprecated in favour of JSON.jl v1. CTModels moves its JSON format to JSON.jl (control-toolbox/CTModels.jl#467, PR #468): the CTModelsJSON extension is then activated by using JSON instead of using JSON3, and JSON3Tag is renamed JSONTag. format=:JSON is unchanged and the files keep their format.
This is a breaking change of CTModels (0.20.0). Once it is released, the OptimalControl documentation must load JSON instead of JSON3, or the JSON examples will fail with an ExtensionError.
To update (after the CTModels release)
docs/make.jl:using JSON3→using JSON.docs/src/results/save-load.md:- the JSON section: the link to
JSON3.jl→ JSON.jl, andusing JSON3→using JSON; - the section "Without JLD2 or JSON3" (title and text):
JSON; theExtensionErrorforformat=:JSONnow namesJSON.
- the JSON section: the link to
docs/src/getting-started/installation.md:using JSON3 # format=:JSON→using JSON.- The documentation environments, which list
JSON3with its UUID and a[compat]entry:JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"andJSON = "1"indocs/Project.toml;docs/src/assets/Project.toml;docs/src/public/assets/Project.toml.
- Check the notebook and script of the guided tour (
docs/src/public/assets/guided-tour.*) and the pages that mention the formats.
Nothing in src/, ext/ or test/ of OptimalControl uses JSON3.
Related
- control-toolbox/CTModels.jl#467, #468.
- OptimalControl#992 (documentation of the multi-phase solutions), which depends on the same CTModels release.
- 主要言語
- Julia
- スター
- 135
- フォーク
- 11
- 平均マージ
- 7時間 51分
- マージ済み PR(30日)
- 22
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
control-toolbox/OptimalControl.jl のほかの issue
-
[Doc] User guide to the duals: every kind, constraint ↔ dual, direct ↔ indirect対応中かも @ocots が 6 日前に担当しました。 オープン
control-toolbox/OptimalControl.jl#1035 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Tests of the duals: every kind of constraint, direct vs indirect, pinned algorithms対応中かも @ocots が 6 日前に担当しました。 オープン
control-toolbox/OptimalControl.jl#1034 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[Doc] Examples for the sign convention of duals and costate (min/max, writing of constraints, direct vs indirect)対応中かも @ocots が 14 日前に担当しました。 オープン
control-toolbox/OptimalControl.jl#1016 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Documentation: sign conventions (min/max, p⁰, constraints, duals) and how they appear in a solution対応中かも @ocots が 16 日前に担当しました。 オープンdocumentation
control-toolbox/OptimalControl.jl#1015 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Tests fail on Julia 1.13: keyword-only anonymous function in test/problems/goddard.jl対応中かも @ocots が 18 日前に担当しました。 オープン
control-toolbox/OptimalControl.jl#996 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
control-toolbox/OptimalControl.jl の issue をすべて見る
似ている issue
-
Add project: Typst_jll.jl対応中かも @github-actions が今日担当しました。 オープンadd-project
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
YDX-2147483647/best-of-typst#590 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100