From 8b90eec0ac1448c981314d9b93faa5ed72e5c8e8 Mon Sep 17 00:00:00 2001
From: David Beniamine <david.beniamine@tetras-libre.fr>
Date: Tue, 3 Nov 2020 19:13:31 +0100
Subject: [PATCH] Metadata

---
 dashboards/Readme.md     | 14 ++++++++++++++
 dashboards/metadata.json | 14 ++++++++++++++
 2 files changed, 28 insertions(+)
 create mode 100644 dashboards/Readme.md
 create mode 100644 dashboards/metadata.json

diff --git a/dashboards/Readme.md b/dashboards/Readme.md
new file mode 100644
index 0000000..8af71a8
--- /dev/null
+++ b/dashboards/Readme.md
@@ -0,0 +1,14 @@
+## Dashboard
+
+Any `*.ipynb` file is recognized as a dashboard.
+
+**DO not put space in the dashboard name, see metadata**
+
+### Images
+
+Just put a `.png`, `.jpg` or `.svg` image with the same name as your dashboard without `.ipynb` to set it's cover image the image will be 232*232 pixels
+
+### Metadata
+
+
+Edit the `metadata.json` to add title and description to your dashboards
diff --git a/dashboards/metadata.json b/dashboards/metadata.json
new file mode 100644
index 0000000..7b4c033
--- /dev/null
+++ b/dashboards/metadata.json
@@ -0,0 +1,14 @@
+{
+    "Interactive_Voila": {
+        "title": "Interactive dashboards",
+        "description": "Some interactive dashboards with python callbacks"
+    },
+    "MonetDB": {
+        "title": "Monet DB",
+        "description": "A minimal Monet DB connexion example"
+    },
+    "csv": {
+        "title": "CSV reader",
+        "description": "A dashboard that's prints the contents of a CSV"
+    }
+}
-- 
GitLab