-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Expand file tree
/
Copy pathlayout.html
More file actions
229 lines (209 loc) · 8.61 KB
/
layout.html
File metadata and controls
229 lines (209 loc) · 8.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
{% extends "basic/layout.html" %}
{% set script_files = ['_static/js/vendor/modernizr-2.6.2.min.js'] %}
{% set css_files = css_files + ['_static/css/normalize.css', '_static/css/github.min.css'] %}
{%- block doctype -%}
<!DOCTYPE html>
{%- endblock %}
{%- macro script() %}
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '{{ url_root }}',
VERSION: '{{ release|e }}',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '{{ '' if no_search_suffix else file_suffix }}',
HAS_SOURCE: {{ has_source|lower }}
};
</script>
{%- for scriptfile in script_files %}
<script type="text/javascript" src="{{ pathto(scriptfile, 1) }}"></script>
{%- endfor %}
{%- endmacro %}
{%- macro css() %}
<link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
{%- for cssfile in css_files %}
<link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" />
{%- endfor %}
{%- endmacro %}
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset={{ encoding }}" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- TODO(silvano): add description -->
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{ metatags }}
{%- block htmltitle %}
<title>{{ title|striptags|e }}{{ titlesuffix }}</title>
{%- endblock %}
{{ css() }}
{{ script() }}
<link href='http://fonts.googleapis.com/css?family=Droid+Sans+Mono|Roboto:300,400,700,700italic,400italic|Open+Sans:300' rel='stylesheet' type='text/css'>
{%- if favicon %}
<link rel="shortcut icon" href="{{ pathto('_static/' + favicon, 1) }}"/>
{%- endif %}
{%- block extrahead %} {% endblock %}
</head>
<body class="lang-page">
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
{%- block header %}
<header class="page-header fixed" role="banner">
<h1 class="logo">
<a href="index.html" title="back to home">
<img src="{{ pathto('_static/images/logo.svg', 1) }}" alt="Google Cloud Platform" />
<span class="gcloud">gcloud</span>
</a>
</h1>
<nav class="main-nav">
<div class="nav-current">Python</div>
<ul class="menu">
<li>
<a href="
https://googlecloudplatform.github.io/gcloud-node" title="Node.js docs page">
<img src="{{ pathto('_static/images/icon-lang-nodejs.svg', 1) }}" alt="Node.js icon" class="menu-icon" />
Node.js
</a>
</li>
<li>
<a href="#" title="Python docs page">
<img src="{{ pathto('_static/images/icon-lang-python.svg', 1) }}" alt="Python icon" class="menu-icon" />
Python
</a>
</li>
</ul>
</nav><!-- end of .main-nav -->
</header><!-- end of .page-header -->
{% endblock %}
{# Silence the sidebar and relbars. #}
{% block sidebar1 %}{% endblock %}
{% block relbar1 %}{% endblock %}
{% block relbar2 %}{% endblock %}
{%- block content %}
<article class="main lang-page" role="main">
<header class="docs-header">
<h1 class="page-title">Python</h1>
<div class="versions">
<span class="v-current">{{ release|e }}</span>
<!--
<a href="versions.html" class="v-btn">
<img src="_static/images/icon-arrow-bullet.svg" />
See version History
</a>-->
</div><!-- end of .versions -->
</header>
<section class="content">
<div class="section" id="getting-started">
<h1>
<span id="getting-started-show">▹</span>
<span id="getting-started-hide" style="display: none">▿</span>
Getting started with
<tt class="docutils literal"><span class="pre">gcloud</span></tt>
</h1>
<div id="getting-started-body" style="display: none">
<p>The
<tt class="docutils literal"><span class="pre">gcloud</span></tt>
library is
<tt class="docutils literal"><span class="pre">pip</span></tt>
install-able:
</p>
<div class="highlight-console">
<div class="highlight">
<pre>
<span class="gp">$</span> pip install gcloud</pre>
</div>
</div>
<p>If you have trouble installing
<tt class="docutils literal"><span class="pre">pycrypto</span></tt>
or
<tt class="docutils literal"><span class="pre">pyopenssl</span></tt>
(and you’re on Ubuntu), you can try install the precompiled
packages:
</p>
<div class="highlight-console">
<div class="highlight">
<pre>
<span class="gp">$</span> sudo apt-get install python-crypto python-openssl</pre>
</div>
</div>
<p>If you want to install everything with
<tt class="docutils literal"><span class="pre">pip</span></tt>,
try installing the
<tt class="docutils literal"><span class="pre">dev</span></tt>
packages beforehand:
</p>
<div class="highlight-console">
<div class="highlight">
<pre>
<span class="gp">$</span> sudo apt-get install python-dev libssl-dev</pre>
</div>
</div>
<p>If you want to install <cite>gcloud-python</cite> from source,
you can clone the repository from GitHub:
</p>
<div class="highlight-console">
<div class="highlight">
<pre>
<span class="gp">$</span> git clone git://github.com/GoogleCloudPlatform/gcloud-python.git
<span class="gp">$</span> <span class="nb">cd </span>gcloud-python
<span class="gp">$</span> python setup.py install</pre>
</div>
</div>
</div>
{% block body %} {% endblock %}
</section><!-- end of .content -->
<nav class="side-nav">
<ul><li><a href="{{ pathto('index') }}">gcloud</a></li></ul>
{{ toctree(includehidden=True, maxdepth=1, titles_only=True) }}
<ul class="external-links">
<li>
<a href="https://github.com/GoogleCloudPlatform/gcloud-python/" title="Python on Github">
<img src="{{ pathto('_static/images/icon-link-github.svg', 1) }}" alt="Github icon" />
Github
</a>
</li>
<li>
<a href="https://github.com/GoogleCloudPlatform/gcloud-python/issues" title="Python issues on Github">
<img src="{{ pathto('_static/images/icon-link-github.svg', 1) }}" alt="Github icon" />
Issues
</a>
</li>
<li>
<a href="http://stackoverflow.com/questions/tagged/gcloud-python" title="gcloud on StackOverflow">
<img src="{{ pathto('_static/images/icon-link-stackoverflow.svg', 1) }}" alt="StackOverflow icon" />
gcloud
</a>
</li>
<li>
<a href="https://pypi.python.org/pypi/gcloud" title="Python package manager">
<img src="{{ pathto('_static/images/icon-link-package-manager.svg', 1) }}" alt="Package Manager icon" />
Package Manager
</a>
</li>
</ul>
</nav><!-- end of .side-nav -->
</article><!-- end of .main -->
<script src="{{ pathto('_static/js/vendor/jquery-1.10.2.min.js', 1) }}"></script>
<script src="{{ pathto('_static/js/plugins.js', 1) }}"></script>
<script src="{{ pathto('_static/js/main.js', 1) }}"></script>
<script>
$("#getting-started-hide").click(function() {
$("#getting-started-hide").hide();
$("#getting-started-show").show();
$("#getting-started-body").hide();
});
$("#getting-started-show").click(function() {
$("#getting-started-hide").show();
$("#getting-started-show").hide();
$("#getting-started-body").show();
});
</script>
{% endblock %}
{# Silence the footer #}
{% block footer %}{% endblock %}
</body>
</html>