← GDG /

#240 gdtest_gradient_navbar

#240 gdtest_gradient_navbar OK CONFIG
Tests navbar gradient style without banner gradient
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

K36
K36navbar_style onlyconfig

Source Files

๐Ÿ“ gdtest_gradient_navbar/
๐Ÿ“„ __init__.py
"""Package testing navbar-only gradient style."""

__version__ = "0.1.0"
__all__ = ["navigate", "browse"]


def navigate(url: str) -> str:
    """
    Navigate to a URL.

    Parameters
    ----------
    url
        Target URL.

    Returns
    -------
    str
        Navigation status.
    """
    return f"Navigating to {url}"


def browse(query: str) -> str:
    """
    Browse for a query.

    Parameters
    ----------
    query
        Search query.

    Returns
    -------
    str
        Search results summary.
    """
    return f"Browsing: {query}"
๐Ÿ“„ great-docs.yml
announcement:
  content: "Plain banner, gradient navbar!"
  type: info
navbar_style: peach