mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	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:
		@@ -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">
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user