api_url_context: Replace uri with url.

In #23380 we want to change all occurrences of `uri` with `url`.
This commit changes the occurrences in a context key `api_uri_context`
and a function name `add_api_uri_context`.
This commit is contained in:
AcKindle3
2023-04-25 20:28:23 -04:00
committed by Tim Abbott
parent 98c9a0366a
commit 0a1ccb3d89
3 changed files with 16 additions and 16 deletions

View File

@@ -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 %}
<div class="documentation-footer">