I am a Feature.
- I am a Todo.
- I am a Work-Item.
This Work-Item uses the following Design-Context:
The Design-Documentation Structure was introduced by:
The Design-Context should be provided to ChatGPT and Codex when working on this Work-Item.
The Dings-System already has a dings-gpt render Command, that renders between Dings-Channels.
The current Render-Channels are:
MdIrSm1Sm2The current Render-Paths include:
Md-IrMd-Sm1Md-Sm2Ir-MdIr-Sm1Ir-Sm2Sm1-Sm2The old Html Generation is currently available through:
dings html generate -aThe old Html Generation renders the Markdown-Document-View (Work-Dir) to Html (Day) and adds Presentation Elements, for Example a Side-Bar.
The Goal of this Work-Item is to add Html as a new Render-Target for dings-gpt render.
The first new Render-Path shall be:
Ir-HtmlThe Html Generation shall be based on the existing Ir Layer, because the Ir Layer already contains the parsed Document-Structure.
This avoids parsing Markdown again in the Html Renderer.
The first Html Render-Path is Ir-Html, not Md-Html.
The intended Pipeline is:
Md -> Ir -> Html
The Responsibilities are:
Md-Ir: Parse Markdown-Files into structured Ir Files.Ir-Html: Render structured Ir Files into Html Files.This Work-Item includes:
Html Render-Channel.Ir-Html Render-Path.Ir-Html.This Work-Item does not implement a semantic Html View from sm1 or sm2.
The following Render-Paths are possible Future Work, but are not part of this Work-Item:
Sm1-HtmlSm2-HtmlThis Work-Item does not directly embed full sm1 or sm2 Semantic-Data into the generated Html Files.
This Work-Item does not remove the old dings html generate -a Command, unless this is required for a clean Migration.
Implementation Result: dings-gpt render Ir-Html is the Html Render-Path used by the current make render Flow. The legacy dings html generate -a Command remains available.
The first Html View is the Document-View.
The Document-View is based on the Ir Document-Structure and renders:
Later semantic Html Views may render or embed:
sm1sm2The intended new Command is:
dings-gpt render Ir-Html
Compatibility Syntax should follow the existing dings-gpt render Rules, for Example:
dings-gpt render 'Ir->Html'
dings-gpt render Ir Html
If Selection-Support exists or is added, single Dings-Objects may be rendered explicitly.
The default Behavior should be consistent with the existing dings-gpt render Command.
Executable Use-Cases for this Work-Item should be stored in:
The Use-Cases should cover at least:
Ir-Html.This Work-Item is done when:
dings-gpt render knows the Html Channel.dings-gpt render supports the Ir-Html Render-Path.Ir-Html renders Html from existing Ir Files.Ir-Html exist.