oasis-tcs / mqtt

OASIS MQTT TC: Technical refinements of features
Other
4 stars 2 forks source link

Markdown trial #5

Open sthagen opened 6 months ago

sthagen commented 6 months ago

Why?

From the standpoint of a technical editor our private working draft editor copy workflow from which we periodically publish revisions as snapshots is far from ideal.

Problems:

In case we can transform the google hosted document into a maintainable and provably correct source format like markdown inside out publicly accessible MQTT TC repository (here) all these aforementioned problems go away (and a few new ones will for sure join us 😁).

Why now?

Well, the TC members are in deep but very content local discussions on the details of the protocol, which means the overall structure of the document can be considered stable.

What and How?

Note:

This change set is not ready yet for review and merge but instead it is a sneak preview.

How Far is the Transformation Progressed?

Shopping list:

The delivery item single-file markdown will be enhanced with navigational fluff and coated with display sugar, but already the rendered view of the source files (those with content) on the source branch should give some impression how close we will be when the transform based on the upstream snapshot from 2024-MAR-01 will be completed.

Examples:

The transformation is performed by trying to remain as automatic as possible, so that we can repeat the process for a few future snapshots without too much overhead.

Also, there are transformation notes left in the markdown sources where something is not looking correct, or where -in the opinion of the transformer- there should be a better or an already planned future way that would be considered a complete transform.

Example for better ways: blind table use, table use to mimic bitfields.

Example for future planned additional changes: Switch to auto-numbering.

To see these transform notes (documented as html comments, one can simply switch to the "code" or "raw" view for above example URLs.

As an example:

"Code" button selected or manually the query string ?plain=1 appended to the URL: control-packet-format-04-topic-alias-types.md?plain=1

sthagen commented 1 month ago

The insert of the packet diagrams as figures awaits the merge of the PR #21 ...

Update: packet diagrams are now available (PR #21 has been merged)