{% 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>
