analogdevicesinc / TransceiverToolbox

MATLAB toolbox for ADI transceiver products
https://analogdevicesinc.github.io/TransceiverToolbox/master
Other
56 stars 31 forks source link

"Page not found" error in documentation #125

Open ribdp opened 1 year ago

ribdp commented 1 year ago

Hi

It appears that the Index tab in the documentation for the toolbox, points to a page that is not present at the specified path, resulting in the following bug- Trx_doc_bug

ribdp commented 1 year ago

When the _gentoc method of _gen_mdpages.py creates helptoc.xml, the line highlighted in the image below, gets added, leading to the aforementioned bug -

image

This can be fixed in the _gentoc method, by removing the string "index" from the list pages before rendering the template toc.tmpl. Something like the following -

image