← GDG /

#229 gdtest_announce_simple

#229 gdtest_announce_simple OK CONFIG
Tests announcement banner with a simple string config
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

K25
K25announcement: stringconfig

Source Files

๐Ÿ“ gdtest_announce_simple/
๐Ÿ“„ __init__.py
"""Package testing announcement banner with simple string."""

__version__ = "0.1.0"
__all__ = ["greet", "farewell"]


def greet(name: str) -> str:
    """
    Greet someone by name.

    Parameters
    ----------
    name
        The person to greet.

    Returns
    -------
    str
        A greeting string.
    """
    return f"Hello, {name}!"


def farewell(name: str) -> str:
    """
    Say goodbye to someone.

    Parameters
    ----------
    name
        The person to say goodbye to.

    Returns
    -------
    str
        A farewell string.
    """
    return f"Goodbye, {name}!"
๐Ÿ“„ great-docs.yml
announcement: This is a test announcement!