← GDG /

#111 gdtest_config_sections

#111 gdtest_config_sections OK CONFIG
Tests sections config for custom page groups
Tests the sections config for custom page groups. Config defines an 'Examples' section pointing to examples/ dir. Two example pages should appear in the sidebar under 'Examples'.
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

K18
K18sections configconfig

Source Files

๐Ÿ“ examples/
๐Ÿ“„ advanced-patterns.qmd
---
title: Advanced Patterns
---

## Advanced Usage

This example demonstrates advanced patterns.
๐Ÿ“„ basic-usage.qmd
---
title: Basic Usage
---

## Getting Started

This example shows basic usage of the library.
๐Ÿ“ gdtest_config_sections/
๐Ÿ“„ __init__.py
"""Package testing sections config."""

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


def transform(data: list) -> list:
    """
    Transform a list of data items.

    Parameters
    ----------
    data
        The input data to transform.

    Returns
    -------
    list
        The transformed data.
    """
    return data


def validate(data: list) -> bool:
    """
    Validate a list of data items.

    Parameters
    ----------
    data
        The input data to validate.

    Returns
    -------
    bool
        True if the data is valid.
    """
    return True
๐Ÿ“„ README.md
# gdtest-config-sections

Tests sections config for custom page groups.
๐Ÿ“„ great-docs.yml
sections:
  - title: Examples
    dir: examples