Skip to content

Commit

Permalink
Merge pull request #354 from ryanseys/link-to-python
Browse files Browse the repository at this point in the history
Add a dropdown and link to python docs
  • Loading branch information
stephenplusplus committed Jan 20, 2015
2 parents c7be478 + 653a756 commit e0b0406
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/site/components/subpage/subpage-directive.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ angular
} else {
$scope.isActiveUrl = function (url) {
return $location.path() === url.replace('#', '');
}
};
}
}
};
Expand Down
17 changes: 17 additions & 0 deletions docs/site/components/subpage/subpage.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,23 @@ <h1 class="logo">
<span class="gcloud">gcloud</span>
</a>
</h1>
<nav class="main-nav" ng-class="{ open: showNavDropdown }">
<div class="nav-current" ng-click="showNavDropdown = !showNavDropdown">Node.js</div>
<ul class="menu">
<li>
<a href="#" title="Node.js docs page">
<img src="site/img/icon-lang-nodejs-white.svg" alt="Node.js icon" class="menu-icon">
Node.js
</a>
</li>
<li>
<a href="https://googlecloudplatform.github.io/gcloud-python" title="Python docs page">
<img src="site/img/icon-lang-python.svg" alt="Python icon" class="menu-icon">
Python
</a>
</li>
</ul>
</nav>
</header>

<header ng-if="headerTemplateUrl" ng-include="headerTemplateUrl"></header>
Expand Down
16 changes: 16 additions & 0 deletions docs/site/img/icon-lang-nodejs-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e0b0406

Please sign in to comment.