- See the Dataset documentation for examples of how to query the datastore, save entities, run a transaction, and others. + See the Dataset documentation for examples of how to query the datastore, save entities, run a transaction, and others.
diff --git a/docs/components/docs/docs.js b/docs/components/docs/docs.js index 7204d6b79d5..93685cc7ee9 100644 --- a/docs/components/docs/docs.js +++ b/docs/components/docs/docs.js @@ -42,7 +42,7 @@ angular }; var a = document.createElement('a'); return str.replace(regex.see, function(match, module) { - a.href = '/gcloud-node/#/docs/' + module; + a.href = '#/docs/' + module; a.innerText = module; return a.outerHTML; }); @@ -103,33 +103,33 @@ angular $routeProvider .when('/docs', { controller: 'DocsCtrl', - templateUrl: '/gcloud-node/components/docs/docs.html', + templateUrl: 'components/docs/docs.html', resolve: { methods: function($http, $sce) { - return $http.get('/gcloud-node/json/index.json') + return $http.get('json/index.json') .then(filterDocJson($sce)); } } }) .when('/docs/:module', { controller: 'DocsCtrl', - templateUrl: '/gcloud-node/components/docs/docs.html', + templateUrl: 'components/docs/docs.html', resolve: { methods: function($http, $route, $sce) { var module = $route.current.params.module; - return $http.get('/gcloud-node/json/' + module + '/index.json') + return $http.get('json/' + module + '/index.json') .then(filterDocJson($sce)); } } }) .when('/docs/:module/:class', { controller: 'DocsCtrl', - templateUrl: '/gcloud-node/components/docs/docs.html', + templateUrl: 'components/docs/docs.html', resolve: { methods: function($q, $http, $route, $sce) { var module = $route.current.params.module; var cl = $route.current.params.class; - return $http.get('/gcloud-node/json/' + module + '/' + cl + '.json') + return $http.get('json/' + module + '/' + cl + '.json') .then(filterDocJson($sce)); } } @@ -151,11 +151,11 @@ angular $scope.pages = [ { title: 'gcloud', - url: '/gcloud-node/#/docs' + url: '#/docs' }, { title: 'Datastore', - url: '/gcloud-node/#/docs/datastore', + url: '#/docs/datastore', pages: [ { title: 'Dataset', @@ -169,7 +169,7 @@ angular }, { title: 'Storage', - url: '/gcloud-node/#/docs/storage' + url: '#/docs/storage' } ]; }); diff --git a/docs/home.html b/docs/home.html index c61b75938b8..f88320f8efb 100755 --- a/docs/home.html +++ b/docs/home.html @@ -21,7 +21,7 @@