Skip to content

[Feature Request]: Allow CSVs to be passed and rendered as tables #1054

@shainaraskas

Description

@shainaraskas

Prerequisites

  • I have searched existing issues to ensure this feature hasn't already been requested
  • I have tested using the latest version of docs-builder

What problem are you trying to solve?

in our previous system, the control plane team output the ECE dependencies as a pair of CSVs (example PR) that were then rendered as tables in asciidoc (source).

current syntax:

=== Dependencies of the Docker images used by {s}

[id="{p}-image-dependencies"]
[format="csv",halign="left", width="80%", cols="2,1,1,6,1,1", options="header"]
|===================================================
include::ece-image-deps.csv[]
|===================================================

[float]
=== Dependencies of {s}

[id="{p}-platform-dependencies"]
[format="csv",halign="left", width="80%", cols="2,1,1,6,1,1", options="header"]
|===================================================
include::ece-platform-deps.csv[]
|===================================================

we need to be able to consume structured data and output it on a table on a larger docs page in the same way to keep this automation alive (it is bumped frequently)

Proposed Solution

allow csvs to be passed using a directive

Examples and Research

No response

Alternative Solutions

extend the automated settings implementation to display tables if desired. this would require the dev team to pivot to exporting this content in yml

Additional Context

No response

How important is this feature to you?

Important

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions