Project Michael Dings Impressum Login

Dings-Feature-Render-Ir-Html

I am a Feature.

Also

- I am a Todo.

- I am a Work-Item.

About

Design-Context

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.

Start-Situation

The Dings-System already has a dings-gpt render Command, that renders between Dings-Channels.

The current Render-Channels are:

The current Render-Paths include:

The old Html Generation is currently available through:

The old Html Generation renders the Markdown-Document-View (Work-Dir) to Html (Day) and adds Presentation Elements, for Example a Side-Bar.

Goal

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:

The 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.

Design-Decision

The first Html Render-Path is Ir-Html, not Md-Html.

The intended Pipeline is:

Md -> Ir -> Html

The Responsibilities are:

Scope

This Work-Item includes:

Non-Goals

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:

This 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.

Html Views

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:

Command-Line-Interface

The 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.

Use-Cases

Executable Use-Cases for this Work-Item should be stored in:

The Use-Cases should cover at least:

Acceptance-Criteria

This Work-Item is done when: