From e757005190abe713daf1f2d40ed6afe8d8ee5b0c Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 3 May 2008 20:52:18 +0000 Subject: [PATCH] Merge OpenSearch-related changes. --- Doc/conf.py | 6 ++++++ Doc/tools/sphinxext/layout.html | 5 +++++ Doc/tools/sphinxext/opensearch.xml | 14 ++++++++++++++ Doc/tools/sphinxext/static/py.png | Bin 0 -> 695 bytes 4 files changed, 25 insertions(+) create mode 100644 Doc/tools/sphinxext/layout.html create mode 100644 Doc/tools/sphinxext/opensearch.xml create mode 100644 Doc/tools/sphinxext/static/py.png diff --git a/Doc/conf.py b/Doc/conf.py index 27f5ed3965..8b1514bae9 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -86,6 +86,12 @@ html_additional_pages = { 'index': 'indexcontent.html', } +# Output an OpenSearch description file. +html_use_opensearch = 'http://docs.python.org/dev/3.0' + +# Additional static files. +html_static_path = ['tools/sphinxext/static'] + # Output file base name for HTML help builder. htmlhelp_basename = 'python' + release.replace('.', '') diff --git a/Doc/tools/sphinxext/layout.html b/Doc/tools/sphinxext/layout.html new file mode 100644 index 0000000000..689cbdace0 --- /dev/null +++ b/Doc/tools/sphinxext/layout.html @@ -0,0 +1,5 @@ +{% extends "!layout.html" %} +{% block rootrellink %} +
  • +{{ super() }} +{% endblock %} diff --git a/Doc/tools/sphinxext/opensearch.xml b/Doc/tools/sphinxext/opensearch.xml new file mode 100644 index 0000000000..d672c2e2b8 --- /dev/null +++ b/Doc/tools/sphinxext/opensearch.xml @@ -0,0 +1,14 @@ + + + Python Docs + Python Documentation + Search the Python documentation + utf-8 + + + + + + http://www.python.org/images/favicon16x16.ico + + diff --git a/Doc/tools/sphinxext/static/py.png b/Doc/tools/sphinxext/static/py.png new file mode 100644 index 0000000000000000000000000000000000000000..93e4a02c3d321c545898a2ebb8873c26dd8a9e5b GIT binary patch literal 695 zcmV;o0!aOdP)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2iOD~ z5jY_RGbdgE00K8jL_t(I%Vm>KNL4`;hrfH@vv+$Uln|xSCTLTOHmzE;5FTwpDtJ)a zz)exE-2_34AR^i+ZCXeh7m*-F5k*FrmbSHs%rX_!{PXUec{69`w(#D(>Vd<+%=bIz zH_V)XUD5sE?K5ebbKaSDu}#Dnq^Y!3`tis9>wSO*T+WBP3wS3NNBU~*PAtw^yjZ+< zQ5yK0z%d{y@_Pz6YdL>s7$6Y^hI$}5GUX?Ns>+iCUiRP z7h|*&%kQa?wQA%pYzqpaf*4?WM!x_ygY0K@07rplx^QhGhnE)r4wbx0x11<&3V?63 z=F8ch)p6iQ88E;iumPmSZif%JIwIgKh$T3)*ab8ImGLVf;IoYtVAb11Z&@wm>96=S z)!B&hojbAPoik&f)Lp;=N!HK;X~5oyfJ49$pbcorTyADv dm$H!t;2#0MumAjv0Ga>*002ovPDHLkV1gIiH5UK? literal 0 HcmV?d00001 -- 2.50.1