summaryrefslogtreecommitdiff
path: root/docs/_templates
diff options
context:
space:
mode:
Diffstat (limited to 'docs/_templates')
-rw-r--r--docs/_templates/sidebar/sponsor.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/_templates/sidebar/sponsor.html b/docs/_templates/sidebar/sponsor.html
new file mode 100644
index 000000000..db066a76c
--- /dev/null
+++ b/docs/_templates/sidebar/sponsor.html
@@ -0,0 +1,8 @@
+{# GitHub Sponsors button, shown just below the logo in the sidebar. #}
+<div class="sidebar-sponsor" style="display: flex; justify-content: center; padding: 0.4rem var(--sidebar-item-spacing-horizontal) 0.6rem;">
+ <iframe src="https://github.com/sponsors/hathach/button"
+ title="Sponsor TinyUSB"
+ height="32" width="114"
+ style="border: 0; border-radius: 6px;"
+ loading="lazy"></iframe>
+</div>