← GDG /

#231 gdtest_md_no_widget

#231 gdtest_md_no_widget FAILED (build_failed) CONFIG
Tests markdown_pages widget: false config
Build Log ๐Ÿงช Test Coverage

Error Output

Error: great-docs requires Quarto 1.9.18 or later, but found Quarto 1.8.26. Upgrade Quarto from https://quarto.org/docs/get-started/

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

K24
K24markdown_pages widget: falseconfig

Source Files

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

__version__ = "0.1.0"
__all__ = ["encode", "decode"]


def encode(data: str) -> bytes:
    """
    Encode a string to bytes.

    Parameters
    ----------
    data
        The string to encode.

    Returns
    -------
    bytes
        The encoded bytes.
    """
    return data.encode("utf-8")


def decode(data: bytes) -> str:
    """
    Decode bytes to a string.

    Parameters
    ----------
    data
        The bytes to decode.

    Returns
    -------
    str
        The decoded string.
    """
    return data.decode("utf-8")
๐Ÿ“„ README.md
# gdtest-md-no-widget

Tests markdown_pages with widget: false. The .md companion files
should be generated but the copy-page widget should not appear.
๐Ÿ“„ great-docs.yml
markdown_pages:
  widget: false