diff --git a/docs/source/_templates/custom-class-template.rst b/docs/source/_templates/custom-class-template.rst index 490f83ee..cf03326d 100644 --- a/docs/source/_templates/custom-class-template.rst +++ b/docs/source/_templates/custom-class-template.rst @@ -1,4 +1,4 @@ -{{ fullname | escape | underline }} +{{ fullname.split('.')[-1] | escape | underline }} .. currentmodule:: {{ module }} diff --git a/docs/source/_templates/custom-module-template.rst b/docs/source/_templates/custom-module-template.rst index 7fec9f9c..9e9c8a77 100644 --- a/docs/source/_templates/custom-module-template.rst +++ b/docs/source/_templates/custom-module-template.rst @@ -1,4 +1,4 @@ -{{ fullname | escape | underline}} +{{ fullname.split('.')[-1] | escape | underline}} .. currentmodule:: {{ module }} diff --git a/docs/source/api2.rst b/docs/source/api2.rst index 02d3aeae..1f78f469 100644 --- a/docs/source/api2.rst +++ b/docs/source/api2.rst @@ -1,5 +1,5 @@ -HED API reference (Auto style) -============================== +HED API reference +================= .. currentmodule:: hed