cta-observatory / ctapipe

Low-level data processing pipeline software for CTAO or similar arrays of Imaging Atmospheric Cherenkov Telescopes
https://ctapipe.readthedocs.org
BSD 3-Clause "New" or "Revised" License
64 stars 268 forks source link

Link in sphinx-gallery tutorials link to traitlets base class, not to ctapipe implementation #2471

Closed maxnoe closed 3 months ago

maxnoe commented 10 months ago

Describe the bug

If you go to e.g.: https://ctapipe.readthedocs.io/en/latest/auto_examples/tutorials/calibrated_data_exploration.html you see that sphinx-gallery creates cross-links from the code examples to documentation for classes.

Some classes. Only configuragbles. And the links don't point to the implementation of the specific class in ctapipe but to the traitlets.config.Configurable base class in the traitlets docs.

To Reproduce

Go to the above link and check.

Expected behavior

Link all ctapipe imports and link to the correct class, not the external base class.