diff --git a/docs/conf.py b/docs/conf.py index 7a7f56d..61dc485 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -33,6 +33,8 @@ # intersphinx allows referencing other packages sphinx docs intersphinx_mapping = { "python": ("https://docs.python.org/3.9", None), + "traitlets": ("https://traitlets.readthedocs.io/en/stable/", None), + "ctapipe": ("https://ctapipe.readthedocs.io/en/v0.20.0/", None), } # -- Options for HTML output ------------------------------------------------- @@ -43,3 +45,6 @@ # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ["_static"] html_logo = "_static/cta.png" + +# fixes "no sub file found" for members inherited from traitlets +numpydoc_class_members_toctree = False