Skip to content

Commit

Permalink
Rename get_anchor method before removal in mkdocstrings (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy authored Aug 30, 2023
1 parent 6d25cc7 commit f7ab9f9
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_anchor(self, data: DocItem) -> 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 f7ab9f9

Please sign in to comment.