#236
gdtest_gradient_slate
OK
CONFIG
Tests announcement banner with slate 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
K32
K32gradient: slateconfig
Source Files
gdtest_gradient_slate/
__init__.py
"""Package testing slate gradient preset."""
__version__ = "0.1.0"
__all__ = ["carve", "polish"]
def carve(shape: str) -> str:
"""
Carve a shape from slate.
Parameters
----------
shape
Desired shape.
Returns
-------
str
Result description.
"""
return f"Carved {shape}"
def polish(grit: int) -> str:
"""
Polish the slate surface.
Parameters
----------
grit
Sandpaper grit level.
Returns
-------
str
Result description.
"""
return f"Polished with {grit} grit"great-docs.yml
announcement: content: Slate gradient test banner! style: slate