← GDG /

#221 gdtest_hero_custom

#221 gdtest_hero_custom OK CONFIG
Hero with custom name, tagline, height, and no badges
Hero with custom name, tagline, logo_height, and badges suppressed. Tests that individual hero sub-options override defaults: custom name instead of display_name, custom tagline, and badges: false.
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="#198754"/>
</svg>
๐Ÿ“ gdtest_hero_custom/
๐Ÿ“„ __init__.py
"""A package with custom hero settings."""

__version__ = "0.3.0"
__all__ = ["transform"]


def transform(value: int) -> int:
    """
    Transform an integer value.

    Parameters
    ----------
    value
        The input value.

    Returns
    -------
    int
        The transformed value.
    """
    return value * 2
๐Ÿ“„ README.md
# gdtest-hero-custom

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

Default description that should be overridden.

## Features

- Custom hero settings
๐Ÿ“„ great-docs.yml
display_name: Default Display Name
logo: assets/logo.svg
hero:
  name: Custom Hero Name
  tagline: A completely custom tagline for the hero
  logo_height: 120px
  badges: false