From 6b23a07b6263fe86a7e1cdd790e850508e8d1530 Mon Sep 17 00:00:00 2001 From: tarek Date: Wed, 11 Nov 2009 22:11:02 +0100 Subject: added a side bar with a download link to the doc. fixes #89 --HG-- branch : distribute extra : rebase_source : 30b018e5e29225e00ffcb311af2cd0d4ad6eed6c --- CHANGES.txt | 1 + docs/_templates/indexsidebar.html | 8 ++++++++ docs/conf.py | 3 ++- 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 docs/_templates/indexsidebar.html diff --git a/CHANGES.txt b/CHANGES.txt index 5a02a4fe..4c194987 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -9,6 +9,7 @@ CHANGES * Issue 90: unknown setuptools version can be added in the working set * Issue 87: setupt.py doesn't try to convert distribute_setup.py anymore Initial Patch by arfrever. +* Issue 89: added a side bar with a download link to the doc. ----- 0.6.8 diff --git a/docs/_templates/indexsidebar.html b/docs/_templates/indexsidebar.html new file mode 100644 index 00000000..932909f3 --- /dev/null +++ b/docs/_templates/indexsidebar.html @@ -0,0 +1,8 @@ +

Download

+ +

Current version: {{ version }}

+

Get Distribute from the Python Package Index + +

Questions? Suggestions? Contributions?

+ +

Visit the Distribute project page

diff --git a/docs/conf.py b/docs/conf.py index 4f13d857..74435672 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -134,7 +134,8 @@ html_short_title = "Distribute" #html_use_smartypants = True # Custom sidebar templates, maps document names to template names. -#html_sidebars = {} +html_sidebars = {'index': 'indexsidebar.html'} + # Additional templates that should be rendered to pages, maps page names to # template names. -- cgit v1.2.1