← GDG /

#235 gdtest_gradient_lilac

#235 gdtest_gradient_lilac OK CONFIG
Tests announcement banner with lilac 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

K31
K31gradient: lilacconfig

Source Files

๐Ÿ“ gdtest_gradient_lilac/
๐Ÿ“„ __init__.py
"""Package testing lilac gradient preset."""

__version__ = "0.1.0"
__all__ = ["pick", "blend"]


def pick(variety: str) -> str:
    """
    Pick a lilac variety.

    Parameters
    ----------
    variety
        Name of the lilac.

    Returns
    -------
    str
        Confirmation.
    """
    return f"Picked {variety}"


def blend(berries: list) -> str:
    """
    Blend berries together.

    Parameters
    ----------
    berries
        List of lilac names.

    Returns
    -------
    str
        Result description.
    """
    return f"Blended {len(berries)} berries"
๐Ÿ“„ great-docs.yml
announcement:
  content: Lilac gradient test banner!
  style: lilac