Allow loading and serving of developer docs on the main website

This commit is contained in:
Magnus Hagander
2011-11-22 20:58:29 +01:00
parent 6f24ad9f66
commit 7e9742c678
2 changed files with 9 additions and 5 deletions

View File

@ -42,9 +42,9 @@ urlpatterns = patterns('',
(r'^mirrors.xml$', 'downloads.views.mirrors_xml'),
(r'^applications-v2.xml$', 'downloads.views.applications_v2_xml'),
(r'^docs/(current|\d\.\d)/(static|interactive)/(.*).html?$', 'docs.views.docpage'),
(r'^docs/(current|\d\.\d)/(static|interactive)/$', 'docs.views.docsrootpage'),
(r'^docs/(current|\d\.\d)/$', 'docs.views.redirect_root'),
(r'^docs/(current|devel|\d\.\d)/(static|interactive)/(.*).html?$', 'docs.views.docpage'),
(r'^docs/(current|devel|\d\.\d)/(static|interactive)/$', 'docs.views.docsrootpage'),
(r'^docs/(current|devel|\d\.\d)/$', 'docs.views.redirect_root'),
(r'^community/$', 'core.views.community'),
(r'^community/contributors/$', 'contributors.views.completelist'),