← GDG /

#233 gdtest_gradient_peach

#233 gdtest_gradient_peach OK CONFIG
Tests announcement banner with peach gradient preset
View Site → Build Log ๐Ÿงช Test Coverage

Build Mode

● Has great-docs.yml

This package ships a pre-supplied config. The great-docs init step is skipped and great-docs build uses the spec-defined configuration directly. Tests specific config options and their rendered output.

Dimensions

K29
K29gradient: peachconfig

Source Files

๐Ÿ“ gdtest_gradient_peach/
๐Ÿ“„ __init__.py
"""Package testing peach gradient preset."""

__version__ = "0.1.0"
__all__ = ["glow", "fade"]


def glow(intensity: float) -> str:
    """
    Emit a warm glow.

    Parameters
    ----------
    intensity
        Brightness level (0.0โ€“1.0).

    Returns
    -------
    str
        Status message.
    """
    return f"Glowing at {intensity}"


def fade() -> str:
    """
    Fade to twilight.

    Returns
    -------
    str
        Status message.
    """
    return "Fading"
๐Ÿ“„ great-docs.yml
announcement:
  content: Peach gradient test banner!
  style: peach