From b4aa92e7ff825aae1be37f12ea66353ef6a80d3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Tue, 30 Jan 2018 13:27:55 +0100 Subject: [PATCH] docs: added versions file --- docs/Dockerfile | 1 + docs/versions.json | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 docs/versions.json diff --git a/docs/Dockerfile b/docs/Dockerfile index 7679f2b7e4b..faf90ea0ecd 100644 --- a/docs/Dockerfile +++ b/docs/Dockerfile @@ -9,5 +9,6 @@ FROM grafana/docs-base:latest COPY config.toml /site COPY awsconfig /site +COPY versions.json /site/static/js VOLUME ["/site/content"] diff --git a/docs/versions.json b/docs/versions.json new file mode 100644 index 00000000000..6a4e3fa502e --- /dev/null +++ b/docs/versions.json @@ -0,0 +1,8 @@ +[ + { "version": "v4.6", "path": "/", "archived": false, "current": true }, + { "version": "v4.5", "path": "/v4.5", "archived": true }, + { "version": "v4.4", "path": "/v4.4", "archived": true }, + { "version": "v4.3", "path": "/v4.3", "archived": true }, + { "version": "v4.1", "path": "/v4.1", "archived": true }, + { "version": "v3.1", "path": "/v3.1", "archived": true } +]