Skip to content

Commit

Permalink
Add favicon to main page (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
rzblue authored Sep 10, 2024
1 parent e8199aa commit d00a8be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
rm -rf allwpilib/docs/development/java allwpilib/docs/development/cpp
mv allwpilib/docs/development/javadoc allwpilib/docs/development/java
mv allwpilib/docs/development/doxygen/html allwpilib/docs/development/cpp
- run: wget -O favicon.ico https://raw.githubusercontent.com/wpilibsuite/branding/main/export/ico/wpilib-icon-256.ico
- name: Get pages url
run: echo url=$(gh api "repos/${{ github.repository }}/pages" --jq '.html_url') >> $GITHUB_ENV
env:
Expand Down
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
height: 100%;
}
</style>
<link rel="icon" href="favicon.ico" sizes="48x48">
<link rel="icon" href="https://raw.githubusercontent.com/wpilibsuite/branding/main/export/svg/wpilib-icon.svg" sizes="any" type="image/svg+xml">
<link rel="apple-touch-icon" href="https://raw.githubusercontent.com/wpilibsuite/branding/main/export/png/wpilib-icon-256.png"/>
</head>

<body>
Expand Down

0 comments on commit d00a8be

Please sign in to comment.