← GDG /

#218 gdtest_hero_basic

#218 gdtest_hero_basic OK CONFIG
Hero section with logo, name, tagline, and badges
Hero section with logo, name, tagline, and top-of-file badges. Tests that providing a logo config auto-enables the hero section on the landing page with badge extraction from the README.
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

K13
K13funding configconfig

Source Files

๐Ÿ“ assets/
๐Ÿ“„ logo.svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32" height="32">
  <circle cx="16" cy="16" r="14" fill="#2780e3"/>
</svg>
๐Ÿ“ gdtest_hero_basic/
๐Ÿ“„ __init__.py
"""A test package for hero section rendering."""

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


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

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

    Returns
    -------
    str
        A greeting string.
    """
    return f"Hello, {name}!"
๐Ÿ“„ README.md
# gdtest-hero-basic

[![PyPI version](https://img.shields.io/badge/pypi-v0.1.0-blue.svg)](https://pypi.org/p/gdtest-hero-basic/)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://opensource.org/licenses/MIT)

A test package for hero section rendering.

## Features

- Simple API
- Well documented
๐Ÿ“„ great-docs.yml
display_name: Hero Basic
logo: assets/logo.svg