← GDG /

#241 gdtest_gradient_both

#241 gdtest_gradient_both OK CONFIG
Tests same gradient preset on banner and navbar
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

K37
K37gradient: both sameconfig

Source Files

๐Ÿ“ gdtest_gradient_both/
๐Ÿ“„ __init__.py
"""Package testing unified gradient on banner and navbar."""

__version__ = "0.1.0"
__all__ = ["sync", "align"]


def sync(source: str, target: str) -> str:
    """
    Synchronize source with target.

    Parameters
    ----------
    source
        Source name.
    target
        Target name.

    Returns
    -------
    str
        Sync status.
    """
    return f"Synced {source} -> {target}"


def align(items: list) -> str:
    """
    Align a list of items.

    Parameters
    ----------
    items
        Items to align.

    Returns
    -------
    str
        Alignment result.
    """
    return f"Aligned {len(items)} items"
๐Ÿ“„ great-docs.yml
announcement:
  content: Unified prism gradient!
  style: prism
navbar_style: prism