From fd12ad03fbf8835070778f3320337f1df315df98 Mon Sep 17 00:00:00 2001 From: Stephen Sawchuk Date: Mon, 13 Oct 2014 16:55:27 -0400 Subject: [PATCH] update doc api versions. --- docs/components/docs/docs-values.js | 31 +++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/docs/components/docs/docs-values.js b/docs/components/docs/docs-values.js index 55e1a4b37cf..6c3cecc214e 100644 --- a/docs/components/docs/docs-values.js +++ b/docs/components/docs/docs-values.js @@ -74,9 +74,22 @@ angular.module('gcloud.docs') _url: '{baseUrl}/storage' }, + storageWithFiles: { + title: 'Storage', + _url: '{baseUrl}/storage', + pages: [ + { + title: 'Bucket', + url: '/bucket' + }, + { + title: 'File', + url: '/file' + } + ] + }, + VERSIONS: { - // Give a version with/without a comparator, anything semver: - // https://github.com/npm/node-semver#versions // // Multiple keys may be used to match a version. // @@ -89,8 +102,18 @@ angular.module('gcloud.docs') // // To keep the documentation for the main module, `gcloud`, on top of the // link list, **make sure the title is `gcloud`** - '*': ['gcloud', 'storage'], + '*': ['gcloud'], + + // deprecate old datastore api. '<0.8.0': ['datastore'], - '>=0.8.0': ['datastoreWithTransaction', 'pubsub'] + + // introduce datastore refactor + pubsub. + '>=0.8.0': ['datastoreWithTransaction', 'pubsub'], + + // deprecate old storage api. + '<0.9.0': ['storage'], + + // introduce new storage api. + '>=0.9.0': ['storageWithFiles'] } });