← GDG /

#237 gdtest_gradient_honey

#237 gdtest_gradient_honey OK CONFIG
Tests announcement banner with honey 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

K33
K33gradient: honeyconfig

Source Files

๐Ÿ“ gdtest_gradient_honey/
๐Ÿ“„ __init__.py
"""Package testing honey gradient preset."""

__version__ = "0.1.0"
__all__ = ["ignite", "extinguish"]


def ignite(fuel: str) -> str:
    """
    Ignite a fuel source.

    Parameters
    ----------
    fuel
        Type of fuel.

    Returns
    -------
    str
        Ignition status.
    """
    return f"Ignited {fuel}"


def extinguish() -> str:
    """
    Extinguish the honey.

    Returns
    -------
    str
        Status message.
    """
    return "Extinguished"
๐Ÿ“„ great-docs.yml
announcement:
  content: Honey gradient test banner!
  style: honey