From 412f92ff79448d6e48f7b0b3f2f06119ca35d586 Mon Sep 17 00:00:00 2001 From: Dave Lucia Date: Wed, 15 Jul 2026 11:02:47 -0400 Subject: [PATCH] docs: add brand logo to README and docs sidebar Use the crescent-moon mark from the website nav bar as the project logo. Adds a self-contained priv/logo.svg (hardcoded purple gradient matching the site favicon), centers it in the README header above the MDOC marker, and sets it as the ExDoc `:logo` for the docs sidebar. Also removes website/priv/static/images/logo.svg, the leftover Phoenix scaffold default (orange flame-bird) that was never referenced. --- README.md | 6 +++++- mix.exs | 1 + priv/logo.svg | 14 ++++++++++++++ website/priv/static/images/logo.svg | 6 ------ 4 files changed, 20 insertions(+), 7 deletions(-) create mode 100644 priv/logo.svg delete mode 100644 website/priv/static/images/logo.svg diff --git a/README.md b/README.md index 658fd8b8..66a635ff 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,8 @@ -# Lua +

+ Lua.ex +

+ +

Lua

[![Hex.pm](https://img.shields.io/hexpm/v/lua.svg)](https://hex.pm/packages/lua) [![Documentation](https://img.shields.io/badge/documentation-gray)](https://hexdocs.pm/lua) diff --git a/mix.exs b/mix.exs index 33cc32a7..0f9ef5ab 100644 --- a/mix.exs +++ b/mix.exs @@ -55,6 +55,7 @@ defmodule Lua.MixProject do docs: [ # The main page in the docs main: "Lua", + logo: "priv/logo.svg", source_url: @url, source_ref: "v#{@version}", # Render only the curated public surface; keep internals in source/IEx. diff --git a/priv/logo.svg b/priv/logo.svg new file mode 100644 index 00000000..ed690c50 --- /dev/null +++ b/priv/logo.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/website/priv/static/images/logo.svg b/website/priv/static/images/logo.svg deleted file mode 100644 index 9f26baba..00000000 --- a/website/priv/static/images/logo.svg +++ /dev/null @@ -1,6 +0,0 @@ -