docs: def pages_menu(context, page, url='/'):
      """Render a nested list of all the descendents of the given page,
      including this page.
  
      :param page: the page where to start the menu from.
      :param url: not used anymore.
      """
      lang = context.get('lang', pages_settings.PAGE_DEFAULT_LANGUAGE)
      page = get_page_from_string_or_id(page, lang)
      if page:
          children = page.get_children_for_frontend()
          context.update({'children': children, 'page': page})
      return context