Skip to content

external-control-api.md: unwrap HTMLBlock for the General ECP commands table#50

Merged
jduval23 merged 1 commit into
rokudev:v2.0from
chrisdp:unwrap-external-control-api-table
May 18, 2026
Merged

external-control-api.md: unwrap HTMLBlock for the General ECP commands table#50
jduval23 merged 1 commit into
rokudev:v2.0from
chrisdp:unwrap-external-control-api-table

Conversation

@chrisdp
Copy link
Copy Markdown
Contributor

@chrisdp chrisdp commented May 15, 2026

Summary

The "General ECP commands" table was on a single ~25,000-char line inside a JSX <HTMLBlock>{...}</HTMLBlock> template literal, which kept ReadMe from rendering the [text](doc:slug) references inside — including the Roku OS 15.0 / 15.2 / 13.0 / 12.0 / 11.5 release-notes links plus the self-references to #input-command-conventions and roinputevent.

Changes

  • Drop the <HTMLBlock> wrapper and reformat the single-line table as one row per line, with the nested sgrendezvous and fwbeacons sub-tables on their own indented lines.
  • Escape the bare uppercase placeholder syntax (<KEY>, <APP_ID>) as &lt;...&gt; so MDX doesn't read them as JSX tag opens.
  • Escape the <<em>NAME</em>> placeholder syntax used for path params (<channelId>, <seconds>, <appId>, etc.) the same way.
  • Inside the <pre><code> response examples, entity-encode the XML payload (<sgrendezvous>, <tracking-enabled>, <status>, etc.) so MDX doesn't try to parse it as JSX.

…s table

The "General ECP commands" table was on a single ~25,000-char line
inside a JSX <HTMLBlock>{`...`}</HTMLBlock> template literal, which
kept ReadMe from rendering the [text](doc:slug) references inside —
the Roku OS 15.0/15.2/13.0/12.0/11.5 release-notes links and the
self-references to #input-command-conventions and roinputevent.

Drop the wrapper and reformat as one row per line. To survive MDX:
- Escape the bare uppercase placeholder syntax (<KEY>, <APP_ID>) as
  &lt;...&gt; so they aren't read as JSX tag opens.
- Escape the `<<em>NAME</em>>` placeholder syntax used for path
  params (`<channelId>`, `<seconds>`, `<appId>`, etc.) the same way.
- Inside the <pre><code> response examples, entity-encode the XML
  payload (<sgrendezvous>, <tracking-enabled>, <status>, etc.) so
  MDX doesn't read them as JSX.
- Nested sgrendezvous and fwbeacons sub-tables are placed on their
  own indented lines inside their parent cell.
@jduval23 jduval23 merged commit 7915a16 into rokudev:v2.0 May 18, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants