Skip to content

Commit 99e4b1a

Browse files
Merge pull request #1056 from jyn514/styles
Only show rustdoc styles on rustdoc pages
2 parents 8fecbb4 + d4b654b commit 99e4b1a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

templates/base.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
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" />
1714
<link rel="stylesheet" href="/-/static/style.css?{{ docsrs_version() | slugify }}" type="text/css" media="all" />
1815

1916
{%- block css -%}{%- endblock css -%}

templates/rustdoc/head.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
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" />
36

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

0 commit comments

Comments
 (0)