Skip to content

Commit 64808c0

Browse files
committed
Merge pull request #39 from jgeewax/doc-logos
Added logos and reorganized docs homepage.
2 parents 61e67c5 + 3b6df5e commit 64808c0

File tree

9 files changed

+795
-65
lines changed

9 files changed

+795
-65
lines changed

docs/_static/bigquery-logo.png

13.6 KB
Loading

docs/_static/cloudsql-logo.png

10.9 KB
Loading

docs/_static/compute-logo.png

11.3 KB
Loading

docs/_static/custom.css

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
#gc-logo img {
2+
width: 280px;
3+
top: -20px;
4+
left: -20px;
5+
}
6+
7+
.gc-search {
8+
left: 320px;
9+
}
10+
11+
body.two-column #gc-content {
12+
margin-left: 206px;
13+
}
14+
15+
body.two-column #gc-sidebar {
16+
width: 190px;
17+
}
18+
19+
/* Clearfix for the services floating. */
20+
.section#services:after {
21+
content: " "; /* Older browser do not support empty content */
22+
visibility: hidden;
23+
display: block;
24+
height: 0;
25+
clear: both;
26+
}
27+
28+
.service.topic {
29+
width: 33%;
30+
height: 435px;
31+
float: left;
32+
text-align: center;
33+
}
34+
35+
.service.topic .topic-title {
36+
margin-bottom: 0;
37+
font-size: 167%;
38+
font-family: 'open sans', arial, sans-serif;
39+
font-weight: 600;
40+
}
41+
42+
.service.topic ul {
43+
list-style-type: none;
44+
font-size: 110%;
45+
line-height: 200%;
46+
}
47+
48+
.service.topic ul li a, .service.topic ul li a em {
49+
font-style: normal;
50+
}
51+
52+
body.docs table th.field-name {
53+
vertical-align: top;
54+
width: 80px;
55+
}
56+
57+
.first.admonition-title {
58+
margin: 0 4px 0 0;
59+
float: left;
60+
font-weight: bold;
61+
}
62+
63+
.admonition {
64+
margin-bottom: 1em;
65+
}
66+
67+
a.headerlink {
68+
visibility: hidden;
69+
padding: 0 4px 0 4px;
70+
text-decoration: none;
71+
font-size: 0.8em;
72+
}
73+
74+
h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, h4:hover > a.headerlink, h5:hover > a.headerlink, h6:hover > a.headerlink, dt:hover > a.headerlink {
75+
visibility: visible;
76+
}
77+
78+
body.docs h2, body.docs h3, body.docs h4, body.docs h5, body.docs h6 {
79+
margin-top: 0.5em;
80+
padding-top: 1em;
81+
}
82+
83+
.viewcode-link {
84+
float: right;
85+
}
86+
87+
footer {
88+
color: #fff;
89+
}
90+

docs/_static/datastore-logo.png

10.5 KB
Loading

docs/_static/storage-logo.png

9.53 KB
Loading

docs/_static/style.css

Lines changed: 656 additions & 54 deletions
Large diffs are not rendered by default.

docs/_templates/layout.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{% set script_files = script_files + ['_static/sidebar.js'] %}
2+
{% set css_files = css_files + ['_static/custom.css'] %}
23

34
{%- block doctype -%}
45
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

docs/index.rst

Lines changed: 48 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,57 @@ If you've never used ``gcloud`` before,
2121
you should probably take a look at
2222
:doc:`getting-started`.
2323

24-
Cloud Datastore
25-
---------------
24+
Services
25+
--------
26+
27+
.. topic:: Cloud Datastore
28+
:class: service
29+
30+
.. image:: /_static/datastore-logo.png
31+
:target: datastore-api.html
32+
33+
- Google's `official documentation <https://developers.google.com/datastore/>`_
34+
- :doc:`datastore-quickstart`
35+
- :doc:`datastore-getting-started`
36+
- :doc:`Cloud Datastore API Documentation <datastore-api>`
37+
38+
.. topic:: Cloud Storage
39+
:class: service
40+
41+
.. image:: /_static/storage-logo.png
42+
:target: storage-api.html
43+
44+
- Google's `official documentation <https://developers.google.com/storage/>`_
45+
- :doc:`storage-quickstart`
46+
- `Getting started with Cloud Storage <https://github.com/GoogleCloudPlatform/gcloud-python/issues/37>`_
47+
- :doc:`Cloud Storage API Documentation <storage-api>`
48+
49+
.. topic:: Compute Engine
50+
:class: service
51+
52+
.. image:: /_static/compute-logo.png
53+
:target: https://github.com/GoogleCloudPlatform/gcloud-python/issues/34
54+
55+
- Google's `official documentation <https://developers.google.com/compute/>`_
56+
- Coming soon...
57+
58+
.. topic:: Cloud SQL
59+
:class: service
60+
61+
.. image:: /_static/cloudsql-logo.png
62+
:target: https://github.com/GoogleCloudPlatform/gcloud-python/issues/35
63+
64+
- Google's `official documentation <https://developers.google.com/cloud-sql/>`_
65+
- Coming soon...
2666

27-
- Google's `official documentation <https://developers.google.com/datastore/>`_
28-
- :doc:`datastore-quickstart`
29-
- :doc:`datastore-getting-started`
30-
- :doc:`Cloud Datastore API Documentation <datastore-api>`
67+
.. topic:: Big Query
68+
:class: service
3169

32-
Cloud Storage
33-
-------------
70+
.. image:: /_static/bigquery-logo.png
71+
:target: https://github.com/GoogleCloudPlatform/gcloud-python/issues/36
3472

35-
- Google's `official documentation <https://developers.google.com/storage/>`_
36-
- :doc:`storage-quickstart`
37-
- :doc:`Cloud Storage API Documentation <storage-api>`
73+
- Google's `official documentation <https://developers.google.com/bigquery/>`_
74+
- Coming soon...
3875

3976
Common modules
4077
--------------

0 commit comments

Comments
 (0)