#219
gdtest_hero_readme_badges
OK
CONFIG
Hero section from README with centered-div badges
Hero section from a README with centered-div badges. Tests the Pointblank-style <div align="center"> pattern where badges are extracted from inside a centered block and the block is stripped.
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="#e35027"/> </svg>
gdtest_hero_readme_badges/
__init__.py
"""A test package for centered-div badge extraction."""
__version__ = "0.2.0"
__all__ = ["validate"]
def validate(data: dict) -> bool:
"""
Validate a data dictionary.
Parameters
----------
data
The data to validate.
Returns
-------
bool
True if valid.
"""
return bool(data)README.md
# gdtest-hero-readme-badges <div align="center"> <img src="https://example.com/hero-image.png" width="350"> <br /> *A package with centered-div badge extraction* <br /> [](https://pypi.org/p/gdtest-hero-readme-badges/) [](https://github.com/ci) [](https://codecov.io/gh/example) </div> ## Overview This package demonstrates the centered-div badge extraction pattern. ## Features - Validates data dictionaries - Simple and fast
great-docs.yml
display_name: Hero Badges logo: assets/logo.svg