Sfoglia il codice sorgente

docs: added versions file

Torkel Ödegaard 8 anni fa
parent
commit
b4aa92e7ff
2 ha cambiato i file con 9 aggiunte e 0 eliminazioni
  1. 1 0
      docs/Dockerfile
  2. 8 0
      docs/versions.json

+ 1 - 0
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"]

+ 8 - 0
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 }
+]