Hero Auto Logo
A package with auto-detected hero logo files
Links
AI / Agents
gdtest-hero-auto-logo
A package with auto-detected hero logo files.
Features
- Transforms data
Auto-detect hero logo files from conventional paths. Tests that placing logo-hero.svg and logo-hero-dark.svg in assets/ causes the hero to use those files without explicit hero.logo config.
Source files
assets/
logo-hero-dark.svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 50" width="200" height="50"> <rect width="200" height="50" rx="8" fill="#4da3ff"/> <text x="100" y="33" text-anchor="middle" fill="#fff" font-size="20" font-weight="bold">Hero Logo</text> </svg>
logo-hero.svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 50" width="200" height="50"> <rect width="200" height="50" rx="8" fill="#2780e3"/> <text x="100" y="33" text-anchor="middle" fill="#fff" font-size="20" font-weight="bold">Hero Logo</text> </svg>
logo.svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32" height="32"> <rect width="32" height="32" rx="6" fill="#2780e3"/> <text x="16" y="22" text-anchor="middle" fill="#fff" font-size="16" font-weight="bold">NB</text> </svg>
gdtest_hero_auto_logo/
__init__.py
"""A package with auto-detected hero logo files."""
__version__ = "0.1.0"
__all__ = ["transform"]
def transform(data: str) -> str:
"""
Transform input data.
Parameters
----------
data
The data to transform.
Returns
-------
str
The transformed data.
"""
return dataREADME.md
# gdtest-hero-auto-logo A package with auto-detected hero logo files. ## Features - Transforms data
great-docs.yml
display_name: Hero Auto Logo logo: assets/logo.svg