Skip to content

Commit d00a8be

Browse files
authored
Add favicon to main page (#7)
1 parent e8199aa commit d00a8be

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/static.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
rm -rf allwpilib/docs/development/java allwpilib/docs/development/cpp
6060
mv allwpilib/docs/development/javadoc allwpilib/docs/development/java
6161
mv allwpilib/docs/development/doxygen/html allwpilib/docs/development/cpp
62+
- run: wget -O favicon.ico https://raw.githubusercontent.com/wpilibsuite/branding/main/export/ico/wpilib-icon-256.ico
6263
- name: Get pages url
6364
run: echo url=$(gh api "repos/${{ github.repository }}/pages" --jq '.html_url') >> $GITHUB_ENV
6465
env:

index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
height: 100%;
2222
}
2323
</style>
24+
<link rel="icon" href="favicon.ico" sizes="48x48">
25+
<link rel="icon" href="https://raw.githubusercontent.com/wpilibsuite/branding/main/export/svg/wpilib-icon.svg" sizes="any" type="image/svg+xml">
26+
<link rel="apple-touch-icon" href="https://raw.githubusercontent.com/wpilibsuite/branding/main/export/png/wpilib-icon-256.png"/>
2427
</head>
2528

2629
<body>

0 commit comments

Comments
 (0)