Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

minor cleanup

  • Loading branch information...
commit 08d55ecbcd86d28c96eb9c961093ed9aed49860d 1 parent 573a608
@wraithan wraithan authored
View
1  deploy_requirements.txt
@@ -10,5 +10,4 @@ django-redis-cache==0.9.5
pillow
#Uncomment this if you want to index things in solr.
-pyquery==1.2.2
cssselect==0.7.1
View
1  pip_requirements.txt
@@ -19,6 +19,7 @@ github2==0.5.2
httplib2==0.7.2
mercurial==2.6.3
mimeparse==0.1.3
+pyquery==1.2.2
redis==2.7.1
simplejson==2.3.0
south==0.7.6
View
2  readthedocs/restapi/views.py
@@ -198,7 +198,7 @@ def index_search(request):
'_boost': 5, # scaled_page[page]
}
"""
- page_obj = Page()
+ page_obj = PageIndex()
data = json.loads(request.raw_post_data)['data']
page_list = data['page_list']
project_pk = data['project_pk']
View
1  readthedocs/search/parse_json.py
@@ -37,6 +37,7 @@ def process_file(filename):
data = json.loads(file_contents)
headers = []
content = ''
+ title = ''
if 'current_page_name' in data:
path = data['current_page_name']
else:
Please sign in to comment.
Something went wrong with that request. Please try again.