docs: def get_menu_items_for_rendering(self):
          """
          Return a list of 'menu items' to be included in the context for
          rendering the current level of the menu.
  
          The responsibility for sourcing, priming, and modifying menu items is
          split between three methods: ``get_raw_menu_items()``,
          ``prime_menu_items()`` and ``modify_menu_items()``, respectively.
          """
          items = self.get_raw_menu_items()
  
          # Allow hooks to modify the raw list
          for hook in hooks.get_hooks('menus_modify_raw_menu_items'):
              items = hook(items, **self.common_hook_kwargs)
  
          # Prime and modify the menu items accordingly
          items = self.modify_menu_items(self.prime_menu_items(items))
          if isinstance(items, GeneratorType):
              items = list(items)
  
          # Allow hooks to modify the primed/modified list
          hook_methods = hooks.get_hooks('menus_modify_primed_menu_items')
          for hook in hook_methods:
              items = hook(items, **self.common_hook_kwargs)
          return items