Docs: Fix file:line links in generated API docs

This commit is contained in:
Campbell Barton
2017-06-18 02:33:13 +10:00
parent 1ec987f73c
commit b94a433ca3

View File

@@ -1613,10 +1613,8 @@ def pyrna2sphinx(basepath):
else:
url_base = API_BASEURL
fw(" :file: `%s <%s/%s>`_:%d\n\n" % (location[0],
url_base,
location[0],
location[1]))
fw(" :file: `%s\\:%d <%s/%s$%d>`_\n\n" %
(location[0], location[1], url_base, location[0], location[1]))
file.close()