Open alycm opened 3 years ago
I think we should just add the anchors.
We just started generating the function prototypes for extension functions recently, so if we switch to those we'll always be in sync with the XML file and we'll get the anchors automatically. I've been using the automatically generated prototypes for an upcoming extension and it has worked out very well.
I believe all of those come from static refpages (under man/static/) that exist because there is not an extractable refpage for that API in the extension spec. The extensions are written as diffs rather than containing a compact description of each API that can be tagged for extraction. So if there's a natural place to attach the anchor that would be great; if not, the corresponding file in man/static/ can be edited to remove the link from the "Document Notes" section.
Various links in
man/static/clFOO.txt
link toOpenCL_Ext.html#clFoo
when there is noclFoo
anchor in that document. This doesn't cause much of an issue, as the link exists, you just land at the top of the document.The fix is either to link to the anchor of the extension that describes
clFoo
, or to add an anchor forclFoo
.This is the list of offending links I found (the links appear like this in the source verbatim, so you can find them by searching):