[Python-checkins] r66267 - doctools/trunk/doc/_templates/indexsidebar.html
georg.brandl
python-checkins at python.org
Sat Sep 6 22:18:48 CEST 2008
Author: georg.brandl
Date: Sat Sep 6 22:18:48 2008
New Revision: 66267
Log:
Show in "download" sidebar when documented version isn't released.
Modified:
doctools/trunk/doc/_templates/indexsidebar.html
Modified: doctools/trunk/doc/_templates/indexsidebar.html
==============================================================================
--- doctools/trunk/doc/_templates/indexsidebar.html (original)
+++ doctools/trunk/doc/_templates/indexsidebar.html Sat Sep 6 22:18:48 2008
@@ -1,13 +1,23 @@
<h3>Download</h3>
+{% if version.endswith('(SVN)') %}
+<p>This documentation is for version <b>{{ version }}</b>, which is
+ not released yet.</p>
+<p>You can check it out from
+ <a href="http://svn.python.org/projects/doctools">Subversion</a> or look for
+ released versions in the <a href="http://pypi.python.org/pypi/Sphinx">Python
+ Package Index</a>.</p>
+{% else %}
<p>Current version: <b>{{ version }}</b></p>
<p>Get Sphinx from the <a href="http://pypi.python.org/pypi/Sphinx">Python Package
Index</a>, or install it with:</p>
<pre>easy_install Sphinx</pre>
+{% endif %}
<h3>Questions? Suggestions?</h3>
<p>Join the <a href="http://groups.google.com/group/sphinx-dev">Google group</a>:</p>
-<form action="http://groups.google.com/group/sphinx-dev/boxsubscribe" style="padding-left: 1em">
+<form action="http://groups.google.com/group/sphinx-dev/boxsubscribe"
+ style="padding-left: 1em">
<input type="text" name="email" value="your at email"/>
<input type="submit" name="sub" value="Subscribe" />
</form>
More information about the Python-checkins
mailing list