← GDG /

#232 gdtest_gradient_sky

#232 gdtest_gradient_sky OK CONFIG
Tests announcement banner with sky 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

K28
K28gradient: skyconfig

Source Files

๐Ÿ“ gdtest_gradient_sky/
๐Ÿ“„ __init__.py
"""Package testing sky gradient preset."""

__version__ = "0.1.0"
__all__ = ["dive", "surface"]


def dive(depth: int) -> str:
    """
    Dive to a given depth.

    Parameters
    ----------
    depth
        Target depth in meters.

    Returns
    -------
    str
        Status message.
    """
    return f"Diving to {depth}m"


def surface() -> str:
    """
    Return to the surface.

    Returns
    -------
    str
        Status message.
    """
    return "Surfacing"
๐Ÿ“„ great-docs.yml
announcement:
  content: Sky gradient test banner!
  style: sky