Skip to content

Commit 1fa0b9d

Browse files
author
Joshua Nelson
committed
Revert "Only show rustdoc styles on rustdoc pages"
1 parent 1fb61ec commit 1fa0b9d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

templates/base.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111

1212
{# Docs.rs styles #}
1313
<link rel="stylesheet" href="/-/static/vendored.css?{{ docsrs_version() | slugify }}" type="text/css" media="all" />
14+
<link rel="stylesheet" href="/normalize-{{ rustc_resource_suffix() }}.css" type="text/css" media="all" />
15+
<link rel="stylesheet" href="/rustdoc-{{ rustc_resource_suffix() }}.css" type="text/css" media="all" />
16+
<link rel="stylesheet" href="/light-{{ rustc_resource_suffix() }}.css" type="text/css" media="all" />
1417
<link rel="stylesheet" href="/-/static/style.css?{{ docsrs_version() | slugify }}" type="text/css" media="all" />
1518

1619
{%- block css -%}{%- endblock css -%}

templates/rustdoc/head.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
{%- import "macros.html" as macros -%}
22
<link rel="stylesheet" href="/-/static/style.css?{{ docsrs_version() | slugify }}" type="text/css" media="all" />
3-
<link rel="stylesheet" href="/normalize-{{ rustc_resource_suffix() }}.css" type="text/css" media="all" />
4-
<link rel="stylesheet" href="/rustdoc-{{ rustc_resource_suffix() }}.css" type="text/css" media="all" />
5-
<link rel="stylesheet" href="/light-{{ rustc_resource_suffix() }}.css" type="text/css" media="all" />
63

74
<link rel="search" href="/opensearch.xml" type="application/opensearchdescription+xml" title="Docs.rs">

0 commit comments

Comments
 (0)