Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Checkins

r66267 - doctools/trunk/doc/_templates/indexsidebar.html

 

 

Python checkins RSS feed   Index | Next | Previous | View Threaded


python-checkins at python

Sep 6, 2008, 1:18 PM

Post #1 of 1 (42 views)
Permalink
r66267 - doctools/trunk/doc/_templates/indexsidebar.html

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>
_______________________________________________
Python-checkins mailing list
Python-checkins[at]python.org
http://mail.python.org/mailman/listinfo/python-checkins

Python checkins RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.