← GDG /

#227 gdtest_md_disabled

#227 gdtest_md_disabled OK CONFIG
Tests markdown_pages: false config
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

K23
K23markdown_pages: falseconfig

Source Files

๐Ÿ“ gdtest_md_disabled/
๐Ÿ“„ __init__.py
"""Package testing markdown_pages false config."""

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


def compute(x: int, y: int) -> int:
    """
    Compute the sum of two integers.

    Parameters
    ----------
    x
        First operand.
    y
        Second operand.

    Returns
    -------
    int
        The sum of x and y.
    """
    return x + y


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

    Parameters
    ----------
    value
        The string to validate.

    Returns
    -------
    bool
        True if the value is non-empty.
    """
    return bool(value)
๐Ÿ“„ README.md
# gdtest-md-disabled

Tests markdown_pages: false config. No .md files should be generated
and the copy-page widget should not appear.
๐Ÿ“„ great-docs.yml
markdown_pages: false