open-ephys / bonsai-onix1-docs

Documentation for the OpenEphys.Onix1 Bonsai package
https://open-ephys.github.io/bonsai-onix1-docs/
Creative Commons Attribution Share Alike 4.0 International
0 stars 2 forks source link

Property xref should go to property #70

Open jonnew opened 1 month ago

jonnew commented 1 month ago

I want to link to ContextTask.AcquisitionClockHz. I use this xref: <xref:OpenEphys.Onix1.OutputClockParameters>, but it just takes me to the top level ContextTask page (same as .../OpenEphys.Onix1.ContextTask.html)

image

Instead of

image
cjsha commented 3 weeks ago

This is definitely possible. They do it on the Bonsai docs using the modern template (they make minor tweaks to the template but those seem irrelevant to this issue). I don't know if I'm breaking something in our custom template that's causing these <see> tags to point to the page instead of to an html element with the relevant id on the page.

For example, navigate to this page and click on one of the "Factor" hyperlinks. Here is the relevant source code.