8000 Get BigQuery positioned correctly in left-side navbar. · googleapis/google-cloud-python@2930b1f · GitHub
[go: up one dir, main page]

Skip to content

Commit 2930b1f

Browse files
committed
Get BigQuery positioned correctly in left-side navbar.
1 parent 941f77f commit 2930b1f

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

docs/_static/js/main.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ $('.headerlink').parent().each(function() {
1515

1616
$('.side-nav').children('ul:nth-child(2)').children().each(function() {
1717
var itemName = $(this).text();
18-
if (itemName !== 'Datastore' && itemName !== 'Storage' &&
19-
itemName !== 'Pub/Sub') {
18+
if (itemName !== 'Datastore' &&
19+
itemName !== 'Storage' &&
20+
itemName !== 'Pub/Sub' &&
21+
itemName !== 'Big Query') {
2022
$(this).css('padding-left','2em');
2123
}
2224
});
@@ -27,6 +29,10 @@ if ($('#cloud-datastore-in-10-seconds').length)
2729
apiQsSection = $('#cloud-datastore-in-10-seconds');
2830
else if ($('#cloud-storage-in-10-seconds').length)
2931
apiQsSection = $('#cloud-storage-in-10-seconds');
32+
else if ($('#cloud-pubsub-in-10-seconds').length)
33+
apiQsSection = $('#cloud-pubsub-in-10-seconds');
34+
else if ($('#cloud-bigquery-in-10-seconds').length)
35+
apiQsSection = $('#cloud-bigquery-in-10-seconds');
3036

3137
if(apiQsSection) {
3238
var apiQsSubSections = apiQsSection.children('div');

docs/bigquery-usage.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
.. toctree::
2+
:maxdepth: 0
3+
:hidden:
4+
5+
=========
6+
Big Query
7+
=========
8+
19
Using the API
210
=============
311

0 commit comments

Comments
 (0)
0