← GDG /

#119 gdtest_config_combo_d

#119 gdtest_config_combo_d OK CONFIG
Config combo: sidebar_filter.min_items, cli.name, display_name, user_guide as string path. Tests metadata and navigation options.
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

K7 K8 K12 K19
K7sidebar_filter.min_itemsconfig
K8cli.name explicitconfig
K12display_name overrideconfig
K19user_guide: stringconfig

Source Files

๐Ÿ“ docs/
๐Ÿ“„ getting-started.qmd
---
title: Getting Started
---

Welcome to the Combo D Toolkit getting started guide.

## Installation

Install with pip:

```bash
pip install gdtest-config-combo-d
```
๐Ÿ“„ usage.qmd
---
title: Usage
---

## Basic Usage

Use the toolkit functions to process data.
๐Ÿ“ gdtest_config_combo_d/
๐Ÿ“„ __init__.py
"""Combo D Toolkit โ€” sidebar min_items, cli.name, display_name, user_guide string."""

__version__ = "0.1.0"
__all__ = ["process", "validate", "transform", "load"]


def process(data: list) -> list:
    """
    Process a list of data items.

    Parameters
    ----------
    data : list
        The input data to process.

    Returns
    -------
    list
        The processed data items.
    """
    return data


def validate(value: str) -> bool:
    """
    Validate a string value.

    Parameters
    ----------
    value : str
        The value to validate.

    Returns
    -------
    bool
        True if the value is valid.
    """
    return bool(value)


def transform(item: dict) -> dict:
    """
    Transform an item dictionary.

    Parameters
    ----------
    item : dict
        The item to transform.

    Returns
    -------
    dict
        The transformed item.
    """
    return item


def load(path: str) -> str:
    """
    Load content from a path.

    Parameters
    ----------
    path : str
        Path to load from.

    Returns
    -------
    str
        The loaded content.
    """
    return path
๐Ÿ“„ cli.py
"""CLI entry point for combo-d."""

import click


@click.group()
def main():
    """Combo D command-line interface."""
    pass


@main.command()
@click.argument("input_path")
def run(input_path: str):
    """Run processing on the given input path."""
    click.echo(f"Processing {input_path}")
๐Ÿ“„ README.md
# Combo D Toolkit

Tests sidebar min_items, cli.name, display_name, and user_guide string path.
๐Ÿ“„ great-docs.yml
display_name: Combo D Toolkit
sidebar_filter:
  min_items: 3
cli:
  name: combo-d
user_guide: docs