Skip to content

Commit f83eee6

Browse files
committed
Use Version.build_data from the endpoint
1 parent 89662fa commit f83eee6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

readthedocs/proxito/views/hosting.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,8 @@ def get(self, request):
6262
},
6363
}
6464

65+
# Update this data with the one generated at build time by the doctool
66+
if version.build_data:
67+
data.update(version.build_data)
68+
6569
return JsonResponse(data, json_dumps_params=dict(indent=4))

0 commit comments

Comments
 (0)