Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added logos and reorganized docs homepage. #39

Merged
merged 1 commit into from
Feb 23, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added docs/_static/bigquery-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/cloudsql-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/compute-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
90 changes: 90 additions & 0 deletions docs/_static/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
#gc-logo img {
width: 280px;
top: -20px;
left: -20px;
}

.gc-search {
left: 320px;
}

body.two-column #gc-content {
margin-left: 206px;
}

body.two-column #gc-sidebar {
width: 190px;
}

/* Clearfix for the services floating. */
.section#services:after {
content: " "; /* Older browser do not support empty content */
visibility: hidden;
display: block;
height: 0;
clear: both;
}

.service.topic {
width: 33%;
height: 435px;
float: left;
text-align: center;
}

.service.topic .topic-title {
margin-bottom: 0;
font-size: 167%;
font-family: 'open sans', arial, sans-serif;
font-weight: 600;
}

.service.topic ul {
list-style-type: none;
font-size: 110%;
line-height: 200%;
}

.service.topic ul li a, .service.topic ul li a em {
font-style: normal;
}

body.docs table th.field-name {
vertical-align: top;
width: 80px;
}

.first.admonition-title {
margin: 0 4px 0 0;
float: left;
font-weight: bold;
}

.admonition {
margin-bottom: 1em;
}

a.headerlink {
visibility: hidden;
padding: 0 4px 0 4px;
text-decoration: none;
font-size: 0.8em;
}

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 {
visibility: visible;
}

body.docs h2, body.docs h3, body.docs h4, body.docs h5, body.docs h6 {
margin-top: 0.5em;
padding-top: 1em;
}

.viewcode-link {
float: right;
}

footer {
color: #fff;
}

Binary file added docs/_static/datastore-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/storage-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
710 changes: 656 additions & 54 deletions docs/_static/style.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% set script_files = script_files + ['_static/sidebar.js'] %}
{% set css_files = css_files + ['_static/custom.css'] %}

{%- block doctype -%}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
Expand Down
59 changes: 48 additions & 11 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,57 @@ If you've never used ``gcloud`` before,
you should probably take a look at
:doc:`getting-started`.

Cloud Datastore
---------------
Services
--------

.. topic:: Cloud Datastore
:class: service

.. image:: /_static/datastore-logo.png
:target: datastore-api.html

- Google's `official documentation <https://developers.google.com/datastore/>`_
- :doc:`datastore-quickstart`
- :doc:`datastore-getting-started`
- :doc:`Cloud Datastore API Documentation <datastore-api>`

.. topic:: Cloud Storage
:class: service

.. image:: /_static/storage-logo.png
:target: storage-api.html

- Google's `official documentation <https://developers.google.com/storage/>`_
- :doc:`storage-quickstart`
- `Getting started with Cloud Storage <https://github.com/GoogleCloudPlatform/gcloud-python/issues/37>`_
- :doc:`Cloud Storage API Documentation <storage-api>`

.. topic:: Compute Engine
:class: service

.. image:: /_static/compute-logo.png
:target: https://github.com/GoogleCloudPlatform/gcloud-python/issues/34

- Google's `official documentation <https://developers.google.com/compute/>`_
- Coming soon...

.. topic:: Cloud SQL
:class: service

.. image:: /_static/cloudsql-logo.png
:target: https://github.com/GoogleCloudPlatform/gcloud-python/issues/35

- Google's `official documentation <https://developers.google.com/cloud-sql/>`_
- Coming soon...

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

Cloud Storage
-------------
.. image:: /_static/bigquery-logo.png
:target: https://github.com/GoogleCloudPlatform/gcloud-python/issues/36

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

Common modules
--------------
Expand Down