From 140676040e33242f3284bc6088c11e650709878a Mon Sep 17 00:00:00 2001 From: IanCa Date: Fri, 20 Oct 2023 19:13:53 -0500 Subject: [PATCH] Don't draw full titles. Full names are still drawn some other places --- docs/source/_templates/custom-class-template.rst | 2 +- docs/source/_templates/custom-module-template.rst | 2 +- docs/source/api2.rst | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) 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