From e489db8f2592850be34950baea4e5aa3117f1bee Mon Sep 17 00:00:00 2001
From: Georg Brandl
Date: Thu, 2 Oct 2008 19:09:47 +0000
Subject: [PATCH] Forward-port r66736.
---
Doc/Makefile | 4 ++--
Doc/tools/sphinxext/download.html | 4 ++--
Doc/tools/sphinxext/layout.html | 3 +--
3 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/Doc/Makefile b/Doc/Makefile
index c1fcf6e5219..2b2fd14315f 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -111,7 +111,7 @@ dist:
# archive the HTML
make html
- cp -a build/html dist/python$(DISTVERSION)-docs-html
+ cp -pPR build/html dist/python$(DISTVERSION)-docs-html
tar -C dist -cf dist/python$(DISTVERSION)-docs-html.tar python$(DISTVERSION)-docs-html
bzip2 -9 -k dist/python$(DISTVERSION)-docs-html.tar
(cd dist; zip -q -r -9 python$(DISTVERSION)-docs-html.zip python$(DISTVERSION)-docs-html)
@@ -120,7 +120,7 @@ dist:
# archive the text build
make text
- cp -a build/text dist/python$(DISTVERSION)-docs-text
+ cp -pPR build/text dist/python$(DISTVERSION)-docs-text
tar -C dist -cf dist/python$(DISTVERSION)-docs-text.tar python$(DISTVERSION)-docs-text
bzip2 -9 -k dist/python$(DISTVERSION)-docs-text.tar
(cd dist; zip -q -r -9 python$(DISTVERSION)-docs-text.zip python$(DISTVERSION)-docs-text)
diff --git a/Doc/tools/sphinxext/download.html b/Doc/tools/sphinxext/download.html
index 1f51399bacf..59aea630389 100644
--- a/Doc/tools/sphinxext/download.html
+++ b/Doc/tools/sphinxext/download.html
@@ -31,8 +31,8 @@ in the table are the size of the download files in Kilobytes.
Download (ca. 4 MB) |
Plain Text |
- Download (ca. 2 MB) |
- Download (ca. 1.5 MB) |
+ Download (ca. 2 MB) |
+ Download (ca. 1.5 MB) |
diff --git a/Doc/tools/sphinxext/layout.html b/Doc/tools/sphinxext/layout.html
index 689cbdace07..a6afd1506e5 100644
--- a/Doc/tools/sphinxext/layout.html
+++ b/Doc/tools/sphinxext/layout.html
@@ -1,5 +1,4 @@
{% extends "!layout.html" %}
{% block rootrellink %}
-
-{{ super() }}
+{{ shorttitle }}{{ reldelim1 }}
{% endblock %}