Permalink
Browse files

Add comment about /page/

  • Loading branch information...
1 parent 011896a commit b8d0843779482134862057b85c676a092099228d @ericholscher ericholscher committed Mar 18, 2013
Showing with 1 addition and 1 deletion.
  1. +0 −1 readthedocs/projects/tasks.py
  2. +1 −0 readthedocs/urls.py
View
1 readthedocs/projects/tasks.py
@@ -557,7 +557,6 @@ def save_term(version, term, url):
redis_obj.setnx('redirects:v4:%s:%s:%s:%s:%s' % (lang, version_slug,
project_slug, term, url), 1)
-
def symlink_cname(version):
build_dir = version.project.rtd_build_path(version.slug)
#Chop off the version from the end.
View
1 readthedocs/urls.py
@@ -42,6 +42,7 @@
'filename': ''},
name='docs_detail'
),
+ # Handle /page/<path> redirects for explicit "latest" version goodness.
url(r'^docs/(?P<project_slug>[-\w]+)/page/(?P<filename>.*)$',
'core.views.serve_docs',
{'version_slug': None,

0 comments on commit b8d0843

Please sign in to comment.