#243
gdtest_gradient_no_dismiss
OK
CONFIG
Tests gradient banner with dismissable disabled
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
K39
K39gradient: no dismissconfig
Source Files
gdtest_gradient_no_dismiss/
__init__.py
"""Package testing gradient with dismissable disabled."""
__version__ = "0.1.0"
__all__ = ["persist", "hold"]
def persist(value: str) -> str:
"""
Persist a value.
Parameters
----------
value
Value to persist.
Returns
-------
str
Confirmation.
"""
return f"Persisted: {value}"
def hold(item: str) -> str:
"""
Hold an item in place.
Parameters
----------
item
Item to hold.
Returns
-------
str
Status message.
"""
return f"Holding {item}"great-docs.yml
announcement: content: Permanent honey banner! style: honey dismissable: false