Skip to content

Commit

Permalink
fixup! Rename get_anchor method before removal in mkdocstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Aug 21, 2023
1 parent a4255f4 commit 7850066
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mkdocstrings_handlers/crystal/renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ def render(self, data: DocItem, config: Mapping[str, Any]) -> str:
root=True,
)

def get_anchors(self, data: DocItem) -> set[str]:
return {data.abs_id}
def get_anchors(self, data: DocItem) -> tuple[str, ...]:
return (data.abs_id,)

def update_env(self, md: Markdown, config: dict) -> None:
super().update_env(md, config)
Expand Down

0 comments on commit 7850066

Please sign in to comment.