Skip to content

Commit

Permalink
fix dictionary generation script to generate links for extension APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
bashbaug committed May 21, 2024
1 parent 6c8fcb4 commit 78cba23
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions scripts/gen_dictionaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,9 @@ def GetFooter():
name = api.get('name')
#print('found extension api: ' +name)

# Example without link:
#
# // clGetGLObjectInfo
# :clGetGLObjectInfo: pass:q[*clGetGLObjectInfo*]
apiLinkFile.write('// ' + name + '\n')
apiLinkFile.write(':' + name + ': pass:q[*' + name + '*]\n')
apiLinkFile.write(':' + name + '_label: pass:q[*' + name + '*]\n')
apiLinkFile.write(':' + name + ': <<' + name + ',{' + name + '_label}>>\n')
apiLinkFile.write('\n')

apiNoLinkFile.write('// ' + name + '\n')
Expand Down

0 comments on commit 78cba23

Please sign in to comment.