You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
launch-framework.md "Hosting multiple controllers" example diverges from the actual demo #370
The new "Hosting multiple controllers" subsection in docs/how-to/launch-framework.md (added in #360 / commit f6600bc for #359) anchors its prose to the bundled demo:
The bundled demo (python -m fastcs.demo run src/fastcs/demo/fastcs.yaml) hosts two DeviceController instances on different ports to exercise this case end-to-end:
…but the example below this prose doesn't match what the demo actually does:
The doc paragraph literally tells the reader "this is what the demo does", then shows a yaml shape the demo cannot accept. The rest of the file uses DeviceController as a placeholder class throughout, so the placeholder-vs-real conflict is local to this paragraph.
Suggested fix
Either:
(A) Drop the "the bundled demo hosts…" sentence and keep the example as a generic DeviceController illustration, with a separate one-liner pointing readers at src/fastcs/demo/fastcs.yaml for a real working example; or
(B) Replace the example with the actual demo's yaml (real TemperatureController shape, ports 25565/25566), so the prose's "this is what the demo does" claim is true.
(A) is probably cheaper — keeping a synthetic example consistent with the rest of the file and adding a pointer to the real demo file is one line of prose.
Activity