.. Custom template for autosummary modules. Can be removed when .. https://github.com/sphinx-doc/sphinx/issues/7912 is fixed. dgs.models.loss =============== .. automodule:: dgs.models.loss .. rubric:: Module Functions .. autosummary:: :toctree: :template: function.rst get_loss_function register_loss_function .. rubric:: Modules .. autosummary:: :template: module.rst :toctree: :recursive: loss