You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug Description & Expected Behavior: <see cref="ContextTask.AcquisitionClockHz"/> in XML comment resolves to: <xref href="OpenEphys.Onix1.ContextTask.AcquisitionClockHz" data-throw-if-not-resolved="false"></xref> in yaml which resolves to: <a class="xref" href="OpenEphys.Onix1.ContextTask.html">Acquisition<wbr>Clock<wbr>Hz</a> in html instead of: <a class="xref" href="OpenEphys.Onix1.ContextTask.html#OpenEphys_Onix1_ContextTask_AcquisitionClockHz">Acquisition<wbr>Clock<wbr>Hz</a>.
The effect of this is that users are linked to the page instead of the id on page that I want to direct user to.
For example, clicking on this hyperlink AcquisitionClockHz on this page should be AcquisitionClockHz instead (compare the underlying URLs - one is appended with a /#mangled_uid). Note that an html element with that particular id "OpenEphys_Onix1_CreateContext_AcquisitionClockHz" doesn't currently exist on the deployed website, but it still doesn't work when I add id={{id}} data_uid={{uid}} to an html element which I have done on a local branch.
What are the conditions that create the correct href value where the URL is appended with a #mangled_uid? This is all done using a custom template, but I'm not sure how that might mess it up.
cjsha
changed the title
[Bug] <see> XML tag ends up points to page instead of element on page with corresponding id
[Bug] <see> XML tag ends up as HTML that points to page instead of element on page with corresponding id
Oct 28, 2024
Bug Description & Expected Behavior:
<see cref="ContextTask.AcquisitionClockHz"/>
in XML comment resolves to:<xref href="OpenEphys.Onix1.ContextTask.AcquisitionClockHz" data-throw-if-not-resolved="false"></xref>
in yaml which resolves to:<a class="xref" href="OpenEphys.Onix1.ContextTask.html">Acquisition<wbr>Clock<wbr>Hz</a>
in html instead of:<a class="xref" href="OpenEphys.Onix1.ContextTask.html#OpenEphys_Onix1_ContextTask_AcquisitionClockHz">Acquisition<wbr>Clock<wbr>Hz</a>
.The effect of this is that users are linked to the page instead of the id on page that I want to direct user to.
For example, clicking on this hyperlink AcquisitionClockHz on this page should be AcquisitionClockHz instead (compare the underlying URLs - one is appended with a /#mangled_uid). Note that an html element with that particular id "OpenEphys_Onix1_CreateContext_AcquisitionClockHz" doesn't currently exist on the deployed website, but it still doesn't work when I add
id={{id}} data_uid={{uid}}
to an html element which I have done on a local branch.What are the conditions that create the correct href value where the URL is appended with a #mangled_uid? This is all done using a custom template, but I'm not sure how that might mess it up.
The repo where I am having this issue is here:
https://github.com/open-ephys/bonsai-onix1-docs
Context (please complete the following information):
Thank you so much for your help.
The text was updated successfully, but these errors were encountered: