← GDG /

#114 gdtest_config_changelog

#114 gdtest_config_changelog OK CONFIG
Tests changelog config with enabled=True and max_releases=5. No actual GitHub repo.
Tests changelog config: enabled: true, max_releases: 5. Since there's no real GitHub repo, the changelog feature should degrade gracefully without breaking the build.
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

K21
K21changelog configconfig

Source Files

๐Ÿ“ gdtest_config_changelog/
๐Ÿ“„ __init__.py
"""Test package for changelog config."""
๐Ÿ“„ core.py
"""Change logging functions."""


def log_change(msg: str) -> None:
    """Log a change message.

    Parameters
    ----------
    msg : str
        The change message to log.

    Examples
    --------
    >>> log_change("Added new feature")
    """
    pass


def get_history() -> list:
    """Get the full change history.

    Returns
    -------
    list
        A list of change log entries, newest first.

    Examples
    --------
    >>> get_history()
    []
    """
    return []
๐Ÿ“„ great-docs.yml
changelog:
  enabled: true
  max_releases: 5