aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortarek <none@none>2009-11-11 22:11:02 +0100
committertarek <none@none>2009-11-11 22:11:02 +0100
commit6b23a07b6263fe86a7e1cdd790e850508e8d1530 (patch)
treeedc2b095ecdf660aaa8f4b227990839dd4a1f1e7
parente589e51c764bda35f353bb32d107364dab97d8ae (diff)
downloadexternal_python_setuptools-6b23a07b6263fe86a7e1cdd790e850508e8d1530.tar.gz
external_python_setuptools-6b23a07b6263fe86a7e1cdd790e850508e8d1530.tar.bz2
external_python_setuptools-6b23a07b6263fe86a7e1cdd790e850508e8d1530.zip
added a side bar with a download link to the doc. fixes #89
--HG-- branch : distribute extra : rebase_source : 30b018e5e29225e00ffcb311af2cd0d4ad6eed6c
-rw-r--r--CHANGES.txt1
-rw-r--r--docs/_templates/indexsidebar.html8
-rw-r--r--docs/conf.py3
3 files changed, 11 insertions, 1 deletions
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 @@
+<h3>Download</h3>
+
+<p>Current version: <b>{{ version }}</b></p>
+<p>Get Distribute from the <a href="http://pypi.python.org/pypi/distribute"> Python Package Index</a>
+
+<h3>Questions? Suggestions? Contributions?</h3>
+
+<p>Visit the <a href="http://bitbucket.org/tarek/distribute">Distribute project page</a> </p>
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.