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
2026-04-13 16:45:00 +01:00
parent bbd7297b33
commit cf11c8bbd9
2 changed files with 7 additions and 0 deletions

6
docs/content/backends.md Normal file
View File

@@ -0,0 +1,6 @@
---
title: "Backends"
type: "backends"
outputs:
- JSON
---

View File

@@ -0,0 +1 @@
{{- hugo.Data.backends | jsonify (dict "indent" " ") -}}