Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Doc/tools/sphinxext/layout.html

    r2 r391  
    33        <li><img src="{{ pathto('_static/py.png', 1) }}" alt=""
    44                 style="vertical-align: middle; margin-top: -1px"/></li>
    5         <li><a href="{{ pathto('index') }}">{{ shorttitle }}</a>{{ reldelim1 }}</li>
     5        <li><a href="http://www.python.org/">Python</a>{{ reldelim1 }}</li>
     6        <li>
     7          {%- if versionswitcher is defined %}
     8          <span class="version_switcher_placeholder">{{ release }}</span>
     9          <a href="{{ pathto('index') }}">Documentation</a>{{ reldelim1 }}
     10          {%- else %}
     11          <a href="{{ pathto('index') }}">{{ shorttitle }}</a>{{ reldelim1 }}
     12          {%- endif %}
     13        </li>
    614{% endblock %}
    715{% block extrahead %}
    816    <link rel="shortcut icon" type="image/png" href="{{ pathto('_static/py.png', 1) }}" />
     17    {% if not embedded %}<script type="text/javascript" src="{{ pathto('_static/copybutton.js', 1) }}"></script>{% endif %}
     18    {% if versionswitcher is defined and not embedded %}<script type="text/javascript" src="{{ pathto('_static/version_switch.js', 1) }}"></script>{% endif %}
    919{{ super() }}
    1020{% endblock %}
     
    1323    &copy; <a href="{{ pathto('copyright') }}">Copyright</a> {{ copyright|e }}.
    1424    <br />
    15     The Python Software Foundation is a non-profit corporation. 
     25    The Python Software Foundation is a non-profit corporation.
    1626    <a href="http://www.python.org/psf/donations/">Please donate.</a>
    1727    <br />
    1828    Last updated on {{ last_updated|e }}.
     29    <a href="{{ pathto('bugs') }}">Found a bug</a>?
     30    <br />
    1931    Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version|e }}.
    2032    </div>
    2133{% endblock %}
     34{% block sidebarsourcelink %}
     35{%- if show_source and has_source and sourcename %}
     36<h3>{{ _('This Page') }}</h3>
     37<ul class="this-page-menu">
     38  <li><a href="{{ pathto('bugs') }}">Report a Bug</a></li>
     39  <li><a href="{{ pathto('_sources/' + sourcename, true)|e }}"
     40         rel="nofollow">Show Source</a></li>
     41</ul>
     42{%- endif %}
     43{% endblock %}
Note: See TracChangeset for help on using the changeset viewer.