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