← GDG /

#108 gdtest_no_darkmode

#108 gdtest_no_darkmode OK CONFIG
Tests dark_mode_toggle: false config
Tests dark_mode_toggle: false. The dark mode toggle switch should NOT appear in the navbar. Two functions (light_func, bright_func).
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

K15
K15dark_mode_toggle: falseconfig

Source Files

๐Ÿ“ gdtest_no_darkmode/
๐Ÿ“„ __init__.py
"""Package testing dark_mode_toggle false config."""

__version__ = "0.1.0"
__all__ = ["light_func", "bright_func"]


def light_func(x: int) -> int:
    """
    Apply a light transformation to the input.

    Parameters
    ----------
    x
        The input integer value.

    Returns
    -------
    int
        The transformed value.
    """
    return x + 1


def bright_func(x: int) -> int:
    """
    Apply a bright transformation to the input.

    Parameters
    ----------
    x
        The input integer value.

    Returns
    -------
    int
        The transformed value.
    """
    return x * 2
๐Ÿ“„ README.md
# gdtest-no-darkmode

Tests dark_mode_toggle: false config.
๐Ÿ“„ great-docs.yml
dark_mode_toggle: false