Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,20 @@ deploy-docs: venv ## Deploy docs
build-web:
cd web && npm run build

LOGO_SOURCE = docs/images/logo.svg

.PHONY: generate-logo-assets
generate-logo-assets: ## Generate logo and favicon assets from SVG
@command -v rsvg-convert >/dev/null 2>&1 || { echo "rsvg-convert not found; install librsvg (e.g. 'brew install librsvg')"; exit 1; }
mkdir -p docs/overrides web/src/assets
cp $(LOGO_SOURCE) docs/overrides/logo.svg
rsvg-convert -w 256 -h 256 $(LOGO_SOURCE) -o docs/images/logo.png
rsvg-convert -w 256 -h 256 $(LOGO_SOURCE) -o docs/overrides/logo.png
rsvg-convert -w 64 -h 64 $(LOGO_SOURCE) -o docs/overrides/favicon.png
rsvg-convert -w 128 -h 128 $(LOGO_SOURCE) -o web/src/assets/logo.png
rsvg-convert -w 64 -h 64 $(LOGO_SOURCE) -o web/src/assets/favicon.png
$(MAKE) build-web

# Image / release configuration.
# IMAGE_TAGS is the space-separated list of tag suffixes applied to each component image.
# IMAGE_PUSH_PLATFORMS is the platform list for `image-push` (multi-arch by default).
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<img alt="Logo" width="196px" style="margin-right: 30px;" align="left" src="./docs/images/logo.svg"></img>
<img alt="Logo" width="196px" style="margin-right: 30px;" align="left" src="./docs/images/logo.png"></img>

[![Go Report Card](https://goreportcard.com/badge/github.com/kube-bind/kube-bind)](https://goreportcard.com/report/github.com/kube-bind/kube-bind)
[![GitHub](https://img.shields.io/github/license/kube-bind/kube-bind)](https://github.com/kube-bind/kube-bind/blob/main/LICENSE)
Expand Down
Binary file added docs/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
90 changes: 27 additions & 63 deletions docs/images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ theme:
- content.code.annotate
# Integrate TOC into navigation sidebar
- toc.integrate
logo: logo.svg
favicon: logo.svg
logo: logo.png
favicon: favicon.png
palette:
# Palette toggle for automatic mode
- media: "(prefers-color-scheme)"
Expand Down
Binary file added docs/overrides/favicon.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/overrides/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
90 changes: 27 additions & 63 deletions docs/overrides/logo.svg
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 web/dist/assets/favicon.D0IB_wPW.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading