diff --git a/templates/zerver/documentation_main.html b/templates/zerver/documentation_main.html index 98336a695e..33f455342b 100644 --- a/templates/zerver/documentation_main.html +++ b/templates/zerver/documentation_main.html @@ -20,7 +20,7 @@ {% elif page_is_help_center %} {{ render_markdown_path(sidebar_index) }} {% else %} - {{ render_markdown_path(sidebar_index, context=api_uri_context) }} + {{ render_markdown_path(sidebar_index, context=api_url_context) }} {% endif %} {% if not page_is_policy_center %} @@ -38,9 +38,9 @@ {% if page_is_policy_center %} {{ render_markdown_path(article) }} {% elif page_is_help_center %} - {{ render_markdown_path(article, context=api_uri_context, help_center=True) }} + {{ render_markdown_path(article, context=api_url_context, help_center=True) }} {% else %} - {{ render_markdown_path(article, context=api_uri_context) }} + {{ render_markdown_path(article, context=api_url_context) }} {% endif %}