-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
layout.html
152 lines (140 loc) · 5.9 KB
/
layout.html
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
{% 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">
{% 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>
{% endblock %}
{# Silence the footer #}
{% block footer %}{% endblock %}
</body>
</html>