mirror of
https://github.com/rclone/rclone.git
synced 2026-05-12 10:03:35 -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:
6
docs/content/backends.md
Normal file
6
docs/content/backends.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
title: "Backends"
|
||||
type: "backends"
|
||||
outputs:
|
||||
- JSON
|
||||
---
|
||||
1
docs/layouts/backends/single.json
Normal file
1
docs/layouts/backends/single.json
Normal file
@@ -0,0 +1 @@
|
||||
{{- hugo.Data.backends | jsonify (dict "indent" " ") -}}
|
||||
Reference in New Issue
Block a user