Skip to content

Commit

Permalink
args should agree with usage in function
Browse files Browse the repository at this point in the history
  • Loading branch information
jonkiparsky committed Apr 16, 2021
1 parent dd13baf commit 1aed579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/customization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Example:
class MySiteTree(SiteTree):
"""Custom tree handler to test deep customization abilities."""
def apply_hook(self, items, sender):
def apply_hook(self, tree_items, sender):
# Suppose we want to process only menu child items.
if tree_sender == 'menu.children':
# Lets add 'Hooked: ' to resolved titles of every item.
Expand Down

0 comments on commit 1aed579

Please sign in to comment.