Skip to content

Commit

Permalink
update doc api versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenplusplus committed Oct 14, 2014
1 parent a346a59 commit 5ca1ac2
Showing 1 changed file with 27 additions and 4 deletions.
31 changes: 27 additions & 4 deletions docs/components/docs/docs-values.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
//
Expand All @@ -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']
}
});

0 comments on commit 5ca1ac2

Please sign in to comment.