Skip to content

Commit

Permalink
forgotten self
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed May 14, 2024
1 parent 4f8badd commit 25e1549
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pydata_sphinx_theme/toctree.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 25e1549

Please sign in to comment.