Links
AI / Agents
gdtest-config-minimal
Tests config with source.enabled=false and dark_mode=false.
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.
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 - bREADME.md
# gdtest-config-minimal Tests config with source.enabled=false and dark_mode=false.
great-docs.yml
source: enabled: false dark_mode_toggle: false