mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove last web leftovers.
This commit is contained in:
@@ -84,16 +84,8 @@
|
||||
{%- set titlesuffix = " — " + docstitle|e %}
|
||||
{%- endif %}
|
||||
<title>{{ title|striptags }}{{ titlesuffix }}</title>
|
||||
{%- if builder == 'web' %}
|
||||
<link rel="stylesheet" href="{{ pathto('index') }}?do=stylesheet{%
|
||||
if in_admin_panel %}&admin=yes{% endif %}" type="text/css" />
|
||||
{%- for link, type, title in page_links %}
|
||||
<link rel="alternate" type="{{ type|e(true) }}" title="{{ title|e(true) }}" href="{{ link|e(true) }}" />
|
||||
{%- endfor %}
|
||||
{%- else %}
|
||||
<link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
|
||||
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
|
||||
{%- endif %}
|
||||
{%- if builder != 'htmlhelp' %}
|
||||
<script type="text/javascript">
|
||||
var DOCUMENTATION_OPTIONS = {
|
||||
|
||||
@@ -11,26 +11,6 @@
|
||||
{% block body %}
|
||||
|
||||
<h1 id="global-module-index">{{ _('Global Module Index') }}</h1>
|
||||
{% if builder == 'web' and freqentries %}
|
||||
<p>{{ _('Most popular modules:') }}</p>
|
||||
<div class="modulecloud">
|
||||
{%- for module in freqentries %}
|
||||
<a href="../q/{{ module.name|e }}/" style="font-size: {{ module.size }}%">{{ module.name|e }}</a>
|
||||
{%- endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if builder == 'web' %}
|
||||
<form class="pfform" action="" method="get">
|
||||
{{ _('Show modules only available on these platforms') }}:<br>
|
||||
{% for pl in platforms -%}
|
||||
<input type="checkbox" name="pf" value="{{ pl }}" id="pl-{{ pl }}"
|
||||
{%- if pl in showpf %} checked="checked"{% endif %}>
|
||||
<label for="pl-{{ pl }}">{{ pl }}</label>
|
||||
{% endfor %}
|
||||
<input type="hidden" name="newpf" value="true">
|
||||
<input type="submit" value="Apply">
|
||||
</form>
|
||||
{% endif %}
|
||||
|
||||
{%- for letter in letters %}
|
||||
<a href="#cap-{{ letter }}"><strong>{{ letter }}</strong></a> {% if not loop.last %}| {% endif %}
|
||||
|
||||
@@ -1,12 +1,4 @@
|
||||
{% extends "layout.html" %}
|
||||
{% set page_links = [
|
||||
(pathto('@rss/' + sourcename), 'application/rss+xml', 'Page Comments'),
|
||||
] %}
|
||||
{% block body %}
|
||||
{% if oldurl %}
|
||||
<div class="docwarning">
|
||||
{% trans %}<strong>Note:</strong> You requested an out-of-date URL from this server. We've tried to redirect you to the new location of this page, but it may not be the right one.{% endtrans %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{{ body }}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user