sphinx_django/urls.py~
changeset 2 f5e18f8ed036
parent 0 54f784230511
child 3 de4a2ed2f34b
equal deleted inserted replaced
1:5574cfc2b28d 2:f5e18f8ed036
     8     # Example:
     8     # Example:
     9     # (r'^sphinx_django/', include('sphinx_django.foo.urls')),
     9     # (r'^sphinx_django/', include('sphinx_django.foo.urls')),
    10 
    10 
    11     (r'^test/','sphinxcomment.views.test' ),
    11     (r'^test/','sphinxcomment.views.test' ),
    12     (r'chapter/', 'sphinxcomment.views.chapter'),
    12     (r'chapter/', 'sphinxcomment.views.chapter'),
    13     (r'count/', 'sphinxcomment.views.chapter_count'),                  
    13     (r'count/(?P<chapter_name>.+)?$', 'sphinxcomment.views.chapter_count'),                  
    14     (r'single/(?P<id>[^/]+)/?$', 'sphinxcomment.views.single'),
    14     (r'single/(?P<paragraph_id>[^/]+)/$', 'sphinxcomment.views.single'),
    15     (r'submit/(?P<id>[^/]+)/?$', 'sphinxcomment.views.submit'),
    15     (r'submit/(?P<paragraph_id>[^/]+)/$', 'sphinxcomment.views.submit'),
    16     (r'^static/(?P<path>.*)$', 'django.views.static.serve',
    16     (r'^static/(?P<path>.*)$', 'django.views.static.serve',
    17      {'document_root': '/home/amit/review/sttp/_build/html/'}),
    17      {'document_root': '/home/amit/review/sttp_test/_build/commenthtml/'}),
    18                        
    18                        
    19     # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
    19     # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
    20     # to INSTALLED_APPS to enable admin documentation:
    20     # to INSTALLED_APPS to enable admin documentation:
    21     # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
    21     # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
    22 
    22