~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to sphinxdoc/views.py

  • Committer: franku
  • Date: 2016-11-07 13:26:04 UTC
  • mto: This revision was merged to the branch mainline in revision 434.
  • Revision ID: somal@arcor.de-20161107132604-wdwbyaggprrg0di5
added sphinxdoc genindex; cleanups

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
from django.http import Http404
7
7
from django.shortcuts import get_object_or_404, render_to_response
8
8
from django.template import RequestContext
9
 
#from django.utils import simplejson as json
10
9
import json
11
10
from django.views import static
12
11
 
52
51
    }
53
52
    if 'title' not in data['doc']:
54
53
        data['doc']['title'] = SPECIAL_TITLES[page_name]
55
 
        
 
54
 
56
55
    return render_to_response(templates, data,
57
56
            context_instance=RequestContext(request))
58
57