← GDG /

#090 gdtest_config_minimal

#090 gdtest_config_minimal OK CONFIG
Config disables source links and dark mode
Config explicitly sets source.enabled=false and dark_mode=false. The site should NOT show source code links and should NOT have a dark mode toggle. Key test: opt-out config flags are respected.
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

A1 B1 C1 D1 E6 F6 G1 H7
A1Flat layoutlayout
B1Explicit __all__exports
C1Functions onlyobjects
D1NumPydocstrings
E6No directivesdirectives
F6No user guideuser_guide
G1README.mdlanding
H7No extrasextras

Source Files

๐Ÿ“ gdtest_config_minimal/
๐Ÿ“„ __init__.py
"""A minimal package with opt-out config."""

__version__ = "0.1.0"
__all__ = ["add", "subtract"]


def add(a: int, b: int) -> int:
    """
    Add two numbers.

    Parameters
    ----------
    a
        First number.
    b
        Second number.

    Returns
    -------
    int
        Sum.
    """
    return a + b


def subtract(a: int, b: int) -> int:
    """
    Subtract b from a.

    Parameters
    ----------
    a
        First number.
    b
        Number to subtract.

    Returns
    -------
    int
        Difference.
    """
    return a - b
๐Ÿ“„ README.md
# gdtest-config-minimal

Tests config with source.enabled=false and dark_mode=false.
๐Ÿ“„ great-docs.yml
source:
  enabled: false
dark_mode_toggle: false