Skip to content

Commit bb1fe10

Browse files
authored
Merge pull request #14 from paulromano/add-logo
Add logo in README and documentation
2 parents ef02533 + 86473e2 commit bb1fe10

File tree

5 files changed

+121
-1
lines changed

5 files changed

+121
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# WATTS
1+
# <img valign="middle" src="doc/source/_static/watts.svg" height="75" height="75" alt="WATTS logo"/> WATTS
22

33
[![License](https://img.shields.io/badge/license-MIT-green)](https://opensource.org/licenses/MIT)
44
[![GitHub Actions build status (Linux)](https://github.com/watts-dev/watts/workflows/CI/badge.svg?branch=development)](https://github.com/watts-dev/watts/actions?query=workflow%3ACI)

doc/source/_static/watts.svg

Lines changed: 105 additions & 0 deletions
Loading

doc/source/_static/watts_16x16.png

624 Bytes
Loading

doc/source/_static/watts_32x32.png

1.16 KB
Loading

doc/source/conf.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,18 @@
7373
# relative to this directory. They are copied after the builtin static files,
7474
# so a file named "default.css" will overwrite the builtin "default.css".
7575
html_static_path = ['_static']
76+
html_logo = '_static/watts.svg'
77+
html_theme_options = {
78+
"favicons": [
79+
{
80+
"rel": "icon",
81+
"sizes": "16x16",
82+
"href": "watts_16x16.png",
83+
},
84+
{
85+
"rel": "icon",
86+
"sizes": "32x32",
87+
"href": "watts_32x32.png",
88+
},
89+
]
90+
}

0 commit comments

Comments
 (0)