Skip to content

Commit e7c6e88

Browse files
update doc api versions.
1 parent d9afdfa commit e7c6e88

File tree

1 file changed

+27
-4
lines changed

1 file changed

+27
-4
lines changed

docs/components/docs/docs-values.js

+27-4
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,22 @@ angular.module('gcloud.docs')
7474
_url: '{baseUrl}/storage'
7575
},
7676

77+
storageWithFiles: {
78+
title: 'Storage',
79+
_url: '{baseUrl}/storage',
80+
pages: [
81+
{
82+
title: 'Bucket',
83+
url: '/bucket'
84+
},
85+
{
86+
title: 'File',
87+
url: '/file'
88+
}
89+
]
90+
},
91+
7792
VERSIONS: {
78-
// Give a version with/without a comparator, anything semver:
79-
// https://github.com/npm/node-semver#versions
8093
//
8194
// Multiple keys may be used to match a version.
8295
//
@@ -89,8 +102,18 @@ angular.module('gcloud.docs')
89102
//
90103
// To keep the documentation for the main module, `gcloud`, on top of the
91104
// link list, **make sure the title is `gcloud`**
92-
'*': ['gcloud', 'storage'],
105+
'*': ['gcloud'],
106+
107+
// deprecate old datastore api.
93108
'<0.8.0': ['datastore'],
94-
'>=0.8.0': ['datastoreWithTransaction', 'pubsub']
109+
110+
// introduce datastore refactor + pubsub.
111+
'>=0.8.0': ['datastoreWithTransaction', 'pubsub'],
112+
113+
// deprecate old storage api.
114+
'<0.9.0': ['storage'],
115+
116+
// introduce new storage api.
117+
'>=0.9.0': ['storageWithFiles']
95118
}
96119
});

0 commit comments

Comments
 (0)