Author: jacob
Date: 2009-03-17 11:13:09 -0500 (Tue, 17 Mar 2009)
New Revision: 10072

Added:
   djangoproject.com/fabfile.py
Modified:
   djangoproject.com/djangodocs/templates/docs/doc.html
Log:
[djangoproject.com] Correctly display the doc version in the sidebar 
breadcrumbs.

Modified: djangoproject.com/djangodocs/templates/docs/doc.html
===================================================================
--- djangoproject.com/djangodocs/templates/docs/doc.html        2009-03-17 
10:40:04 UTC (rev 10071)
+++ djangoproject.com/djangodocs/templates/docs/doc.html        2009-03-17 
16:13:09 UTC (rev 10072)
@@ -118,7 +118,7 @@
     <ul>
       {% block breadcrumbs %}
         <li>
-          <a href="{% url document-index lang=lang, version=version %}">{{ 
env.docstitle }}</a>
+          <a href="{% url document-index lang=lang, version=version %}">Django 
{{ version }} documentation</a>
           {% for p in doc.parents %}
             <ul><li><a href="{{ p.link }}">{{ p.title|safe }}</a>
           {% endfor %}

Added: djangoproject.com/fabfile.py
===================================================================
--- djangoproject.com/fabfile.py                                (rev 0)
+++ djangoproject.com/fabfile.py        2009-03-17 16:13:09 UTC (rev 10072)
@@ -0,0 +1,12 @@
+config.fab_hosts = ['djangoproject.com']
+
+def deploy():
+    sudo("cd /home/djangoproject.com && svn up")
+    reload()
+    
+def reload():
+    sudo("invoke-rc.d apache2 reload")
+    
+def flush_cache():
+    sudo("invoke-rc.d memcached restart")
+    


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to