Skip to content

Commit

Permalink
Get BigQuery positioned correctly in left-side navbar.
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed Jul 20, 2015
1 parent 941f77f commit 2930b1f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/_static/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ $('.headerlink').parent().each(function() {

$('.side-nav').children('ul:nth-child(2)').children().each(function() {
var itemName = $(this).text();
if (itemName !== 'Datastore' && itemName !== 'Storage' &&
itemName !== 'Pub/Sub') {
if (itemName !== 'Datastore' &&
itemName !== 'Storage' &&
itemName !== 'Pub/Sub' &&
itemName !== 'Big Query') {
$(this).css('padding-left','2em');
}
});
Expand All @@ -27,6 +29,10 @@ if ($('#cloud-datastore-in-10-seconds').length)
apiQsSection = $('#cloud-datastore-in-10-seconds');
else if ($('#cloud-storage-in-10-seconds').length)
apiQsSection = $('#cloud-storage-in-10-seconds');
else if ($('#cloud-pubsub-in-10-seconds').length)
apiQsSection = $('#cloud-pubsub-in-10-seconds');
else if ($('#cloud-bigquery-in-10-seconds').length)
apiQsSection = $('#cloud-bigquery-in-10-seconds');

if(apiQsSection) {
var apiQsSubSections = apiQsSection.children('div');
Expand Down
8 changes: 8 additions & 0 deletions docs/bigquery-usage.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
.. toctree::
:maxdepth: 0
:hidden:

=========
Big Query
=========

Using the API
=============

Expand Down

0 comments on commit 2930b1f

Please sign in to comment.