Skip to content

Commit

Permalink
Add favicon (#7043)
Browse files Browse the repository at this point in the history
* Add favicon

* lint.

---------

Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
  • Loading branch information
jarrodmillman and rossbar committed Oct 27, 2023
1 parent d351ed0 commit d31add4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/_static/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
wget https://raw.githubusercontent.com/networkx/branding/main/logo/networkx_favicon.svg
inkscape -w 16 -h 16 -o 16.png networkx_favicon.svg
inkscape -w 32 -h 32 -o 32.png networkx_favicon.svg
inkscape -w 48 -h 48 -o 48.png networkx_favicon.svg
convert 16.png 32.png 48.png favicon.ico
Binary file added doc/_static/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@
"auto_examples/index": [],
}
html_logo = "_static/networkx_banner.svg"
html_favicon = "_static/favicon.ico"

# The style sheet to use for HTML and HTML Help pages. A file of that name
# must exist either in Sphinx' static/ path, or in one of the custom paths
Expand Down

0 comments on commit d31add4

Please sign in to comment.