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
Notes: blender-bot 2023-02-14 08:38:14 +01:00
Referenced by issue #52761, BMesh Boolean - Freaks out sometimes
Referenced by issue #52488, Linux - Audio Mixdown - flac audio isnt created correctly
Referenced by issue #52291, Boolean - BMesh - Sometimes fails when using ngons
Referenced by issue #52295, Boolean - Bmesh - Fails when there are duplicate verts
Referenced by issue #52255, New Depsgraph - Constraint and Drivers not working together when the driver references itself
Referenced by issue #52085, New Depsgraph - Changing camera is not evaluated properly
1 changed files with 2 additions and 4 deletions

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()