mirror of
https://github.com/rclone/rclone.git
synced 2026-10-08 22:20:32 -04:00
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:
1 parent
bbd7297b33
commit
cf11c8bbd9
2 files changed
+7
No files matched your search
@@ -0,0 +1,6 @@
|
||||
---
|
||||
title: "Backends"
|
||||
type: "backends"
|
||||
outputs:
|
||||
- JSON
|
||||
---
|
||||
@@ -0,0 +1 @@
|
||||
{{- hugo.Data.backends | jsonify (dict "indent" " ") -}}
|
||||
Reference in new issue
Block a user