Django

Code

Changeset 1902

Show
Ignore:
Timestamp:
01/10/06 22:53:39 (3 years ago)
Author:
adrian
Message:

Changed django_website/apps/docs/parts/build_documentation.py to add link to old version for all docs

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • djangoproject.com/django_website/apps/docs/parts/build_documentation.py

    r514 r1902  
    213213        elif isinstance(node.parent, nodes.document): 
    214214            self.body.append(self.starttag(node, 'h1', '', CLASS='title')) 
    215             self.context.append('</h1>\n') 
     215            self.context.append('</h1>\n<h2 class="deck">This covers the Django development version. Old version: <a href="/documentation/0_90/">0.90 docs</a></h2>\n') 
    216216            self.in_document_title = len(self.body) 
    217217        else: