From b21744fc3ef07eb8a260af7ecd4570c611420d9d Mon Sep 17 00:00:00 2001 From: Stephen Sawchuk Date: Thu, 9 Jul 2015 20:35:08 -0400 Subject: [PATCH] docs: correctly use classes in markdown & fix site bug --- docs/authorization.md | 4 ++-- docs/site/components/subpage/subpage-directive.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/authorization.md b/docs/authorization.md index c8fae3c6f04..adb6da93ffe 100644 --- a/docs/authorization.md +++ b/docs/authorization.md @@ -4,7 +4,7 @@ With `gcloud-node` it's incredibly easy to get authorized and start using Google If you are running this client on Google Compute Engine, we handle authorization for you with no configuration. You just need to make sure that when you [set up the GCE instance][gce-how-to], you add the correct scopes for the APIs you want to access. -```js hljs-class +```hljs-class var config = { projectId: 'grape-spaceship-123' }; @@ -26,7 +26,7 @@ If you are not running this client on Google Compute Engine, you need a Google D * If you want to use a new service account, click on **Create new Client ID** and select **Service account**. After the account is created, you will be prompted to download the JSON key file that the library uses to authorize your requests. * If you want to generate a new key for an existing service account, click on **Generate new JSON key** and download the JSON key file. -``` js hljs-class +```hljs-class var config = { projectId: 'grape-spaceship-123', keyFilename: '/path/to/keyfile.json' diff --git a/docs/site/components/subpage/subpage-directive.js b/docs/site/components/subpage/subpage-directive.js index a9289c64c1f..427e35b244d 100644 --- a/docs/site/components/subpage/subpage-directive.js +++ b/docs/site/components/subpage/subpage-directive.js @@ -72,6 +72,7 @@ angular priority: 1500, restrict: 'C', transclude: true, + scope: {}, template: '
', compile: function(element) { return function($scope, element, attrs) {