Source

virtualenvwrapper / sphinx / web / templates / layout.html

Full commit
{% extends "base.html" %}

{% block title %}{{ title }} - {{ project }}{% endblock %}

{% block head_before_css %}
<link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" 
    type="text/css" />
<style>
    body {
        margin: 8px;
    }
    .highlight {
        background-color: white;
        border: 0;
    }
    .highlight pre {
        background-color: white;
    }
</style>
{% endblock %}

{% block head %}
<script type="text/javascript">
  var DOCUMENTATION_OPTIONS = {
      URL_ROOT:    '{{ pathto("", 1) }}',
      VERSION:     '{{ release }}',
      COLLAPSE_MODINDEX: false,
      FILE_SUFFIX: '{{ file_suffix }}'
  };
</script>

<script type="text/javascript" src="{{ pathto('_static/jquery.js', 1) }}"></script>
<script type="text/javascript" src="{{ pathto('_static/doctools.js', 1) }}"></script>

{%- block rellinks %}
    {%- if hasdoc('about') %}
    <link rel="author" title="About these documents" href="{{ pathto('about') }}" />
    {%- endif %}
    <link rel="contents" title="Global table of contents" href="{{ pathto('contents') }}" />
    <link rel="index" title="Global index" href="{{ pathto('genindex') }}" />
    {%- if hasdoc('copyright') %}
    <link rel="copyright" title="Copyright" href="{{ pathto('copyright') }}" />
    {%- endif %}
    <link rel="top" title="{{ docstitle }}" href="{{ pathto('index') }}" />
    {%- if parents %}
    <link rel="up" title="{{ parents[-1].title|striptags }}" href="{{ parents[-1].link|e }}" />
    {%- endif %}
    {%- if next %}
    <link rel="next" title="{{ next.title|striptags }}" href="{{ next.link|e }}" />
    {%- endif %}
    {%- if prev %}
    <link rel="prev" title="{{ prev.title|striptags }}" href="{{ prev.link|e }}" />
    {%- endif %}
{%- endblock %}
{% endblock %}
    
{% block sidebar %}
{%- block sidebartoc %}
{%- if display_toc %}
  <h3>Page Contents</h3>
  {{ toc }}
{%- endif %}
{%- endblock %}

    <h3>Navigation</h3>
    <a href="/docs/{{project}}/">Top</a><br/>
{% if next or prev %}
    {%- if prev %}
      <a href="{{ prev.link|e }}" title="previous chapter">Previous: {{ prev.title }}</a><br/>
    {%- endif %}

    {%- if next %}
      <a href="{{ next.link|e }}" title="next chapter">Next: {{ next.title }}</a><br/>
    {%- endif %}
{% endif %}
    <a href="/projects/{{project}}/">{{project}} Home</a><br/>

    {%- if show_source and has_source and sourcename %}
      <h3>{{ _('This Page') }}</h3>
      <a href="{{ pathto('_sources/' + sourcename, true)|e }}"
               rel="nofollow">{{ _('Show Source') }}</a>
      </ul>
    {%- endif %}

    <p>
  <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/us/" rel="license"><img alt="Creative Commons License" style="border-width:0; align: center;" src="http://i.creativecommons.org/l/by-nc-sa/3.0/us/88x31.png"/></a>
    </p>
{% endblock %}

{% block sidebar_l %}
{% endblock %}

{% block content %}
{% block body %}{% endblock %}
{% endblock %}

{% block footer %}
<p>
  {%- if hasdoc('copyright') %}
    <a href="{{ pathto('copyright') }}">&copy; Copyright </a> {{ copyright }}.
  {%- else %}
    &copy; Copyright {{ copyright }}.
  {%- endif %}
  {%- if last_updated %}
    | Last updated on {{ last_updated }}.
  {%- endif %}
  {%- if show_sphinx %}
   | Created using <a href="http://sphinx.pocoo.org/">Sphinx</a>.
  {%- endif %}
   | Design based on "Leaves" by <a href="http://smallpark.org">SmallPark</a>
</p>
   
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript" />
<script type="text/javascript">
  _uacct = "UA-1847381-1";
  urchinTracker();
</script>
{% endblock %}