From 20431706a863f92cb37dc512fef6e48d192aaf2c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:11:38 +0200 Subject: Merging upstream version 1.66.0+dfsg1. Signed-off-by: Daniel Baumann --- src/librustdoc/html/templates/page.html | 54 ++++++++++++++------------- src/librustdoc/html/templates/print_item.html | 24 ++++++------ 2 files changed, 39 insertions(+), 39 deletions(-) (limited to 'src/librustdoc/html/templates') diff --git a/src/librustdoc/html/templates/page.html b/src/librustdoc/html/templates/page.html index 7caffeae3..c32386916 100644 --- a/src/librustdoc/html/templates/page.html +++ b/src/librustdoc/html/templates/page.html @@ -73,6 +73,7 @@ {#- -#} {#- -#} {{- layout.external_html.before_content|safe -}} + {%- if page.css_class != "source" -%} {#- -#} + {%- endif -%} {#- -#}
{#- -#}
{#- -#} -
{#- -#} +
{#- -#} + {%- endif -%} +
{#- -#} + {#- This empty span is a hacky fix for Safari - See #93184 -#} + {#- -#} +
{#- -#} + ? {#- -#} +
{#- -#} +
{#- -#} + {#- -#} + Change settings {#- -#} + {#- -#} +
{#- -#} +
{#- -#} + {#- -#}
{{- content|safe -}}
{#- -#}
{#- -#}
{#- -#} diff --git a/src/librustdoc/html/templates/print_item.html b/src/librustdoc/html/templates/print_item.html index c755157d2..b6ce3ea3d 100644 --- a/src/librustdoc/html/templates/print_item.html +++ b/src/librustdoc/html/templates/print_item.html @@ -1,18 +1,16 @@
{#- -#}

{#- -#} - {#- -#} - {{-typ-}} - {#- The breadcrumbs of the item path, like std::string -#} - {%- for component in path_components -%} - {{component.name}}:: - {%- endfor -%} - {{name}} {#- -#} - {#- -#} - {#- -#} + {{-typ-}} + {#- The breadcrumbs of the item path, like std::string -#} + {%- for component in path_components -%} + {{component.name}}:: + {%- endfor -%} + {{name}} {#- -#} + {#- -#}

{#- -#} {#- -#} {% if !stability_since_raw.is_empty() %} -- cgit v1.2.3