← GDG /

#099 gdtest_sidebar_min_items

#099 gdtest_sidebar_min_items OK CONFIG
Tests sidebar_filter.min_items: 3 config
Tests sidebar_filter.min_items: 3 (low threshold). The sidebar filter should appear even with just 4 items because the threshold is set low. Four functions (w, x, y, z).
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
K7sidebar_filter.min_itemsconfig

Source Files

๐Ÿ“ gdtest_sidebar_min_items/
๐Ÿ“„ __init__.py
"""Package testing sidebar_filter.min_items config."""

__version__ = "0.1.0"
__all__ = ["func_w", "func_x", "func_y", "func_z"]


def func_w() -> str:
    """
    Return the value W.

    Returns
    -------
    str
        The string value W.
    """
    return "W"


def func_x() -> str:
    """
    Return the value X.

    Returns
    -------
    str
        The string value X.
    """
    return "X"


def func_y() -> str:
    """
    Return the value Y.

    Returns
    -------
    str
        The string value Y.
    """
    return "Y"


def func_z() -> str:
    """
    Return the value Z.

    Returns
    -------
    str
        The string value Z.
    """
    return "Z"
๐Ÿ“„ README.md
# gdtest-sidebar-min-items

Tests sidebar_filter.min_items: 3 config.
๐Ÿ“„ great-docs.yml
sidebar_filter:
  min_items: 3