From 25e1549f6339ae06d56a60faf196a171501ee877 Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Tue, 7 May 2024 14:22:25 +0200 Subject: [PATCH] forgotten self --- src/pydata_sphinx_theme/toctree.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pydata_sphinx_theme/toctree.py b/src/pydata_sphinx_theme/toctree.py index dcc76228f..cb0144432 100644 --- a/src/pydata_sphinx_theme/toctree.py +++ b/src/pydata_sphinx_theme/toctree.py @@ -113,7 +113,7 @@ def unique_html_id(base_id: str): return next(get_or_create_id_generator(base_id)) @cache - def _generate_nav_info() -> List[LinkInfo]: + def _generate_nav_info(self) -> List[LinkInfo]: """Generate informations necessary to generate nav. Instead of messing with html later, having this as a util function @@ -198,7 +198,7 @@ def _generate_nav_info() -> List[LinkInfo]: return links_data @cache - def generate_header_nav_before_dropdown( + def _generate_header_nav_before_dropdown( n_links_before_dropdown, ) -> Tuple[str, List[str]]: """Return html for navbar and dropdown.