Skip to content

docs: add brand logo to README and docs sidebar#388

Merged
davydog187 merged 1 commit into
mainfrom
docs-brand-logo
Jul 15, 2026
Merged

docs: add brand logo to README and docs sidebar#388
davydog187 merged 1 commit into
mainfrom
docs-brand-logo

Conversation

@davydog187

Copy link
Copy Markdown
Contributor

What

Uses the crescent-moon mark from the website nav bar (<.lua_mark>) as the project logo, in two places:

  • README header — centered 96×96 mark above the title. Placed above the <!-- MDOC !--> marker so it renders on GitHub/hex.pm but doesn't leak into the HexDocs module page.
  • HexDocs sidebarlogo: "priv/logo.svg" in the docs config.

The asset (priv/logo.svg) is a self-contained version of the nav mark with the brand's hardcoded purple gradient (#a78bfa → #7c3aed, satellite #f0abfc), matching favicon.svg. It lives in priv/ because the package ships only lib/mix.exs/README/LICENSE — docs build from the repo, and GitHub/hex.pm resolve the README's relative path to the repo.

Cleanup

Removes website/priv/static/images/logo.svg — the leftover Phoenix scaffold default (orange flame-bird) that was never referenced anywhere in the site code.

Verification

  • mix docs builds clean (no warnings), logo copied to doc/assets/logo.svg and referenced in the sidebar.
  • priv/logo.svg is git-trackable (not caught by the priv/plts ignore).

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.
@davydog187 davydog187 merged commit d6402d2 into main Jul 15, 2026
5 checks passed
@davydog187 davydog187 deleted the docs-brand-logo branch July 15, 2026 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant