emkornfield commented on code in PR #143:
URL: https://github.com/apache/parquet-site/pull/143#discussion_r2608370819


##########
layouts/shortcodes/implementation-status.html:
##########
@@ -0,0 +1,136 @@
+{{- /*
+  Shortcode to render implementation status tables from structured data.
+  Usage: {{< implementation-status >}}
+
+*/ -}}
+
+{{- $engines := site.Data.implementations.engines -}}
+{{- $categories := site.Data.implementations.categories -}}
+{{- $legend := site.Data.implementations.legend -}}
+
+
+{{- /* Render each category */ -}}
+{{- range $categories -}}
+
+  {{- $noteMap := slice -}}
+  {{- $category := . -}}
+  {{- $categoryId := .id -}}
+  {{- $featuresData := index site.Data.implementations.features $categoryId -}}
+
+  {{- if $featuresData -}}
+    {{- $features := $featuresData.features -}}
+
+    {{- /* Render category header */ -}}
+    <h3>{{ $category.name }}</h3>
+
+    {{- /* Render category description */ -}}
+    {{- if $category.description -}}
+      <p>{{ $category.description | markdownify }}</p>
+      {{- if $category.spec_url -}}
+        <p><a href="{{ $category.spec_url }}"><code>{{ path.Base 
$category.spec_url }}</code></a></p>
+      {{- end -}}
+      {{- if $category.spec_doc_url -}}
+        <p><a href="{{ $category.spec_doc_url }}">{{ path.Base 
$category.spec_doc_url }}</a></p>
+      {{- end -}}
+    {{- end -}}
+
+    {{- /* Render table */ -}}
+    <table class="table table-striped">
+      <thead>
+        <tr>
+          <th>Data type</th>

Review Comment:
   this needs to be dynamic.  I'll fix it.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to