Skip to content

Commit 6dfd89f

Browse files
committed
A favicon for the HTML report
1 parent 802f60c commit 6dfd89f

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

CHANGES.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ Unreleased
3131
immediate retry seems to fix the problem, although it is an unsatisfying
3232
solution.
3333

34+
- The HTML report pages now have a :ref:`Sleepy Snake <sleepy>` favicon.
35+
3436
- Continuous integration has moved from Travis and AppVeyor to GitHub Actions.
3537

3638
.. _issue 1037: https://github.com/nedbat/coveragepy/issues/1037

coverage/html.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ class HtmlReporter(object):
166166
("coverage_html.js", ""),
167167
("keybd_closed.png", ""),
168168
("keybd_open.png", ""),
169+
("favicon_32.png", ""),
169170
]
170171

171172
def __init__(self, cov):

coverage/htmlfiles/favicon_32.png

1.69 KB
Loading

coverage/htmlfiles/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<head>
77
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
88
<title>{{ title|escape }}</title>
9+
<link rel="icon" sizes="32x32" href="favicon_32.png">
910
<link rel="stylesheet" href="style.css" type="text/css">
1011
{% if extra_css %}
1112
<link rel="stylesheet" href="{{ extra_css }}" type="text/css">

coverage/htmlfiles/pyfile.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
{# http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/7684445e-f080-4d8f-8529-132763348e21 #}
1010
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
1111
<title>Coverage for {{relative_filename|escape}}: {{nums.pc_covered_str}}%</title>
12+
<link rel="icon" sizes="32x32" href="favicon_32.png">
1213
<link rel="stylesheet" href="style.css" type="text/css">
1314
{% if extra_css %}
1415
<link rel="stylesheet" href="{{ extra_css }}" type="text/css">

0 commit comments

Comments
 (0)