docs: serve backend metadata as JSON on the website

Add a Hugo page at /backends/index.json that exports all the
backend YAML data from docs/data/backends/ as a single JSON file
for external consumption.
This commit is contained in:
Nick Craig-Wood committed 2026-04-13 16:45:00 +01:00
1 parent bbd7297b33
commit cf11c8bbd9
2 files changed
+7

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
---
title: "Backends"
type: "backends"
outputs:
- JSON
---
+1
View File
@@ -0,0 +1 @@
{{- hugo.Data.backends | jsonify (dict "indent" " ") -}}