Skip to content

Commit

Permalink
favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
Robpol86 committed Sep 29, 2024
1 parent d18a7c7 commit 40703f8
Show file tree
Hide file tree
Showing 18 changed files with 120 additions and 3 deletions.
Binary file added docs/_static/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/apple-touch-icon-120x120.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/apple-touch-icon-152x152.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/apple-touch-icon-180x180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/apple-touch-icon-60x60.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/apple-touch-icon-76x76.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions docs/_static/browserconfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png?v=210604"/>
<TileColor>#00a300</TileColor>
</tile>
</msapplication>
</browserconfig>
Binary file added docs/_static/mstile-144x144.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/mstile-150x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/mstile-310x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/mstile-310x310.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/mstile-70x70.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58 changes: 58 additions & 0 deletions docs/_static/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions docs/_static/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "Robpol86.com",
"short_name": "Robpol86.com",
"icons": [
{
"src": "/android-chrome-192x192.png?v=210604",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png?v=210604",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff"
}
15 changes: 15 additions & 0 deletions docs/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{% extends "!layout.html" %}
{% block linktags %}
{{ super() }}
{# https://realfavicongenerator.net/ #}
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png?v=210604">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png?v=210604">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png?v=210604">
<link rel="manifest" href="/site.webmanifest?v=210604">
<link rel="mask-icon" href="/safari-pinned-tab.svg?v=210604" color="#7c7c7c">
<link rel="shortcut icon" href="/favicon.ico?v=210604">
<meta name="apple-mobile-web-app-title" content="Robpol86.com">
<meta name="application-name" content="Robpol86.com">
<meta name="msapplication-TileColor" content="#00a300">
<meta name="theme-color" content="#ffffff">
{% endblock %}
23 changes: 20 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,27 @@
html_copy_source = False
html_extra_path = [
".htaccess",
# favicon
"_static/android-chrome-192x192.png",
"_static/android-chrome-512x512.png",
"_static/apple-touch-icon-120x120.png",
"_static/apple-touch-icon-152x152.png",
"_static/apple-touch-icon-180x180.png",
"_static/apple-touch-icon-60x60.png",
"_static/apple-touch-icon-76x76.png",
"_static/apple-touch-icon.png",
"_static/browserconfig.xml",
"_static/favicon-16x16.png",
"_static/favicon-32x32.png",
"_static/favicon.ico",
"_static/mstile-144x144.png",
"_static/mstile-150x150.png",
"_static/mstile-310x150.png",
"_static/mstile-310x310.png",
"_static/mstile-70x70.png",
"_static/safari-pinned-tab.svg",
"_static/site.webmanifest",
]
html_favicon = "_static/favicon.ico"
html_logo = "_static/logo.svg"
html_sidebars = {
"**": [
Expand Down Expand Up @@ -160,7 +179,6 @@
* Revisit pyproject.toml
* Revisit GitHub Actions
* log 404s and confirm me visiting bad pages logs correctly
* apple favicons
* revisit all extension settings here
* fix imgur-embed in latest sphinx
* validate rss
Expand All @@ -169,5 +187,4 @@
* fontawsome conflict? ablog and maybe sbt both use it
* ablog feeds (rss?)
* refactor htaccess and enablg logging to confirm rules work as expected
* confirm discord embeds
"""

0 comments on commit 40703f8

Please sign in to comment.